Skip to main content

GridGain 9 DB API Driver

Project description

pygridgain_dbapi

GridGain 9 DB API Driver.

Prerequisites

  • Python 3.10 or above (3.10, 3.11, 3.12, 3.13 and 3.14 are tested),
  • Access to GridGain 9 node, local or remote.

Installation

From repository

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

$ pip install pygridgain-dbapi

From sources

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

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

This will install the repository version of pygridgain_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 GridGain 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;
  • OpenSSL (dev version of the package);
  • Docker to build wheels;
  • Supported versions of Python (3.10, 3.11, 3.12, 3.13 and 3.14). 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.10, 3.11, 3.12, 3.13 and 3.14). 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 an older version

To upgrade an existing package, use the following command:

pip install --upgrade pygridgain_dbapi

To install the latest version of a package:

pip install pygridgain_dbapi

To install a specific version:

pip install pygridgain_dbapi==9.0.15

Testing

NB! It is recommended installing pygridgain_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

pygridgain_dbapi-9.1.23.tar.gz (685.2 kB view details)

Uploaded Source

Built Distributions

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

pygridgain_dbapi-9.1.23-cp314-cp314-win_amd64.whl (233.2 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.23-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.23-cp314-cp314-macosx_15_0_x86_64.whl (258.6 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23-cp314-cp314-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23-cp313-cp313-win_amd64.whl (226.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.23-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.23-cp313-cp313-macosx_15_0_x86_64.whl (258.7 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23-cp313-cp313-macosx_14_0_arm64.whl (250.3 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23-cp312-cp312-win_amd64.whl (226.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.23-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.23-cp312-cp312-macosx_15_0_x86_64.whl (258.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23-cp312-cp312-macosx_14_0_arm64.whl (250.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23-cp311-cp311-win_amd64.whl (226.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.23-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.23-cp311-cp311-macosx_15_0_x86_64.whl (258.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23-cp311-cp311-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23-cp310-cp310-win_amd64.whl (226.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.23-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.23-cp310-cp310-macosx_15_0_x86_64.whl (258.5 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23-cp310-cp310-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file pygridgain_dbapi-9.1.23.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.23.tar.gz
  • Upload date:
  • Size: 685.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pygridgain_dbapi-9.1.23.tar.gz
Algorithm Hash digest
SHA256 994f450bbc2bcb586ca8038319c320e1651fd069cdd904cfa1623f7eb90ee275
MD5 549919761217eb6b639a41c2a2b06293
BLAKE2b-256 fe6b0f3e0cdaef0c37e1d5df0043241d4731d1fbff93f8e6db6ca26253913c70

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 40ef7473d2aee6627cfdadd41a9c833ca92ac8678e41ef9e562288090d91a516
MD5 fcbd20c66ca7ca57c59228d1bf8149ec
BLAKE2b-256 14556873f3684931c028e7cfac00af969d931735749b3a0a2264d830d6df687b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 29f2a9a4aae6dc8936817fe643bd4cbd0230bdcfc959e452d5bbc85203b22071
MD5 302e59dd7147fe91d1c349194afe8afd
BLAKE2b-256 da77d1e64e1477a6bc650d6c9d3d7fce64348060f1588fe661f2d435607b7b9f

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c5933195528d0d02e3d1b871a24e61d12f6f4e46fab6fe131d9837aef84aa2a5
MD5 76ab9fcb0546ac542f484f55c4491b54
BLAKE2b-256 75cd6998216082bd683e7dc6b4f3d7aa8520cd55332c7105872a6deb692a8142

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 05e3b2bba0a3515d17ddf4ce75c2268da5a9c7de3289bc4dfa91bdd4bcb335d5
MD5 0187dfb383e881344ef1d9e6ad05b839
BLAKE2b-256 a33d6c70c9879713a74c70a9a23f4eaba4ccfa0e35d688c09d29ed99c7a898b2

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 260a905f254ed59625892616cc13fe5b405e9a7234a21ea56160ecc6763a14b0
MD5 eb042f216adaf286038b034a576dddd5
BLAKE2b-256 bd066d4822f6d6202f173889b19559f607284534aa0a2c51fcffdb0fb40d46a2

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2bca40e1ac2d0187a20fd0cf7ccb2894496811b1b29109973638c757187cb596
MD5 35f613b18603917ed59b01faffb35c0a
BLAKE2b-256 da65c3deff5986b53744e1e5da13b086e0187a3695adc8c27595992bbb480c79

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a24103dc3573121cf0295c7d5d5f6c7a01a2f48c896d32c2b13c2fc1cca7cac2
MD5 a0b39744efc9df73c038b032942fc10e
BLAKE2b-256 689a1e856e1067e698203dad18252f5bc8dd0575dc23ad4cdd7f2936bf19ad9d

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 22464500312ec3cd8b2ee1abe9b31ae19aabb1ad06153e57d2ff47b8dbfd7a3e
MD5 4e45c1961a41796f27303a84723deb89
BLAKE2b-256 bb027130a7a8e195e533d24945fd0f529036c29a6bdf1b63b5f732383e1364c1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 46a7395768960fc287f91a11851cb1147846c2251e3c43a0f6207110adaf7001
MD5 fc383ce2a7efb4680b3f660f6018cdfc
BLAKE2b-256 1c54150c52f8fd9470f8cf78d3c93a4f6206d158868ff1ad7b0be47f8be0eb76

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc6d393838f08ef80d2259f5ef66479bf7aeccfbecb7696fef5fd3bb3161c2de
MD5 d514187c30abf50ce552e3b9d022a1f2
BLAKE2b-256 c7782ae9f8163d7ee212f5ed63b79778e3c01fc0db290c11812cb7ed18cd4f30

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2288a40f759922669a33ac2a5ae11f2d37016b95c3319f4e0c07685fe845a1c2
MD5 c473b62b661ebcd00d9d97e7256ee098
BLAKE2b-256 3d3aa5f94b223cfd26992185c7d77550021e50cf6a3875e2e0b9cb485fa41628

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0e108141c87e32e1b89f2d055e024aa918705cd31b5ecc38ae0089982806f564
MD5 8071fea46a5bb98d498e829290ebb90a
BLAKE2b-256 257c51ca6f37208611d15ff885ce0af4463da151edad46dab6bb33913f41441e

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c47908bbf08c882d13fcf2b9d2aa3e6fc2933221157c3a0492bdbf1e38ed20e6
MD5 f891b876ae5ec63c5f1b086221f5c328
BLAKE2b-256 aaf37b4f3659eaf8d4ba2202f48231ca2de3de35b770edcee52602bcd4c280b3

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2a15088eac4adbed0121b47770edfca2f0bcf15d9b779c9d41b7a956a0ff120
MD5 93360cacb4fe82087fb21118db08d7f2
BLAKE2b-256 28cacf269f1ccfe4d3a2653f047f040274f157ed00a6ced3b2a6c6caf770edb9

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4c8ef48354234dcf6ca92a0f6a65d494349bffe2f1dc0ff5e3910749afce2bad
MD5 e03a7c90a03e0ab4c18296b4161259e5
BLAKE2b-256 74f02b824888e4ec5afbea8b2ff6e8e540ff0f9b20941dc982ab19302e733217

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ecf34228ceec069ee25f6058973981cdfdc14d1ac04989a821bb8ce0966aa2b2
MD5 90e6d64d3c1aa74d58996e7362f9c3ca
BLAKE2b-256 e2631d491cf26e1f1d6f06b88056470defea26110480199c8ff7ecca4fdfda94

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dc3939bd2fc7f46125d25a9346be40e726b76a96bf4d7f2bf5cf1d02dfc03924
MD5 074ea7483037aaee4ae3b7ebd488a6bc
BLAKE2b-256 9030c958ac029bed97efaa307ba766804a675eab0008275128c8ec4b9ea9cd7c

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bea387c08447c48c5cbb94aa38b4c727bc3dfe48e6aebee8533d10d8f9e3100b
MD5 de8cdf764a784ade46e77b66f17cf97c
BLAKE2b-256 a0e122075d411a6ea0581416ede1b9bb7dc94c173ff30dd200ba075e184e7354

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0266f33f101fc1897137ec38424bfb1a3d2b5d147b96d261cba3d61d19ce4bc5
MD5 22244cfef0dab81e6f55bce4fcf6a83c
BLAKE2b-256 25a67856cda6b63466afa5d4d80fc28e60d67c0ea1eccae6c889d46a5c8b8c34

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9ac202a0dc4573bad8878fe064caf96a7ad923eb0c70b3e7f771114dbf367e36
MD5 812e2ac734ec579870855dfe8bccbb21
BLAKE2b-256 c0ea5010cd4759569b536bf8e7ef349e87e197bb6430b086af20d40d156a8f59

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