Python and D-ISAM

D-ISAM is fully supported in Python by way of the ctypes library.

This is documented at The Python Software Foundation as A foreign function library for Python.

D-ISAM is easily imported as a shared library (or apple dylib, or windows dll) as follows:

from ctypes import CDLL
d7 = CDLL( "libdisam72.so" )

In addition to importing the library, you will also (most probably) wish to add the standard ISAM constants, and at least an instance of the ISAM key description structure, and deploy the results as a module.

An example module is available here.

A simple demonstration is available here.

Leave a Reply