Product Documentation

FairCom SQL for Python

Previous Topic

Next Topic

Introduction to the FairCom SQL Python Module

FairCom has implemented a pure Python module called "pyctree" that interfaces with FairCom DB SQL Server through the well-known ctypes module. This architecture has been chosen because it makes the module immediately available for multiple Python implementations, such as PyPy and Jython, and it does not require a C compiler to install the extension.

Pyctree consists of two parts both completely written in Python:

  • pyctsqlapi.py - A wrapper library over the DSQL API
  • pyctree.py - A DB-API 2.0 implementation conforming to Python PEP 249 standards.

FairCom DB also supports Python SQLAlchemy.

TOCIndex