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.23.post1.tar.gz (685.5 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.23.post1-cp314-cp314-win_amd64.whl (344.3 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.23.post1-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.5 kB view details)

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

pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_15_0_x86_64.whl (258.7 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_14_0_arm64.whl (250.5 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23.post1-cp313-cp313-win_amd64.whl (334.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.23.post1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.6 kB view details)

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

pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_15_0_x86_64.whl (258.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_14_0_arm64.whl (250.5 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23.post1-cp312-cp312-win_amd64.whl (334.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.23.post1-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.6 kB view details)

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

pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_15_0_x86_64.whl (258.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_14_0_arm64.whl (250.5 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23.post1-cp311-cp311-win_amd64.whl (334.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.23.post1-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.7 kB view details)

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

pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_15_0_x86_64.whl (258.6 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_14_0_arm64.whl (250.5 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.23.post1-cp310-cp310-win_amd64.whl (334.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.23.post1-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (364.7 kB view details)

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

pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_15_0_x86_64.whl (258.6 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_14_0_arm64.whl (250.5 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file pygridgain_dbapi-9.1.23.post1.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.23.post1.tar.gz
  • Upload date:
  • Size: 685.5 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.23.post1.tar.gz
Algorithm Hash digest
SHA256 25d318656cb3e31ec98f495a84a26a8fac51d58159a306aa19d3f7d8e54921ba
MD5 ade4275bf7f7e1751523567f99591642
BLAKE2b-256 d2092cfd87cf87da45cca2e75d044aebc1ce4c7579ac255e4130377b6bbf5c52

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 88b0d3e8d1b458e340dc930e7875f0fe122d2bce20fb9dcfd5d516fedadfeda3
MD5 0539ebb5c26b205c4e51c842fcd7166d
BLAKE2b-256 f06db47059baaa9e7f85705e64b731749f2d54b1d6eb766da229ed0e6d677093

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 15a5bc7cb85cc5df3913bf865ceb02839c47246013342079d3482c53b4afbae9
MD5 f831cd4570df7cd351c4ffee70264d76
BLAKE2b-256 2a6cd6dd0cf17a72fbd94c80e1eb01226774fdf457d6707553772ed570d34f22

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 cba6e1832b0106f4fe333f8ab4a288f6a9800d1c7f8b51bf6bc2824ae6e67e7c
MD5 f7c85c8a8834dc2a9e135c1392ade76d
BLAKE2b-256 040e1632b68ae51fc9c28f5a806c97b2a3bc7ec79fb9281d60a53562bb8f3775

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 78aa8840d7f1e1aab28a5f070445ae97fd7c3387ff6968816a922edd2417a3c2
MD5 7329f42abeb0221d575f05ce7f83d74a
BLAKE2b-256 90d00c89fbd54e87648c1d393f541812cd3ec863c6beebe1692c60046f039225

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 917a418919db7fbb367dc5d309decca64437b4e34c33a814c5681a55105ffaf8
MD5 e373366dcce724ead7ba3403a1d9ff65
BLAKE2b-256 f1e5273690eeda3e8ff8ae49bed79a819a476b43863d3ef5c35705d4b113bc6b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f1b771eda071ebcecc3c91fcf45f6f9edfbef124fb91e1a67dbbb4e7f4bfd4be
MD5 0d32dfd27046a6e3f9cd8760004593d2
BLAKE2b-256 b1de81f8a0b54a59fda93f787daa80db6a580e3ad486721d37826efe9b94104c

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 68146e20ebc62a0a5ac15f9be066b16dcbc4b6a1b2cc71d3dce427aaa6832a1e
MD5 01f11932a290d6e09bf746e5b8ca9e74
BLAKE2b-256 dae983297655650e87ad82daa98149c128d875ba802c60cf04f05ee6d1a7d03b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 41b08a34044f3c1f1d36cda535015634acfdc1fd967796df821c38bab18b9467
MD5 187ed3c4bc4e048ef849f70df3d49fc8
BLAKE2b-256 cc288a5ca00abe55e91a5b0df4ea34c77f18ff9f00d6e73e81ede2ea9472bf92

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a648f23bf7668886a98f9776ea41d71aec89e0812a01b55cad416298989f6dae
MD5 4d2c7ee669aca2ecd65df83994ab443a
BLAKE2b-256 187c11e84681953caa6edbbe5ae246d8bbbc3f1c690763605d4bf9d568cd90c3

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3aa1843969f64f190369a96b9c319ed005adb0263283c9b79d9ff1dd009cdf7
MD5 c4babf1e9147118fffcbd864d3c7b4d6
BLAKE2b-256 2c13f961011b1a76d7fc24afccc64e62dbe7877ca4fc8f215e28cab26fc341fc

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 9c4d5b16dfb9b23587257d4f1cd6bd378692a5cb8256ef25acaf865edbb64c94
MD5 9c3e3b6bdd449abedf2565a748a04aff
BLAKE2b-256 600b166ba873b1d36a131f4f5fc9235f8e56202ba922a4e1ad75ea9722ab80d5

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 85aaaadf320a1b83d6dbe006517c0dd0ed999fc013770c48381e3438bcbe4903
MD5 aaea389050cdbf7d0b6a665faeaacfe4
BLAKE2b-256 d33b87fa61af0942a02a3ee763dffca47a6304475066850ae42bf5f36ea032f1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 93af8a84146ee3ce88c4b31973037ecae6a0d8ce91118597aaa205a6460f1a07
MD5 44d4ff75a2e841316e5c1f25e444316a
BLAKE2b-256 110a2f7d03ed5cc98b06ea2499611331c4c8a76726a05fbcb4df576dd43f6a51

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc805720b19f11d66c7db23f9766b38075862573e465bf1dc54d56f5da6e4f69
MD5 2501fb9a1d95c7daff5464a4d438af01
BLAKE2b-256 f39856f188fc575fc835fa2f3822170558f1aedfe494eb890a348c8a5414db35

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b9467050e2a2177fee792b4a7be49a9a56aee3710afd66058abca64179d3c543
MD5 08a79ca76e5e5f789083d8e41d86e519
BLAKE2b-256 6fc72ed0a5667e81603df9d1081255025673e76baf2b6b6d3e893586f8096927

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6bf4062f6215e6e6d9a9671452163cbccd0a537547732b807b026b2312c32820
MD5 e8a558c6e7dc19f3b99b5b654807ee8e
BLAKE2b-256 0e4c0ac35cfce54b11e237d172abfdeaabd736838fd0add396ed592dedcc4974

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5e6005ece99712dc790afd3ffbc7b221aa581c9110b149905fb9c0f19093d292
MD5 95b68be9563bc147a82ad053d76d5734
BLAKE2b-256 3839b1dfa495ddd38852d0d0b02096dac5e3f5e4bf222e66438d328d60906a05

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40774e0e2eaea6b0cc692af92eb4477f55945c251540ab345f36cc6f59f95580
MD5 625ce454471cb4867542aa0a3aa7684b
BLAKE2b-256 663b451b91dd10d1eb9192c4794e5c25740252ae7c373a6604edcee0bfe1c806

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a553fa014608b9f5c2087db4e42dc9f11b443992607c2609a1dd74f48290f45e
MD5 238cd6311681dae698f85bf5b7940890
BLAKE2b-256 38ae02bfc9396dd0a2728330952731f76dae6ecc61aeebd862a4959eb0abdfe2

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.23.post1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f468e2ae9df8eb33c87b6ed820478553b4e292c78c42740347d90ca3f7327bf9
MD5 06d34b59a879589db04a83ec17c19c3a
BLAKE2b-256 d704f1bc6bd4deff65b6a04ad9c23fb17562c4bfa006319c77006be532db1c29

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