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.15.tar.gz (489.7 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.15-cp313-cp313-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.15-cp313-cp313-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.15-cp313-cp313-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.15-cp312-cp312-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.15-cp312-cp312-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.15-cp312-cp312-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.15-cp311-cp311-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.15-cp311-cp311-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.15-cp311-cp311-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.15-cp310-cp310-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.15-cp310-cp310-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.15-cp310-cp310-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.15-cp39-cp39-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.15-cp39-cp39-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.15-cp39-cp39-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.15.tar.gz
  • Upload date:
  • Size: 489.7 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.15.tar.gz
Algorithm Hash digest
SHA256 7dd11b8917b3b3fee69f69d1ce9a1552d2d8edff2b6238336db7b3cf7f0082f9
MD5 9cd6177e714595a92cffef42c6741ece
BLAKE2b-256 2c8fd1ec1aaa320bafd9aab753da3bc952d7a594ff54366a2e098d201ba3cb42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 dae39233b63c1dbd797ca428fd2829e80ec5d6066a8965055df24afdb6278806
MD5 363cf7f0f2ab70a200b25d24e7412148
BLAKE2b-256 acd6118776f82682233cc196231c44fda44433976733311a0743f7b80706b35a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a286285312df62ee80aaec3a19da467de9c8d312f8986cfeb5f670d71e17815
MD5 222518436f4cdb84ec199976c4e9d7af
BLAKE2b-256 a051ffc2f83c582570fb1166d58ed961ca647c6dc9e9028e4992ecd45286b905

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d97ab38126118f423dd51f035b3712aac4489529f9f3dc6a37a57f5ccd165ff7
MD5 9b4a720c9c483b250c4490e1eee08dcd
BLAKE2b-256 dfeee7e1ef53517edfda323f7a368fa22fb985be33c3d1a8f59f004fc5abfe0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fcf0dd8fe2e119f94480d7dcd4876a02ded960d144c9b50cb014367eaa7fb8ef
MD5 cdc2c85d7f9c806dd0555704beda6ed2
BLAKE2b-256 f2e23bd1feb19ad82d9ca4bd6ddbc94b1576b2df3de81b98df5f6626b4af6f4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 da3205711f050274297c6312bb66b086ef3ce7409b7b8d4de343d91b575006f4
MD5 42265a48c8b4de105a87b4115d99809e
BLAKE2b-256 07d42ec2f5525cce576db26dce870b6eec09fd179eb7734db2a07d8f34e331c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 609f8e8599e2c4c284fe6c483d9797e90b583a33ea5bd7ae8a549513914fd3f6
MD5 8914ccb7180d419060eceb5c916fafb0
BLAKE2b-256 0dcb490832a093a7b50fe36fae2bed46ea0ad8865365115f8768177679e62cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cd6462f12cc6caca6d0cec68604bc723cdd93ab3efc72671b44cf5b8c69de182
MD5 8b9f474ff65abf7dc24dbdb45edca918
BLAKE2b-256 aa66b9e955cf361bad20ce2b9e8de813b27d1ef69db3966f7b3aa5256d1af8b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 29b5fdce414d06db59706be575cc4a46197c8c223c6a267e232b1921677a5c8d
MD5 f420b90e2bb0b5558bea80b5a000ec4a
BLAKE2b-256 029ecd41b0ac2bf47076a4534cf24b3690bf53eadabbf8e62c9226f633bdcf69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 480b14289f45947dc0750000f2e1a36aaca4f5b6462476ee21d30c31d479c792
MD5 a534e5bcfaa3b9680fe5a08543ac6a7d
BLAKE2b-256 26277643939ae0d2dcfe61448a3277fcdf50b1b066d54511392d5d443e271593

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b98f8fbcf8e4b4075fbdc75d83322fbd5bdf45746aa561c45af9b78c9de05de
MD5 e7fb17f47223dbb41e483b867e8f1ea2
BLAKE2b-256 47f3095467f708fa8594d9a2da3c45afb134f8abdfad85b4238952c783a155e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bd4542d154d5d167b11b5c9da05de5b66a5088c3dcd99003f4a7d85f8c045fc8
MD5 7ec5e1006d6f97a186ef1d53b8a9e4e1
BLAKE2b-256 455a8d8b3888fdd60310c45be30eb8e6ba6e8b55093e37b335ad52411220408a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 67fce27d900ccb890f9aba8b51f2d36f6f66c4525a22d24b622fbc04033093d1
MD5 0c475a7ce7dafa60bf713700b53e9403
BLAKE2b-256 35484b0d7b57d7d37e0b28bc9cc9813771eeff5ca05b7484debe3b6e3d61abcc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 619ced57caf0994a491eb3df47fed2ca66b5c80f5f08a32af0207e2fa3e1c726
MD5 3e401230556b9696cf7190f39f8d76e4
BLAKE2b-256 d7580d2e8fb00b8f32075d31eadcd2bb8af6e7acce43141faf776e1e67db3dac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f7a5c3a196139272006e3be1d27bfdfec639b457e42b65845c963c2268f2479
MD5 c7561934059546adc0a8627c38e99c55
BLAKE2b-256 d3443d3c4f302df3bc93f409e324d0ec32b87724afd074e39b9805cc2492580e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 30f4f5991f449ecb0a5016327d4b2c69e94a3b6eebb96a1eef81b16e0c044f73
MD5 79b5f4cf4c0b9317bb5295bb3de87762
BLAKE2b-256 12f2760d8bbac1a05a40a12253c0caff7ecc2e4196ce67d496f0fe770434b81c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8566e914b53c5c57c51754445fea17694466e0b02ad12338bcdbb89d2416d076
MD5 991875f75ebacc6ef783f80a9f0c16e8
BLAKE2b-256 1198c03a9c7dfff116cdb226421c4c4f9d740c4ac9c7219b941850d010c0b781

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 95eda644f4460bba17f56cb93ee294bd5763a0dc8e24c63407e52175a5fe947b
MD5 327725a2b872d4b89b34cbe5c12a9a65
BLAKE2b-256 264ccf84554e9463eae79cf33ae46acd6b159e240ed28dd3806eec6bbdf8735a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a706f359d88f13671572d6b49834329d165ed235b0b9e205743941845af10a2
MD5 0d8453763ac6e41fc0333a51f746aeea
BLAKE2b-256 aeede617efa335d4434bce802cb8efe83412f7ca6931874455de6acb3667d512

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f4c686e5420e8713232bf00c2b111309eb02816fcce8108608354d9a0c6e07ad
MD5 c564d2a261f76f6cbcc4800377b0c9f8
BLAKE2b-256 e6b879ce8c0ba6c8a636d06ee3818bffdab555479e1a9721cf7e132309bb84de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.15-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ac96015a0877459e27f7aa2a7d5828099cb4e89e4cc1e8e528f11e1577a399a7
MD5 b616090a677da72f909ae81152df67af
BLAKE2b-256 e3fff3aa0416c06fcb6384de6fa9e7e3312594bfb5c8e68fc238c5fbdb586fd1

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