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.24.tar.gz (719.4 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.24-cp314-cp314-win_amd64.whl (344.8 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.24-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.6 kB view details)

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

pygridgain_dbapi-9.1.24-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.24-cp314-cp314-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.24-cp313-cp313-win_amd64.whl (335.3 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.24-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.6 kB view details)

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

pygridgain_dbapi-9.1.24-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.24-cp313-cp313-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.24-cp312-cp312-win_amd64.whl (335.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.24-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.6 kB view details)

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

pygridgain_dbapi-9.1.24-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.24-cp312-cp312-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.24-cp311-cp311-win_amd64.whl (335.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.24-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.7 kB view details)

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

pygridgain_dbapi-9.1.24-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.24-cp311-cp311-macosx_14_0_arm64.whl (250.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.24-cp310-cp310-win_amd64.whl (335.2 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.24-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.7 kB view details)

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

pygridgain_dbapi-9.1.24-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.24-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.24.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.24.tar.gz
  • Upload date:
  • Size: 719.4 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.24.tar.gz
Algorithm Hash digest
SHA256 e1b30d11ba83f7891c327fe15188ecfafe152bf1446df9452e7df7121eb5b128
MD5 e82accc0f0ddc632e7346a7d30dc0555
BLAKE2b-256 53cf4b3e4254dd039c4122a3397fdfa2415a8e6a2f0ab855cceb590a1c904e7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3019a6960638876a580710aef9b93ee3de31b3d962c20dc52deb9a42145cc03a
MD5 c69a17ad345546ba8e044f1dcb482e46
BLAKE2b-256 8c1e95c60b6437d0275fd4c3e0c2cd50d7e79969ce46420609a21f59e2923ea0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f4ac670426bd2c1788cf414ce38cd11c279fd29f0edfdcfb62b91c99cb08155
MD5 5337626602b32553ccdfbf10f15922ad
BLAKE2b-256 1832a97e60087101714360c332c746bddf5b5d5b801b53ab620aafe3e3fb8ac9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 741e59e55634290176832d88fd55c5e2f1b7e78b5c4594369e962b1c70aecc3c
MD5 289ba6d76bb2c88804cb2a2e1633615f
BLAKE2b-256 dd3e743c1f8668ac401ed3836e273992a487968f24c4e9873a6f38a2da8b2ed0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1364ec1abf3a9347ecf3245f9da702bfe22933c0689dd9c945a6c30f8f618828
MD5 bf2c33aad7cb929dcd2516ecf708f4dc
BLAKE2b-256 aa9ebb70aac55217ca0944619a6aee9415b556969fdc1089503bd28f3c380b75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 888439c4a0ba6bca5346cf078544f8405f70f37c182fed6f8357f5d2383be9d2
MD5 2a24c3650e998bb395a100f2bd8d8a13
BLAKE2b-256 3723163d04bd6f71566bb7a727f494cde946c191012a149ab349c8437ef1b47b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 407aafde4ecd4cd44e97d3d419bf0cb775dae280146fc9542ad1d4858d7e9a89
MD5 c89bd3be12acf417ca5c8edc8763c457
BLAKE2b-256 598c648b3e84cf41015a7f5ac6fcc2dea0ef23d3496b8dd2655c05f5bf8c7224

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7bb7c77c84ab4041ca6d09f4387d3ef748481a0edc97d5994afce3a51d84b607
MD5 804a54c8ca0866d1e455e19afcc54586
BLAKE2b-256 c26e40b8bd69c7c3085f120ddf576f6f460d08402abeb9567668a8a19a85e0c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4fc41c49490b0ecb58acd162e896a9732c16f1759d2c8f356583ffc9d22e4874
MD5 024b02e5f21774c22600ecfec1360187
BLAKE2b-256 871439ef2cedd20ce1e0679eb33a51fb2fd48e473c2e4625f323cd65c07e510d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 90d28195a3cb3ff3f988c3bfb300393ea066ca3a183a0957cbc88dab2f094a4d
MD5 47066d20805014d03167fa50c5020b01
BLAKE2b-256 c60846d972b8531e41b0278413ae56f57b1efb05e157dfc303dbfc140652bbce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1027fa9fae6c93b877eb3bf59784666760f3c4bf71803e525997afd28b3cb82c
MD5 d9977fb9c35d76366ed14486c9a427c8
BLAKE2b-256 deee7978ad54ff3ef0ec566bef5552fa5024e47b6042a23c7a8173f8c21e19c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 763d93afc4589dab1083854154aa65b96b375571303707e5984428bff5a96caa
MD5 0f4c6de57d8918c498dadb11ec8eaef9
BLAKE2b-256 052301cc16f53e301b34337af13025b95660f43454116ed2d9c92b4291fec119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b9bd87c28b2abd46f8a672d945707f5c908988ef280f66aa59c4f1fd19d7bbfc
MD5 9903df9b304f38b0a520da176bc40b36
BLAKE2b-256 48ea520487747b745c50291e83c30fece5dbeab037792f4da38f50497ea50dea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 28d92406d0ea4dd758ce621d2e2a8c2c9f82da5e8cd2f4f1fa64f77897db63c3
MD5 99a23f277198c79fc6dc335a7a378901
BLAKE2b-256 564916b5f22e95ad350d0571f94cdfb4d842ce534a520e6632d13075d46ac1a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b204c3a4c2417ad4510fb1c6ae3fb8850e9a0866864bad3f200e094ce0733aec
MD5 e60f48bcc5dd162769d128f8ca1998e0
BLAKE2b-256 51e9571737aac355c0c6f920f944c85f5044a0f29a4f4ea71076b463d9af9503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 05f26c3cc944bb1c29270019a0b64fa6c72470c333c6cc78b200b46122b9a5ad
MD5 31476467817820224fb5eb7f236ad8a2
BLAKE2b-256 81f8ea069be897da3e78ccc731cfb052a02d952d99520b9c360e556305aed5df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cb6c37f3924983b4843f792cadd7929fc4aed0001fa9f110bc4f902581904015
MD5 f03d40dee53b7ae769a67ae7f824efb7
BLAKE2b-256 dfc77e01ec08cd23f9fb3d2f71211170bd318b6b96d1b0ce4aacf87f0d291ba3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 896f47c5326f000613d3148cda60da37020543949b73a4cd2b3768731e9ac4fa
MD5 371513ef711e618a82ec78fd3bde2f0e
BLAKE2b-256 6b7d0f56e2682d70e028f4801ac7ad493ad793f777f2ba28d996bb3aeece0791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a5ec1d010bd15104930376a0d1d5972805de537a2fac935f1bf1b0ceacfb1fca
MD5 d95cf8eaaa9465931a87d78be589c2d4
BLAKE2b-256 7097c7e95453343e3cb3de009f1669334a8931b68b4612f2147dc386fc35a7a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d4ed6a0b6bf944385c5e75e1ef31a51538a5351fe0a54a55eea4e311b4c89dd5
MD5 24b5e45d1af35f5ebeff9599d8b8a673
BLAKE2b-256 d19dd0961572c2eaadc05f4eee55577c0f6a07bb7d77b3c8c04877f6b9ccda64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.24-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 de23c4863cab2d3224750234c7d97afd6733a5a40d7c8aef8abd6e3a53966c83
MD5 1369f39aaf6b82bedbd10a68d729e43b
BLAKE2b-256 2ee77334ed43a7ac526b62bae328e1969336ca339ae75fa143a61bf48aab4b6d

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