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;
  • 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 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.0rc1.tar.gz (442.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.0rc1-cp313-cp313-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.0rc1-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

pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc1-cp312-cp312-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.0rc1-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

pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc1-cp311-cp311-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.0rc1-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

pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc1-cp310-cp310-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.0rc1-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

pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc1-cp39-cp39-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.0rc1-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

pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file pygridgain_dbapi-9.1.0rc1.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.0rc1.tar.gz
  • Upload date:
  • Size: 442.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 70b754af7d69049bc26b770d38073998414cbee84df71d069bf38c806781b3d3
MD5 db735cf8e9cabcda4f8c95ac0cb5f2bd
BLAKE2b-256 e7467afb7684112addca88202b400a21590bb969d2572438ca70fe23008a38e1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b4f75fa9980d02ed362dcf78211e55c285ecffc0dff9a42c85c43784e77e72d8
MD5 acb9c2c82051d2ee41553addd9c4e3b2
BLAKE2b-256 dbc5db31d53d0e95eadb3afa927097a7b470ad28988a2413aeebb7d5ab304987

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f8cfe5d8cdda14bb5df3b4cea49bc2e921241f530797eb12b646edd1814f339
MD5 f2bd94bef7144e78a356fb9af7145fd0
BLAKE2b-256 0578a4d3f29c98412137dbc4d66be213dd437b6c67b500a9bbac350395dd24c7

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b6d1dc98c870c4aa5f2c8dfef5131623c63f270157b67b1969ff359b5f6354aa
MD5 89bb51e6566eaa28d4f0ac3b3142fa92
BLAKE2b-256 27b124faa95a57f26fcb6f19c763faa12171b7eddd04fb9fa8330db3cb040792

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 014cc116751d52edd3fb04c95ef5c5b1d8d3e153c9cf14aaa71756a20cfd74b5
MD5 7f14ffdb53389f8824441bb08a315c50
BLAKE2b-256 4943c978ecf8109a16998c4a33e86104af3f19e22b5be582c729bf15e6159f9b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 75cdffdbb0667a76e8b90adddc3b12cee79b95b7089648ae7aae001d8067ed00
MD5 48a2790b6400b6444115595f082f8ba7
BLAKE2b-256 7655b0cf3d8fa0453b5e369e4fc1457ef0fc71298c50697901618e23d0c4fde1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1b9077299d0fddbb47a5acb562c37095d7a3ff66bc7a31496a164bd7310e727
MD5 89a050c5402c40fcb70212e800534cad
BLAKE2b-256 55cffcd9821db688587d11ec4f766ff94ea41c90cd465aac391b0298b7acaa30

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 76f26f87d90e38334e2bcbf9cf7ad5120f54c2ced0f71689cf0acaef4e3426df
MD5 3ecc26c290a77e4bc85b8dd525165b09
BLAKE2b-256 b32504ba0bd6edae14038a0c9e38f266149f5ce7eb997f4a342172875aa6f51b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 832ffdad7e2ffd036dfd7e9e779f954d1cd9e7d599a7bfe619d7aeda738ffb27
MD5 aadf07614a8557a9f30f460645415bca
BLAKE2b-256 d8a1771a19003ee46304be6f8053bafb0617587f2a3927b0672742251f773fc5

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6dca0837b30248d77425c18aa1a210401bf302fb78851de2f6db1a9282037352
MD5 f3ab1cb3930b03761cfae8c3466a6a49
BLAKE2b-256 3179327c9a51570b8e348b7e3107316c5a1a0e302a7778e8ff5d9b3728784bfd

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95badaecb4ff2b11926a217c71bc4f90971d846e17c19f794b39b9930b9f216e
MD5 079c179e15d6cdc11b65a56e9be26ed9
BLAKE2b-256 619cc1c8bd02ede060a0a15c8b08f9a6d7c047f03548c91499de9007cea8da21

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4056bbba3604b493848699bf75750efc7638627fb39886f52e75cde6761b0d70
MD5 665d4814b18831146558c7e8db8e1bfb
BLAKE2b-256 7acbf2dc29bc18a042ecb6a93b363a8e16617c2c15f8fa911e5a1d943ee3f393

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 59e0579ce9c8d5016c1530d714ac1f7f43e4421e1dd83381b5d92ee0f0334d37
MD5 73c6a23832cea544c7c8e3ee944d8b52
BLAKE2b-256 5fb3861c0930cace26c47becbf827321a461a668041701545e9cff4e6a73cadd

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1947960e4904a7c99af33e5e8efee8ff8eb57556242eb286254ce4107781e3a8
MD5 492d1e51ea48ac6c427c53ea81c56d75
BLAKE2b-256 e933291e632b58383b4e3ba4e864799202e95d6c5493a5fba2fc569b9d975bc4

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8934a1188ea165fbcf944364363d590039ed5f7e4d6bcfcd163db353b6a6c163
MD5 bb9223892cb2b18db934bd8d944bf641
BLAKE2b-256 c34ada8c08c65ea0442d237d0b25a0c485b2bbb30ebe6f6323eb15c63efa6d60

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8f74685abe7d163169ef1d7034ced5bbde2b2f670b000845867420bb9640acbd
MD5 24b9866f2c89419843d2c7c088aa767f
BLAKE2b-256 5f320fc4c252654521c651fa8e938c8da1a72f2726eb9a436763eca76c1a6be7

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c98fac8c6a29b9512eaa6856760ebcee7b4ba2904d02db0efdd7fef25723536d
MD5 dc19a701046404f256ebbc68f4e0a5ca
BLAKE2b-256 9ce2d149efc39c00cb769702cc0f9a90f1862023c14aa7ab4d80399f6ab5b538

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d3a19923d249b8499596841b8fee180eca919bf96bf6024f9544475c412c8042
MD5 b133c682c073f9be23bb4da04f1e1dd7
BLAKE2b-256 27946ef4a8dbb4688d1b517bb24d44d584397d14d252123b97ea235dba8c1960

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b63ecb9a7247a2983791cb5d8d55059e3cd270a9deefa1854a6f6ff96bcbf17
MD5 2c5fee42502f3d76f47d0b65494113a2
BLAKE2b-256 a149de35a26ec555b82df64120d8cb43c43063a09d31e99155161dc47a55981b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 83f6d6bb78b1def9465a125068e69f02b0654f13d490bad83d56cc617e1a7013
MD5 4b05139fe6c5fa390ed8a43a28dc4217
BLAKE2b-256 2efe89328ea4b67ed73ee18d07e321309d7486eba530250d6dc84b8b21807908

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e1e7cec2f1ef1e080656662da5837df95e6475e916d6796f3f71eda8503fc87
MD5 fad2dd7e9198e78af908ad8e08406ce3
BLAKE2b-256 08fa4e37d14077de5455859549dba343689765d0b93b3ff2cc33f631b046e300

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