Skip to main content

GridGain 9 DB API Driver

Project description

pygridgain_dbapi

GridGain 9 DB API Driver.

Prerequisites

  • Python 3.9 or above (3.9, 3.10, 3.11, 3.12 and 3.13 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.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 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.7.tar.gz (484.3 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.7-cp313-cp313-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.7-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.7-cp313-cp313-macosx_13_0_x86_64.whl (231.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.7-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.7-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.7-cp312-cp312-macosx_13_0_x86_64.whl (231.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.7-cp311-cp311-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.7-cp311-cp311-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.7-cp311-cp311-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.7-cp310-cp310-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.7-cp310-cp310-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.7-cp310-cp310-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.7-cp39-cp39-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.7-cp39-cp39-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.7-cp39-cp39-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.7.tar.gz
  • Upload date:
  • Size: 484.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pygridgain_dbapi-9.1.7.tar.gz
Algorithm Hash digest
SHA256 4d03b96325ed29a70416b501270291f4a608f577fba4b0bd740eabb16b288c23
MD5 04939b03083e49783fd61da686c5d341
BLAKE2b-256 5a1d43d9673c8a67e87b75b0dda66e6d5f51788c4fb5bb8ce82734fb39ce8e40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a249e4c87890e5b71d86e66edd8bd322afecbd3137539aff68826c183adb250b
MD5 b523c961eae34adbe54fe9f43c540725
BLAKE2b-256 4c9a8bcf29454fa319920f666427709c3d7c661b5d67378e5b66bf6d86589507

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5741b934e44d265e464c1cd898cf8897c6a8a980791060b0bbd02b31924c305b
MD5 30c122c889299556a849cba98366ca9b
BLAKE2b-256 7b6fcee3b277f2ab57a995e33c7a059274b1751b3f016d9179e12d1d9b0a1da9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 307e2982beb8d0293616e3ceb7f9fec1648f123af7272a3c5ba66e66375877ba
MD5 89751d9ec4a7aa19244dd479b8247887
BLAKE2b-256 edd1731c08b7976ba7c7a990df61e91eb5a208b9e7091edccd10ca57b4f2fb0d

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9396cddd5b1299844622f316cbae0f1a785ada144daaee0941b96fe015864e4b
MD5 7c92ca47dfc8e967f81ece935fd4a49c
BLAKE2b-256 4756264f784b1caeed223665e868d96f1a2e41c5c92b20a606a7ccd45288e122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dbcc4c1f7ad108971136c772c3b386163596402acb3925c9a66e0e91eb75042a
MD5 08a811ab942a53c2b58839f18e4dff4c
BLAKE2b-256 1c519636a9cc4740d002ccb2c0a3361d3155cfa6eca3d459622f98c3289a6458

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74b6173d102b699acdebdab33b95854aed0600523691a0e709d51b4f42e14cc1
MD5 13b8aca7e8f15e84eed9b3a5de08326c
BLAKE2b-256 469329b66c3b56a8ecea3121ac675198749dc83d1670f81a8f329f2c4bcce27e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 35e81451a50296f5e97f01c70cf827d05033bad2a1058df6bbfd49db625149a6
MD5 b2b9d9b7a08a6250c35e470596cf4861
BLAKE2b-256 b3b36a7b9f8da2c6c2a87eee43a4182abe4317ad049ec85ea3720806b6ad1a41

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d47c86f7e460aa0705aaac2b5dbf0d57a125b7dadf44646d2e9580b08ab5f633
MD5 1f659d22f49819f46d69ec493e6d7d3b
BLAKE2b-256 4a79eab736101c9026ff2d7974aa84b96008373415e164297ceecb793e989dba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 68a93dde8e2cf9edd22b2d6e904ef6c3247552f7bc21cfb136c30f14a0eda08a
MD5 5fc7bed5c2306aae5a425c2e7974063e
BLAKE2b-256 428aa39f509b451daef7827e55bf3626581d094ff9a3207641e1fa32a256c5de

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a3faaf33f658d369a45ed17359c61e013e2573a341bb42e5bcbfd16939b9399
MD5 2d210d6a67be68053cb351695a4e574e
BLAKE2b-256 2ba383dfa0d576b5b10bf72899acee718fa4faeb03f161731071ce0e61f2a504

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6960471aa7c80de8a1a213367b541039cb0cd43ce60b4c5b4f138f0f88ca629d
MD5 eba78de2222fbc239aee0e8e6da80643
BLAKE2b-256 be37c0275ff5c1756bdeb942b166dc832cd08a9f97703b494a926ec1411152ca

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1e8d557b2d3e83e2f26755d103e0cb7d62f50a36920671a38f6f6fd23469ba2b
MD5 5c1d69ca2c03e3704ed6a2633c10da55
BLAKE2b-256 7134f84cc42bd8e3ba058568348b8fb536f63588937371eaffd608c839790032

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a2eff2611501e4567a19356f5cef2a5ffb2dc7be932d69b448f53821505d2ef9
MD5 c750e89aba5a748c959ba089e04c1817
BLAKE2b-256 c762503ca0c66f62b86cf84c16a23dba6987f6496b08b1498be9b95ddfaa24a4

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 210228cef46cb582d33a8fa44a77c6cb73ea70b04d12f5bdd0c5487f61d94b30
MD5 72f179f6caa41cf023d734573ff37264
BLAKE2b-256 0a63cb6bc1979551e8d0c7162025142d61c24b99bf828ef5d2f17e1c053e296b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 0f42a925869e5ff41765bc845c7f9267c886f46b7c0eed8671537c270e8e25ef
MD5 a928678baf99af707aecc1bdc6b9569e
BLAKE2b-256 ab4e2ce6a6e64da701c4722f546910b7afaa4abf7f53d65b2fb6d7e7a02eeeab

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2ad0de2c63fe537fcf5318f0023b554a9c88f04f1aa9cb28dd05a866278742c1
MD5 c7c491204dc15ba058333f74cf89f438
BLAKE2b-256 fdcab006fe18b0c821d4c1c9e4298046b671a39b4836f74aa7e83917ff877ba1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d660c63b33771857131fe997cf0b664c6dd4876b8d5de31a15be74478efd866f
MD5 c8ae99600c4276c0e86527d3d75879f9
BLAKE2b-256 147224f2511dedc17539f88a3c40290fadce611106fd05364947d71e8f8b797e

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f46086217c3fdc00f1001d6f7152e5b4c51d3607499843d9b741505c7a46a96b
MD5 f77b356969b3ea336a28b9ffc4c88f9d
BLAKE2b-256 0fa481c6e1e42bfee1d5028d4230f8c693466dea811c330e94733ae2ac91cac6

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5a55c64b3253835c9beb0a535aa944705c1912617ee2ce7feb1edc41a6d22936
MD5 ab5952e19904b6c29e913bd59ecf2eba
BLAKE2b-256 6869161e3646d90a0dad38fdb4853c78c391baa7ef5b5a3368b69aeb2a2cea4f

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.7-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.7-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6b81ffccd5f8b517795a2ec02b42752eb6c69797f1ee36c4392451ad8c628ad8
MD5 576c7d8903f75957ae9c8d5c50fdbe66
BLAKE2b-256 fb2edd388dc39b194545b240d3dc9afa5cf5e937089259e8fdf3ac305d1288d6

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