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.10.8688.tar.gz (484.4 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.10.8688-cp313-cp313-win_amd64.whl (193.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.10.8688-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (333.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.10.8688-cp313-cp313-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10.8688-cp313-cp313-macosx_13_0_x86_64.whl (231.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.10.8688-cp312-cp312-win_amd64.whl (193.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.10.8688-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (333.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.10.8688-cp312-cp312-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10.8688-cp312-cp312-macosx_13_0_x86_64.whl (231.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.10.8688-cp311-cp311-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.10.8688-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.10.8688-cp311-cp311-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10.8688-cp311-cp311-macosx_13_0_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.10.8688-cp310-cp310-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.10.8688-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.10.8688-cp310-cp310-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10.8688-cp310-cp310-macosx_13_0_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.10.8688-cp39-cp39-win_amd64.whl (193.0 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.10.8688-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.10.8688-cp39-cp39-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10.8688-cp39-cp39-macosx_13_0_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.10.8688.tar.gz
  • Upload date:
  • Size: 484.4 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.10.8688.tar.gz
Algorithm Hash digest
SHA256 a32a7d622050e105e3e69fee4174c81f8186482721c0a74715a580922df5cb86
MD5 38f692250a8ae0ba8413323afd252711
BLAKE2b-256 2d6c1070f5ef15afb504e73e48c7843df38c6ae614b2fc755e3a8b720fd5d8ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0fa10b37bcebe38b0da68d9cc680b2d001a0e2bb0fd4ec0f402531d7651544d0
MD5 00a8be79c8770fc6eda6d4282d0755fc
BLAKE2b-256 32cd1d0fff1e7cbc9ad50ce4112c9a2d97b099f8cde1dc81144b5958ac9a9623

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2a5e6ded922be7625753660ad3021adaa692aa2428342a7a2c6471f09f1669b
MD5 7c80e0ebe9db34d1daee697ee91df8e0
BLAKE2b-256 a87ba14184a0c101f3d15f2816dc0e7d3b10e46cb62726c20fe50d3cd4afc6b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 65f5b79bde700e7779e897e55c0f989e65a2fcdf65b5e02f25866d91bc34b95f
MD5 bc63f2b3b214971d845bedfc2e4106f5
BLAKE2b-256 9c34cbb462eaffee47e879cb3fb5a976ae6c46a80d73c9e47ebbb9b1ce871f8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 532494eb87e3cdac841d836fed247c94ff9d3cf339b1fd80f8669f7c92644824
MD5 c7b511be3165756c83ea17c935f8bd33
BLAKE2b-256 1a743261b97e39501a9fdcaaf6bd3c2ff2a25747f811233747b455d9d61929ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f43217c0fc506d904f5508fe4ea537d988b33dcbb2f6b66f0891fb79cd03fd38
MD5 3e61fdbd964fb06e122a1977c634cef4
BLAKE2b-256 f4edae0bfdafba9d3f2171ca496f5cd59fdd0ca7a3c009129a28277d84a76e35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb047ef5bc94cc416bcfde00f4136cb2e6d1631e02f621d6dbaccec35560ef74
MD5 6b6c99c12217315a8eff80c82e313332
BLAKE2b-256 753e96a583853e6a25c8b1cc11c1048d607aa7a66b1b3f00a8d1c7e1c591bd35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c91f699608335be846d597b9dd05b09c23c5531d321e6cf6450b87224901a473
MD5 ae07d3c731e7a0a929e3beb0d81670a8
BLAKE2b-256 0f80695fd0a58a104900078c9b2569d37c3daa1154536711a6df5e665f67acec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4b80544950ca92cb9ac2fef25481147d865285cc90f055b7a5ebc90383f1bbe1
MD5 9c60b077b717acd39d5c8c0f9de29f71
BLAKE2b-256 88b831cd8985976e1df133fddaa9127c859b4d118b1ded2b06ae9fe26dd47095

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5c45c980462d6e6fd8fc4c44ed3bd5f921892e05a55d56ea979cd000783b251e
MD5 9e3a11175ec5d80be7cdac6920577e8a
BLAKE2b-256 e210df20ec60a57fe423619a7b1aa39fa62504606c306eb7f2b43e3b8e4d7367

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8efc92ad31eb451de5a7bb29b9cc127b2e0a857bb83c1a379f8d29ad07ba7cd
MD5 06fb7ff82bfb9050313b36c5d92eb90c
BLAKE2b-256 43eb44c4e6884e16914c47755cf3e1b2994c8c7f8299fc252e693c1b104146a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 72a0d4739258a2ecbab67886fe57c736dce25a9eb99194c608d9445c49ddcc0f
MD5 56acf6e629c954c5b7fdc01cf839258a
BLAKE2b-256 beb7e99fc2f0063b7f4b3cc9628ee5a46d21780f91280e09cc7ec16e02292dfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 aa5b96f9fe74ff0c1440f1cac0082d9effd85685ba199922a4f6e8a2b588790a
MD5 5c316d0b07891c072d99ea258d624743
BLAKE2b-256 26192498089fcbe13e6ff38402ee8bfda92cbd984a2d66d6a4747b0261ead10a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 216f242ce082932a49bca4227fd7c322f00e024c67c623d68f70b9dabb23ee9a
MD5 2fc3558505ae324f2c97e58cb18b27e5
BLAKE2b-256 609a9cde28cbbb11919573816c8c3b02391e9782415b25a6ac0158d9d1e17883

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20ccffb223553a25194482d0ef480c4fa8d8b1b35f9e5b4742e04788be3db810
MD5 b29ea40933d22dc11dfac41688192338
BLAKE2b-256 4bd3f627ece44e3bad492dfd9433eaff07718d942f91a94cc5a0e4b5cf6c1b2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 55d3c9f34bc72064d8b5a217fdd8bec5fa0e7d589238de5fd6aebfca5f547837
MD5 ca337455c4f34a861e6074c2d283634b
BLAKE2b-256 3e6e824dc8e07a9247dc883d1138fe34e7472c83a9ec21a12d63e15f5a54f418

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 69adaaad6892eadc52b19913f6b7cfc5d7b68a759759b1357bb2cc60afa04f69
MD5 adbbda29457b094d751e5f3d93be5acc
BLAKE2b-256 6e9cca88cbc9d09f8aafcc61c7ca383c72341cd3bcb0b1fb4043c3f5208833a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4e8fbc39d57e248d0b3f96edafbda328c499cfb717b403d9f673ac5a8c520d18
MD5 01ea1cdaf56eb3a53cc9984f80579d14
BLAKE2b-256 ad04cabf1209b98fa633209b97ea7bcb738a1b92f73c0c677a261d3fab36b01b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e9bff92cc12ad3d20ea2a462841a76527da543b1ccdc3f2361d18599dfab6b5
MD5 e94e34efebb2c9e49fb1be606a8e7094
BLAKE2b-256 b465ed34071e4ee84d44c38937dd20169df1d5a9ffee308fbef1a9219a0cf914

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9ddd9dcefaea17f71ca6f0f345c0ad4c72b7dc41bf099ceb8d61bc7460f4545a
MD5 d26d40f3b16f6317dd49674ff5b20e31
BLAKE2b-256 211fa93d202d7164eda01e2488703d07bb872459ca8712c2dac445a045becd22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10.8688-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 8cb7c308a26071a37969b2b4d27d4fb90d3aba05adbfdd44fb542ed1b869a834
MD5 eb8da3e09df98d426c277d40dcdc5fba
BLAKE2b-256 799142bdb87ed70b932937c0446443862f7142e768a1ddcc9309b305274a49a6

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