ODBTPAPI - version 0.1-alpha, updated 2004-09-25
ODBTPAPI is a Python DB API 2.0 module that interfaces to the terrific ODBTP library.
License
The library portion of ODBTP is LGPL, some of the associated tools are GPL. ODBTPAPI is LGPL.
Download
To use this alpha release, you'll need these:
- the odbtp 1.1.2 package that has been modified to build a shared object (.so)
- the ctypes package
- the odbtpaip module
Installation
Follow the instructions included in the archive to build ODBTP. Install the service on a Windows server with access to the target ODBC driver. Use the included odbtpcli to test the connection.
Usage
Because this program is in alpha state, the packaging hasn't been perfected yet. Until then, follow these steps to use the module.
Place libodbtp.so and odbtpapi.py in a directory containing your API DB 2.0-using program. Change your program to import odbtpapi. Change your .connect lines to use odbtpapi instead, and add a second "server=" parameter that includes the IP address of your ODBTP server (as a string).
Contact
If you have any comments or suggestions about ODBTPAPI, feel free to email me.