Python Based API

Dean.Brotzel at gmail.com Dean.Brotzel at gmail.com
Sun Apr 1 11:37:51 EDT 2007


Hi,

I work on a project that is built entirely using python and Tkinter.
We are at the point where we would like to give access to our
functionality to others via some sort of API.  People who would use
our API develop in all kinds of languages from C/C++ to Pascal.

Ideas that come to mind that allow us to build such an API are:

1)	Require others to imbed the python interpreter via the c API to be
able to utilize our functionality.
2)	Build an XML RPC interface around our code.
3)	Rewrite our code base in C/C++, which should make it accessible to
all modern languages.

I'm looking for more and potentially better ideas that will allow us
to offer an API to our customers without having to throw away or redo
a lot of the python code that we have already written.

Thanks in advance,
Dean




More information about the Python-list mailing list