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.17.tar.gz (498.8 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.17-cp314-cp314-win_amd64.whl (202.5 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.17-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (336.6 kB view details)

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

pygridgain_dbapi-9.1.17-cp314-cp314-macosx_15_0_x86_64.whl (233.0 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.17-cp314-cp314-macosx_14_0_arm64.whl (226.8 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.17-cp313-cp313-win_amd64.whl (196.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.17-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (336.5 kB view details)

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

pygridgain_dbapi-9.1.17-cp313-cp313-macosx_15_0_x86_64.whl (233.1 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.17-cp313-cp313-macosx_14_0_arm64.whl (226.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.17-cp312-cp312-win_amd64.whl (196.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.17-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (336.5 kB view details)

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

pygridgain_dbapi-9.1.17-cp312-cp312-macosx_15_0_x86_64.whl (233.1 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.17-cp312-cp312-macosx_14_0_arm64.whl (226.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.17-cp311-cp311-win_amd64.whl (196.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.17-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (336.6 kB view details)

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

pygridgain_dbapi-9.1.17-cp311-cp311-macosx_15_0_x86_64.whl (232.8 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.17-cp311-cp311-macosx_14_0_arm64.whl (226.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.17-cp310-cp310-win_amd64.whl (196.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.17-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (336.6 kB view details)

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

pygridgain_dbapi-9.1.17-cp310-cp310-macosx_15_0_x86_64.whl (232.8 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.17-cp310-cp310-macosx_14_0_arm64.whl (226.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.17.tar.gz
  • Upload date:
  • Size: 498.8 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.17.tar.gz
Algorithm Hash digest
SHA256 c524afb474dc96f603d4e602291bba13658b9391f62118289de326960220de79
MD5 1af785d043c9d80253602dd9ed7d016d
BLAKE2b-256 3ccdafa977916e7fe6090106afb01a58b9ab59903066e71739b7d9ff0ab8a6be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 5ec1410e11c1ac402cef9fd54f87246b1b69f1a6623063fe6c854f93625c6a18
MD5 24cabbbf8fadac2d0f44ed41c9b95b42
BLAKE2b-256 fc06f80298a7a84d773d04685145eb4eb6a20981404069d262f608b4eb9ea6c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c344baf04f559e42d480acea84c7fd1c7f0363bee1814b2f61c90a790af45b9
MD5 e1ce6a44036c2ed0c26f7dc3882d679b
BLAKE2b-256 8c756b03433e475359764173b2a29f3bba01e9c8616e0049903aab8badded8b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 470d837a1cea734627bc3fd9b422e4ff09f762b1c8aeffc171c47df256f8a388
MD5 9f8d1fe0ce04e8011051b0c3162983e7
BLAKE2b-256 bac4ffe0181209d52f1ee12f037e63504ee073233bc387264f0ee3aec42f44e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 01f9a759d2b6bb92fd0b38583f3ba2aae7d85aa62a8da9f639bfb39c08cb1d31
MD5 0a7b29be5265f2f1ecbc0b1438308797
BLAKE2b-256 ca44ca62c734629ceee6d8c7498d55834c13a499b5bd2cbf606477a5bd0320d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 62699b162b62216f73c8e4350fc1820e3e58ab2bfa1f70ae9fe93eeb49f965b2
MD5 3c575d6b13f0103a754f349911e53152
BLAKE2b-256 a8bc6636338e78780c44bc5137056268f83e9c6e6fe491cf88e783c993ba24df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a00c2f21efbc7aaf8fa054efcd1db992c67d6db29b7dc047f64dfb64b3a93bbf
MD5 36f80a7338dfddf05b4a5de16f120a9d
BLAKE2b-256 f8277c74a725e9c947303a7da9beddbb921297601994392c17253776bc8b125d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 29a380605a19da218a90ea1b3166ed7943e0a77ca83d941c63209971eea8a2a4
MD5 28aa4a5b02d4b3d2750415667ad13a3c
BLAKE2b-256 cc06795e0ab5cbe744ef1a19a4a34e7f520a3f673b1f875da82f5b7a5d1575c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3ef3cdb3cdab94b0249ac07caf708cedbb96228be073abacb371ac6e43bca486
MD5 80dab1bf07a3d397ae10f37e24830c8d
BLAKE2b-256 b7243fb6a74c93072e7cbc9fb01fbe0d6de296e08702968214ed5f8dd596f351

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2413881a6aab7a936fc881e91184606d349159be432863b64a427663c8b9b462
MD5 51afaf6124feebeba0c9655050f3164c
BLAKE2b-256 f166563307ee1b447dd1ece88b7dc9e5621c5997033f9e1b040ce2445c1f30ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c074a2c4ced7825120f3a00a8e35d7cad3e30d6257006ff780046986abf0b02
MD5 2f516ff6b300e992e9619f5255d47a7b
BLAKE2b-256 7376c9931ad2d1c0ab076dad6fb1777d18adef44c1f215d06d12b25a627e502b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 481d722596d39c4a88081b6aa2982b279e67834ff398720ea03a9b1a98b73cf0
MD5 5e9ec16c6bbd2d194b67f9e27c007c71
BLAKE2b-256 18bb86242b0029c5a2770684a68551f5ad176029e7bb0ce204880a59c641dd8a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 78cfc2bf1d74d1adb38b3d5dac7b7a655ca449eeb6b359ad464792b59efb6a54
MD5 c85b0791201b56fa0e92faf07acbda89
BLAKE2b-256 4ab0e7aecbcdb0bcef160fc05d9ea28fc1e2c55e80335754fb9bd796c04e2ec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ba519f07fdc41f1f61467f17b1519e52e58d286effadac8181d912a409441f74
MD5 5c598c1f458a07125f2daf6276acb0d8
BLAKE2b-256 e99b52d51adf6a53b3e01bc48715fcc181856095ff57ddbdfa68f21a1440fcf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68aa30c7db679cd4028a977618c5619610bfdaf49547ff86cf71d3de8e2eee31
MD5 c4eb5059deb9441c4d729e947c3f5871
BLAKE2b-256 f0c0219b8b4ed5b64e742a14d3f3924890d4de9959d2edd0082d593e96222114

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6e95191da0241ab1869ac25c42404d19c5b2541ab2f9ec14771736790107c741
MD5 beae43bbef7c7952740314d4fc98a578
BLAKE2b-256 60e90d2ce666165d2dd1649ecfa37ba4eb7a423e8ffdc68288a50d2a6804c94c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a3ea6bb7c0c7660ecd95866002b771e9dec0fd92dcf59695b66f953dbe0f7b1f
MD5 72406ff16c36d7fb1338e4a10bab9c14
BLAKE2b-256 190de7f05e7ac69724e3c3b3848497ff72058e348ae9485e784740888fb96d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2ab017afe937f44dde7ee719a8106a6c6cf64c5e615cb4bbae78133b4cb7d19f
MD5 c6510f8e6bb897e320f36de806a97902
BLAKE2b-256 2945c20652e15e4e0a5eed1e3b3cf7478f98e6f9985880c6df7124ed3b2bd3fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c360533be93f912a4cb316e12d742c7ebbbd068e70220da18500c412c04e2e32
MD5 bbb0ca78a8af81a488948c66edafc6bc
BLAKE2b-256 11a6936c623b17298b3c1239150d93971ad3bc0e2b47b897c8bf4ed1bc45aa72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a2a558d5c0cb4a1261532b0eb3dd3baf82abce607526429959a5b488b98caec5
MD5 4653debb151f7e9cd48e0d65f03ae90e
BLAKE2b-256 01ff345dc6d49c306b04955be62f5b35c81c92e403f828b637f361a503972c1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8bfe7f80e680f0d670ee73216938c6d62b62c586e84dbc9ba71740fe4b6a98c9
MD5 1e2a936e6268f67530feca95fa30cae0
BLAKE2b-256 de11788c9d54afdaa5004048c98fb249a386676f4c9dcc1b1d424c7494e904ab

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