Skip to content

crate/crate-python

Repository files navigation

CrateDB Python Client

Build status Coverage Build status (documentation) PyPI Version Python Version PyPI Downloads Wheel Status License

A Python client library for CrateDB, implementing the Python DB API 2.0 specification.

The CrateDB dialect for SQLAlchemy is provided by the sqlalchemy-cratedb package, see also sqlalchemy-cratedb documentation.

Installation

The CrateDB Python client is available as package crate on PyPI.

To install the most recent driver version, run:

$ pip install --upgrade crate

Migration Notes

If you are migrating from previous versions of crate[sqlalchemy]<1.0.0, you will find that the newer releases crate>=1.0.0 no longer include the SQLAlchemy dialect for CrateDB.

See migrate to sqlalchemy-cratedb for relevant guidelines about how to successfully migrate to the sqlalchemy-cratedb package.

Documentation and Help

Contributions

The CrateDB Python client library is an open source project, and is managed on GitHub. We appreciate contributions of any kind.