Welcome to the python-comdb2 documentation!
comdb2 Python interfaces to Comdb2 databases
This package provides Python interfaces to Comdb2 databases.
Two different Python submodules are provided for interacting with Comdb2 databases.
comdb2.dbapi2 provides an interface that conforms to the Python Database API
Specification v2.0. If you’re
already familiar with the Python DB-API, or if you intend to use libraries that
expect to be given DB-API compliant connections, this module is likely to be
the best fit for you. Additionally, if a better way of communicating with
a Comdb2 database than libcdb2api is ever introduced, this module will be
upgraded to it under the hood.
comdb2.cdb2 provides a thin, pythonic wrapper over cdb2api. If you’re more
familiar with libcdb2api than with the Python DB-API and you don’t
anticipate a need to interact with libraries that require DB-API compliant
connections, this module may be simpler to get started with.
Contents
comdb2.dbapi2DBAPI-2.0 compatible Comdb2 API- Overview
- API Documentation
- Constants
- Connections and Cursors
- Type Objects
- Type Constructors
- DatetimeUs
- Exceptions
ErrorWarningInterfaceErrorDatabaseErrorInternalErrorOperationalErrorProgrammingErrorIntegrityErrorUniqueKeyConstraintErrorForeignKeyConstraintErrorNonNullConstraintErrorDataErrorNotSupportedErrorcomdb2.dbapi2.Connection.Errorcomdb2.dbapi2.Connection.Warningcomdb2.dbapi2.Connection.InterfaceErrorcomdb2.dbapi2.Connection.DatabaseErrorcomdb2.dbapi2.Connection.InternalErrorcomdb2.dbapi2.Connection.OperationalErrorcomdb2.dbapi2.Connection.ProgrammingErrorcomdb2.dbapi2.Connection.IntegrityErrorcomdb2.dbapi2.Connection.DataErrorcomdb2.dbapi2.Connection.NotSupportedError
comdb2.cdb2Thin, pythonic wrapper over cdb2api- Comdb2 to Python Type Mappings
comdb2.factoriesFactory functions for use with Comdb2 handles- Best Practices, Tips, and Tricks