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.18.post1.tar.gz (515.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.18.post1-cp314-cp314-win_amd64.whl (213.0 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.18.post1-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.8 kB view details)

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

pygridgain_dbapi-9.1.18.post1-cp314-cp314-macosx_15_0_x86_64.whl (243.2 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18.post1-cp314-cp314-macosx_14_0_arm64.whl (237.0 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18.post1-cp313-cp313-win_amd64.whl (207.2 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.18.post1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.7 kB view details)

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

pygridgain_dbapi-9.1.18.post1-cp313-cp313-macosx_15_0_x86_64.whl (243.3 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18.post1-cp313-cp313-macosx_14_0_arm64.whl (237.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18.post1-cp312-cp312-win_amd64.whl (207.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.18.post1-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.7 kB view details)

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

pygridgain_dbapi-9.1.18.post1-cp312-cp312-macosx_15_0_x86_64.whl (243.3 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18.post1-cp312-cp312-macosx_14_0_arm64.whl (237.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18.post1-cp311-cp311-win_amd64.whl (207.1 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.18.post1-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.9 kB view details)

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

pygridgain_dbapi-9.1.18.post1-cp311-cp311-macosx_15_0_x86_64.whl (243.0 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18.post1-cp311-cp311-macosx_14_0_arm64.whl (237.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18.post1-cp310-cp310-win_amd64.whl (207.1 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.18.post1-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.9 kB view details)

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

pygridgain_dbapi-9.1.18.post1-cp310-cp310-macosx_15_0_x86_64.whl (243.0 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18.post1-cp310-cp310-macosx_14_0_arm64.whl (237.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.18.post1.tar.gz
  • Upload date:
  • Size: 515.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.18.post1.tar.gz
Algorithm Hash digest
SHA256 70b1467830d79352d8a0451bf9ce6a721ca20436782b1319322dcb16c15c050e
MD5 23632e2b30094c2cd7a091bed356e508
BLAKE2b-256 ef557538ff5d2fd094e0e830731419de68afef58d9bce34848d8bf592c8419f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 98396a8f312b46b84e4b1c02614e58ba3c4f62ae0af27b092ca724614b639501
MD5 6ea6f3a17d7cdc2699dedc6bcd82e61b
BLAKE2b-256 a819e47b73a3e12f78638c6f67e86ad2879fb5ffe2ded128d8c0ff2cd882f17c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55d5f8035307d8fd3c40574a0d563c9e674b8619b60704cbc90b7d0340cd7b9e
MD5 1480d08b3555f4c443612d1e468f1832
BLAKE2b-256 9aff0ff882ff9f0a6fbb8dc14d9803a11bdc0d93a7a8928ff34cda3615dd262d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5c33965ceeb97689c91464bd2077c929f41ed2b905edbd41544683b5cec68a2b
MD5 29908d79f2c3980b9916156581106f35
BLAKE2b-256 d7b2f8bd051e4d77c3777b4814e56da6b659ca37dcb070bb8a3af9158c7ed759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8b61b36b358edc8465635ae0dd247036fea9c7e1a90f0875363ee6eed3d4e46e
MD5 8d4a8c6dc44481b14fe071924428969a
BLAKE2b-256 008f05dedfb69b860c04ec8faaf8117f48a3d6b48e21756de2091a0d032d5c39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 a041a949bc49497c2c5804293532cc187b797397323c9f966e53aef6e68839f7
MD5 567628844d23c6c35c4bb1b1d6d1dc16
BLAKE2b-256 288caf6109aca53314454b0159648731537c6d208dbf98e357ba876784fb717a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 489088245237f07d14f6ea5029862a1c082bb6cf5cebc14e29637d9c966fad72
MD5 5eed8cd586230ec230eb353dd1830b29
BLAKE2b-256 d4a871ef79bd4a04a3e5581bd4ab29dca6954865840f511689781f0cd208b852

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b13be6f2977355022560cd783eb5a920b4eebf479d5e4516f6b6c2e741e43093
MD5 5edb2f68f7752a65dc53ebfc2eaa99f8
BLAKE2b-256 028bb919a072879e43e71948389082ffdc1351f3c0f5545084c2badc8242aba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f183501758fcc3f5eeab813850a813ffe144823f86a4bcf0d8831971e7683552
MD5 1b9ddc6b76d43e257be23e547ddedb6f
BLAKE2b-256 702531a0154c26f16343bc193d93134979326d6bd933f55d9c6f836b16b4b717

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8b5c798a40e5fdafb9e6a23cb94db680e9105a1fbc75a913887d37fc70b44871
MD5 5b2b73544e631a844ce7977651ebbbdb
BLAKE2b-256 2ef3bf3ac3151ec7839654e8f969acaab77bd980d0372e3e3cfe17abe86204b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 72d33f6500d2f2e29a655e410db3cdcd0c16e8410c98ae8c498e70bd31394be0
MD5 2f298b4b8bb84d588714adcb2dedfed6
BLAKE2b-256 bbdb9b964b570e2786cefc49ab17afd7368fa92c7098d3d9c55ddb2cb2ba494f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c05a595f5ad9d8393df1aebebf73dead924eb177d326b0687c3816349642857b
MD5 af0491ef43c625a1f23d605cd1c71221
BLAKE2b-256 d9a56c3aa9218c119e245777b146b10f4d29a2076f41afc811febdacc392e2da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6baea8edbb840791b5fbc418c18c4da56c71f63d1343569938988d5251277488
MD5 5b2bcc8314fa1b5deb9c66c3d7482131
BLAKE2b-256 bcd5c63f8f218b9074168ebc957e7f945e1f23e2cd7db0d465c0ac4d040a10a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 db781843a18656c201d4a25a2f5cc4a1dc38de6a0ff41f96517be21962508b9e
MD5 d6cc6183723c7b68eb85d3c9341085b9
BLAKE2b-256 6c0e0847d3835974533a14566925fb3d730c2ffef8679c00a03a975a61e11cdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f35b88573295e2258381850f9b1db800993bc7477a26edce77b7c05396fa05b
MD5 38f1b6af097d306fd549077ec1001cbd
BLAKE2b-256 d715db8d2fb6dd012d41bdeb9d5a5f060e634e949686a5b71700a9304710dd49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ca01b4ba86c102ebfd0d72817e993bb4fa6e2d8dc288ae45cc441050c58e83d1
MD5 252d564ad7e498b96bff62887fc24e8b
BLAKE2b-256 39323080f974916ae94f8c3611a00772f0a7c6b103b6c66e7af73289a2f64a65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 808f20a06a2318bf143c976e87a4626ad9a569b54023c6e7c0047b38ca898bbe
MD5 58e8c3275327276abb79aedea8bcdf4c
BLAKE2b-256 972f25ba857eb376fbbd876971263e4a973f422bc6ffd855ed734b8118ce806d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a2c43fd378c4d3ffd7e9d8f0d3aded1f79b2e5c9ffe56965feef7ccd3593889a
MD5 a668f09d0fb921a86454e39ccba0da8b
BLAKE2b-256 5522a57e3c9b31bbf57325e158b9e116ab27a77032fcac83f32f7b5909a024c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e004a3f5599b494558c50d08148b09ee1722c058332998abf43ca00a95c59b67
MD5 7e6d530936aa9caf14eb4364fdba240c
BLAKE2b-256 0c1a99b6d0d5ba5079ab968cd9c78eacfb4695f50d87c2749e22b19c6ba1a879

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c9c2a96b2fb20836fb035bb54662ab2b836b45e63cbf61e3d37274aca0cb8a5a
MD5 5ad5051d70b156ea29a96eaf574a54b2
BLAKE2b-256 434255e23ff42afed82084fca32c2d85a0eb5f0964beef7988a3c9c549fc8ac0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18.post1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 db47dc45bd9eab4b69eeb5c897bf158322a5baadad9f04234a2bf4926931beed
MD5 a1a402d043e07ddebd0b45d9722e47ac
BLAKE2b-256 9b15b0134f3506fea3124a14b27b8e508849b6ad7940592f64815852ddbeb967

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