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.11.tar.gz (486.9 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.11-cp313-cp313-win_amd64.whl (194.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.11-cp313-cp313-macosx_14_0_arm64.whl (227.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.11-cp313-cp313-macosx_13_0_x86_64.whl (233.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.11-cp312-cp312-win_amd64.whl (194.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.11-cp312-cp312-macosx_14_0_arm64.whl (227.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.11-cp312-cp312-macosx_13_0_x86_64.whl (233.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.11-cp311-cp311-win_amd64.whl (194.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.11-cp311-cp311-macosx_14_0_arm64.whl (227.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.11-cp311-cp311-macosx_13_0_x86_64.whl (233.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.11-cp310-cp310-win_amd64.whl (194.5 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.11-cp310-cp310-macosx_14_0_arm64.whl (227.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.11-cp310-cp310-macosx_13_0_x86_64.whl (233.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.11-cp39-cp39-win_amd64.whl (194.6 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.11-cp39-cp39-macosx_14_0_arm64.whl (227.5 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.11-cp39-cp39-macosx_13_0_x86_64.whl (233.6 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pygridgain_dbapi-9.1.11.tar.gz
Algorithm Hash digest
SHA256 b2f08fc808699067f6db0907c7fd57364cf0f1366170a6898aff2ea0caba05a9
MD5 ce1c7871c68c0b89b71748c811a9b888
BLAKE2b-256 41129b0c415d60d7496086e0b731408dbafe67bbedce469fd3f84ef635d10073

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 6472e61e302f117fbb7995fbe6e143764e5317c0abce6b72f4dc2c3d9d6297ac
MD5 3452db7393f925d49bd7ca3311b7daf5
BLAKE2b-256 18b3165931f2ee9597bdb22a2f8fc776a103a4c12e9a5ba7c3b5c0b5f6120af4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d839523be6209383e88993ef4ecb25a545451d786bf46f0eae7cd9461a09ce2e
MD5 c014b35d4f2a39abfc6ab104a83bc991
BLAKE2b-256 6ee61b1e62ea60d204deb6956550b1af16648eddd30d7cb707ffe7018f8686c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 33784de55d48a75251f074ba9b69a677a95d3614988366807c7b281f02f28b3b
MD5 5d4b8ace378bc3f8e6345b6a0c86d72b
BLAKE2b-256 20f89ccd7ff8fe577381371b605bd55b5cc5d0504ef33677f007e0e04b0b679d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c0f57e07131f2dddbc29ce2ee92f32b553fa6c51d4c4089a6e002739ce1840b8
MD5 a1ae917b51b1754ef0b25d91cecefed3
BLAKE2b-256 9aac65d6b8f0c8ff66cfe3c8b8adff4bb68cc9c951ed817c5e514fe4a23a9468

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 db7805b4a4a8de16a6027504ccd56c33844fc4c421dfe45b39fca2c1641f79a9
MD5 13a89c2a9d6b698a2ada9f233a9eb9d7
BLAKE2b-256 5a8c4d7ea18d74852aae8afbd984137aa670e926b8c1839d16c2416d106fd19a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ee214afb0a921b42fa872fff7fa606f1c6a1b458b6e3f35f7e1462e861d4377
MD5 f9f14a63bfffe475b3898b26e43df235
BLAKE2b-256 ddadc91793e00d0c2db13f0c4a50df15c691f1fc2c46d2c00fe33157afcc57d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4728b04330504c9386ec81da2f2723db7550cfd52fb584e2e34736380cb99f53
MD5 c90661008b96b9ad528f22d5fb8955ff
BLAKE2b-256 2436e861ffa798767dafc92e57378357500bc81bb93a9ed4a9df78ba6e699e54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 efe92ba957e7012d22762743122014f618593350065d5d7d011f8030246031bd
MD5 5bff2d3b97ac7abc5f799db7734b5196
BLAKE2b-256 b84aaea1657769ba6049543e7179e94048bda401ab07fd9210b91311c19a377b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b225da03f8254b398b26a12ff97d42678a8745548dc2432da65092ee45822057
MD5 e78c906e1cc5231dbd0a2feed6a6f886
BLAKE2b-256 8ead730be3603e8a1d7521ee2d3f1d528330187e55c3ce3664d9993862368817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0262b3e63eb11528a15aa30e20cb02ad0e5507787d382ac195fbcab60bea2d5f
MD5 4e293c9ebfa4cfa254fa735268ab1294
BLAKE2b-256 1bcb1a7366289c997ca56948ea1e6e26152e619a39fa546e76496036d1823382

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 08064b7f2a0d08c8dbe40040ef6763fad43f48636de2caad6c27322517b9002f
MD5 94eb67da28f4c62759af774486d860e3
BLAKE2b-256 0b0a58015f385a0db674df28302ebee42f8a4950c6b102fffb2b2da714101a1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5b9af5c447149a90085522f654fa80cf73e0b30d356b6fdac39af92ce567744b
MD5 42ea4f0d125d4a9ca3aa131cbd2ecac0
BLAKE2b-256 0ae390b6fee5b6196504d668e9047db59bb6187522332f9596454dc0f6d09690

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a2e59aac7973cc5a84e63029d3b54db6fcc92424ca42e0276c0481525023b953
MD5 07bee5e84fcaf4eea0c161c856b70330
BLAKE2b-256 f348786464a7c67bb3d313e92084c67911af87b1c91f52a81eda1ef3168a6130

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4168ded5dcde4fc6b6833539cbc2639dd7e0a2248d6a20c6d329163c46597944
MD5 3c42e3695e856fcf7882987c3911eae8
BLAKE2b-256 92b39d9162d6f6830bcc977a7bed3fda0c422bdb949cae4ddeb5ca0dd5f72dfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 02ce6dca0a2a33bc99a87f1bdae00c1642229d743c1cc64f68d0017960643dc1
MD5 14b5676d9fbc3c6dce5cd01255ccf48c
BLAKE2b-256 82ebe9910f8aa6593cba937406fbdbeb7c2fd1c3a38769907dd6314924c09ceb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a75879b749102d2915b2760969c4e38beaf1b203b6240f0d5f512c535e572dd
MD5 a5dd6b5bb01871f4286b7895bacd3f4a
BLAKE2b-256 f38521bbdd352a1d1fed3445046cd16523b5372184d3a8910431ff367ecf9654

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 971fc4dad66f3428648f53976d01e37d8e21e103d1d2fb6a3aa6cd722974a49e
MD5 682d4ba35b5d83dbfdf2896e0f20a0b9
BLAKE2b-256 78fc0bf7358cce9af8e04a715bbc18f857f5dd2cd301408a8d257a1176864b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1707f277071164c66faa32aa8c5038b2d05f2a58480c18d3357a3defb2e8ccdf
MD5 7a689c2e47cc775f5fb829e3673cf4af
BLAKE2b-256 085314c30f3f4fadb8c778a0e93c08a3f9ffdb5f2b6aef3489b32c8fb42e02d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cc78a0b2f88287540ef5e5c4836d336e33f51ba698b6683150987e44d7dcb2ce
MD5 f0681a63ea04f24cfeeaa03fa9d8f787
BLAKE2b-256 df15a016e5d4a308c77a6d4fdeaead60e7915933f247d2a7fabb78811d7e0bbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.11-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1178b316b052f9951bb3e196b07dafa33a54982275961ddbb1f62d02ee4aabbf
MD5 638feea7379790362fd1029036608089
BLAKE2b-256 f044e11e41cd1ed2f897fee87bdb4d902d86ade3371df74f3213dca29ff42fb2

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