Skip to main content

Apache Ignite 3 DB API Driver

Project description

pyignite-dbapi

Apache Ignite 3 DB API Driver.

Prerequisites

  • Python 3.9 or above (3.9, 3.10, 3.11, 3.12 and 3.13 are tested),
  • Access to Ignite 3 node, local or remote.

Installation

From repository

This is a recommended way for users. If you only want to use the pyignite-dbapi module in your project, do:

$ pip install pyignite-dbapi

From sources

This way is more suitable for developers, or if you install the client from zip archive.

  1. Download and/or unzip Ignite 3 DB API Driver sources to pyignite_dbapi_path
  2. Go to pyignite_dbapi_path folder
  3. Execute pip install -e .
$ cd <pyignite_dbapi_path>
$ pip install -e .

This will install the repository version of pyignite-dbapi into your environment in so-called “develop” or “editable” mode. You may read more about editable installs in the pip manual.

Then run through the contents of requirements folder to install the additional requirements into your working Python environment using

$ pip install -r requirements/<your task>.txt

You may also want to consult the setuptools manual about using setup.py.

C extension

The core of the package is a C++ extension. It shares the code with the Ignite C++ Client. The package is pre-built for the most common platforms, but you may need to build it if your platform is not included.

Linux building requirements:

  • GCC (and G++);
  • CMake version >=3.18;
  • unixODBC (dev version of the package);
  • OpenSSL (dev version of the package);
  • Docker to build wheels;
  • Supported versions of Python (3.9, 3.10, 3.11, 3.12 and 3.13). You can disable some of these versions, but you'd need to edit the script for that.

For building universal wheels (binary packages) for Linux, just invoke script ./scripts/create_distr.sh.

Windows building requirements:

  • MSVC 14.x, and it should be in path;
  • CMake version >=3.18;
  • OpenSSL (headers are required for the build);
  • Supported versions of Python (3.9, 3.10, 3.11, 3.12 and 3.13). You can disable some of these versions, but you'd need to edit the script for that.

For building wheels for Windows, invoke script .\scripts\BuildWheels.ps1 using PowerShell. Make sure that your execution policy allows execution of scripts in your environment. The script only works with Python distributions installed in a standard path, which is LOCALAPPDATA\Programs\Python.

Ready wheels will be located in distr directory.

Updating from older version

To upgrade an existing package, use the following command:

pip install --upgrade pyignite-dbapi

To install the latest version of a package:

pip install pyignite-dbapi

To install a specific version:

pip install pyignite_dbapi==3.0.0

Testing

NB! It is recommended installing pyignite_dbapi in development mode. Refer to this section for instructions.

Remember to install test requirements:

$ pip install -r requirements/install.txt -r requirements/tests.txt

Run basic tests

Running tests themselves:

$ pytest

Documentation

Install documentation requirements:

$ pip install -r requirements/docs.txt

Generate documentation:

$ cd docs
$ make html

The resulting documentation can be found in docs/_build/html. If you want to open the documentation locally, you can open the index of the documentation docs/_build/html/index.html using any modern browser.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyignite_dbapi-3.0.0.tar.gz (420.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyignite_dbapi-3.0.0-cp313-cp313-win_amd64.whl (334.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pyignite_dbapi-3.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pyignite_dbapi-3.0.0-cp312-cp312-win_amd64.whl (334.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pyignite_dbapi-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyignite_dbapi-3.0.0-cp311-cp311-win_amd64.whl (333.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pyignite_dbapi-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyignite_dbapi-3.0.0-cp310-cp310-win_amd64.whl (642.1 kB view details)

Uploaded CPython 3.10Windows x86-64

pyignite_dbapi-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyignite_dbapi-3.0.0-cp39-cp39-win_amd64.whl (333.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pyignite_dbapi-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file pyignite_dbapi-3.0.0.tar.gz.

File metadata

  • Download URL: pyignite_dbapi-3.0.0.tar.gz
  • Upload date:
  • Size: 420.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pyignite_dbapi-3.0.0.tar.gz
Algorithm Hash digest
SHA256 fe778dc20111f215734ccff26b7a8bc9bb1cc2a8766ef79a0d6bfe67a46221e0
MD5 6293bb762904bbc298f05815f4d064bd
BLAKE2b-256 2dce4bad685518ae04a25e61ffc7eb81e80b561b6c5a103b66e7474fbf949ce3

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9eb80a72eebf12a44c06534ea5a8c137e1650db1a450e381cd08a717e5976f61
MD5 09fbe5e7c4c405b206b0cc1eba378492
BLAKE2b-256 f89778bfd65d6bbdc5a89f9b4ee1282af591984c170fb81d43c2158debd2838a

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e2ea4cefe3c15e6a859be2ab8d79a76b5e9b9f0bc9e0747ec4d52a08fd8d43e
MD5 807c137c377929d00eda03fc504e9afd
BLAKE2b-256 c1a9b3c95e74b6e9b539b31f2a0319aa7e02a9c553f55e261647d90dd008d33c

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9ffc6af24e85f3621011c639f95aff293f1a0d9fe19841f1a392649fe8cac4ef
MD5 294ae5e38b2b17a7bc87774f936dcab1
BLAKE2b-256 630bc9afd016d85c882201877732ea224545848ce6838b56fe39ca14d503771b

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 64314bcfa9314040536128980e6ac24de9bde8143d38a57c54f4506e5055dab0
MD5 018b1ef947bcc45d97fd68902436985c
BLAKE2b-256 eb17a4c601179250cdcaf1f870eda87ec28f7ae10da52ef373de30a504ba2dfa

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 11578f035045829a92654b79a3c3902a831171379b081e2043826833ce149319
MD5 c636a9214d3403acad8b1d14da4dcf8b
BLAKE2b-256 d0c50f6acee6d370873f974d2f12645e9e835d7ebfaf47fa406d57173ef7356a

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 44c5db7375bdc691a2fd712c61c6d9b003997f56b4a0a1e6eea09cec574c73af
MD5 6cfddf68f4fa68a0292d33825125a0d2
BLAKE2b-256 9cacfa039356b4f31c17539cebf24119535590ec23c5793381f86f4adf1e8f27

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 644afe715ba01bc47ed9a9fbd58e19630125a13c1fe7b5a1055a487d63505ece
MD5 89069bbcc820714e48f295ed79d91c25
BLAKE2b-256 9a56af921f1186317ce45e88c86e0990a4f196c6a1865828ac68a5af26b83aef

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c9a2c2edcc6ee8ab461d2be856e224ff2bbd0166eee42b34e84b65195ea526c0
MD5 69160ed23b703d4a80865972ebfdc7c0
BLAKE2b-256 79d960923c488d890348c8e10526dfe1870e08f9e7c8cb95469f723e12c86295

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1b59ccbfa2e7ff9853b26998f61a37bc81efa729c687e130f78c8a7b07fbde33
MD5 b8d77df15cf5bd0f357090c922f9e4e7
BLAKE2b-256 5aa4df8bd12e80b023f4b7f96fbae27cdf9ccfec1fd70e79081c8f292d4b9815

See more details on using hashes here.

File details

Details for the file pyignite_dbapi-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyignite_dbapi-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92b8c5725b38807d03ca9da51893ab13a6e43889cc09b1dabdc42db61ae4ecfd
MD5 c910bd95c778d482827448427fe840cb
BLAKE2b-256 647943e56671097cb9c53014e45bff720bc6b24038b5ddc0320374da8f70b726

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page