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.12.8969.tar.gz (488.9 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.12.8969-cp313-cp313-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.12.8969-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12.8969-cp313-cp313-macosx_14_0_arm64.whl (227.8 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12.8969-cp313-cp313-macosx_13_0_x86_64.whl (234.1 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12.8969-cp312-cp312-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.12.8969-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12.8969-cp312-cp312-macosx_14_0_arm64.whl (227.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12.8969-cp312-cp312-macosx_13_0_x86_64.whl (234.1 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12.8969-cp311-cp311-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.12.8969-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12.8969-cp311-cp311-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12.8969-cp311-cp311-macosx_13_0_x86_64.whl (233.8 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12.8969-cp310-cp310-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.12.8969-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12.8969-cp310-cp310-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12.8969-cp310-cp310-macosx_13_0_x86_64.whl (233.8 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12.8969-cp39-cp39-win_amd64.whl (194.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.12.8969-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.2 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12.8969-cp39-cp39-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12.8969-cp39-cp39-macosx_13_0_x86_64.whl (233.8 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.12.8969.tar.gz
  • Upload date:
  • Size: 488.9 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.12.8969.tar.gz
Algorithm Hash digest
SHA256 ea37f8cf5f62418fee1f83d890988128ff4edf1ac85d5ea25466e00bcddb91d0
MD5 10d10497ad77d62fc591635d5e3c6901
BLAKE2b-256 a22721b9e0d883bbd11651519059d1188eb0560d95d6a1e1efc59593ba8e3309

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b6204f83a68127ec01d4557ee199b2f65a4b98f4bdb86accdbfdfa5494688659
MD5 74b2c23aa7f6d5570d8061d74d8dd33f
BLAKE2b-256 6fa72c70b80ade8fc59636a6c006d6cb4dc294e4c510fe55acb96bc7a9eae90a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8073a072df0170f26819e4f41d7b2643c15d8e1476d1c8c7605b522997ba88d9
MD5 26192171262b06c94fe677743e5cd10f
BLAKE2b-256 7d4e77f2d23739a3c70d2e787de5e891149936d8cb48ffc860aaa0c1e8e627a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9e726b1eadc2886565d3897e17d603a8a23f3c7bc3090a4886d0d3d2166cd732
MD5 22d044fd09e31900f399144d7ffc4afc
BLAKE2b-256 59e9f30bf32e3ba05ac8bf385a9d8766c6ecf5337b5c65f09d8acb7127cd6834

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7b852d4cb39c9fb9ca416e8ad73217b42c7e4656ce46b64974ce057ddffe2d36
MD5 de4b3074c6d4b4ca82eb71a192f2be40
BLAKE2b-256 79d1d860f6fe57512a909e6f0d4675d7938d5a8327dfa1d8da27743afd039ffa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f1eb942bf975a743347792d39d07916b7ee9a49715e3b89103537092c83f6368
MD5 efa68c93e8ee58160b9f89962f88f207
BLAKE2b-256 4d64ba9f3601b8b8caa9d28550a1460a2dfabdda2ed5a50751f77ce421399a05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9bcf13eccc58867360db79d74a3427e94e3187547247247f6d85c2ee4f60d764
MD5 ba0eebbb022e128393776409b0f9f437
BLAKE2b-256 8c9311adcd43f5f41c44fe3e16dad993dbabdd8e8e731f3270c93f0dc4bd14f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e22bf3cf63290a03e8bce2befaea69d2c7042fed566f7a4644d24333492c15b6
MD5 59e8dfb11e8418b560e3a99fd70b7414
BLAKE2b-256 cf40588022b8cc74cbbf9fea6563f746aba4523d9eb44d64b360eb13ab619180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 cbb6a83ae690ae3961b517478c2c4d3db956606d87554c73aac21d34ca87825e
MD5 454c09bb522dc23781830c8c65ba853d
BLAKE2b-256 1f80c891f7c3bd58f92345ee9f25b428fc25aa887b767998bd84f005f9064df8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 fc02523fac8ca743c799d3ce98e61c6aaf7fb31ce8cf3222d9c86eb21bd9299e
MD5 78c4e4b0075bb1475200a8054dbe199f
BLAKE2b-256 8a66be1e0a55e6ac8303ec62a04d9a837865f9e7862f79d392885741a6879b19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 68fa89bb0c9e7d82f8eb54a080c9c26f58ce3fb023f4bf15804d61b11f7d6cef
MD5 ca74f7f0ff8265760998c5d0281cef20
BLAKE2b-256 73ded31f28994062793326f87453ba20e4200eb0cb32be83496014043568473f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c8406ad408c7809c0c1c6e5599dc52b7ddedadb3de87afc635cd4b1bfec15d88
MD5 ece2948e174ff3a9e4a0db210a0cc0d8
BLAKE2b-256 2663ecf6c915635fa0115821c80471d58d78a247908afd3f1c83ad28af602a46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b25d833c93b07dc575bb96e9af348ce63c32a3b3318e1937f41ea70eb12f02ae
MD5 bbe561d541c9cb2e7f2a05e9cb5698a5
BLAKE2b-256 03c855d2bfdfe46b2b401f8386aa7c939b1b4099f22c12fcf3ec3f7f4ab1465f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 43d8c529d66a15b014dfd736f009665de4650a9415009eb9b156b8b2abf00c89
MD5 5adb88afed6e7287f11ba60dbd77941e
BLAKE2b-256 07be5d4ca6b5e9f8ae8b142e060877624d49792e269cadb02e4944d0aea4e239

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1de2852e9c1d5a69ad5008f12e58ac5d3ca0cd6fa0a9b7fc6982c429baf38e09
MD5 aa3d0146665a3adbadbd76c61dfb1992
BLAKE2b-256 06ed497ec9c4f19554530d7ae94e98295edfc6b4513759760a8bae3dff120e7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 17b8986156bf309e6391c7e94d6520ccb2f3cb951650f9624dc8bc5957704f4d
MD5 0f2ef7083dc1ac7476c435f067a2397d
BLAKE2b-256 42f4b71cdfc1d7938acc526ca8a2db4ef6fc69f0411ae9ebc33ff2e3bd42b007

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9f10cefd36d793157131ad28007480cb2411b1a8aa381fad81f457bbda7d07ba
MD5 c8ca25211a879c3824707f6251f7b34d
BLAKE2b-256 ce7e7fa1ee9151bac67195071a62ebc7a3fb811784e543c66fd98e92b72516f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 930f1b7d5fba1fa9fb70110946e5fb0cc103cb94395d5b71fcdf5fad2f57dd5e
MD5 d7c12f83b59a9c1f32175c48aed6bac5
BLAKE2b-256 4616a415dc4b9611543ed44c810d73e469b3ecaaf5f4f03a24c679363d7aa415

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32477c4cd6c78a215b452dcbe803b4b85b172d0b23a490add7f98736054908b7
MD5 0254f756de75db60714b16538e9a0319
BLAKE2b-256 4c6fad714801dcdf3ff22ac6cb12876b0ac59424762dca93d97029b4be154b99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 53852479dfcf496cab33d7f43f3c5a4ff061b977d572d9695bcbe44e028fa2b1
MD5 78bb55cde559c193d74c1922df604b32
BLAKE2b-256 d760af728679c9e77107108d421b79cc4151e24bb8c12fc3ba2006e7810a6eb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12.8969-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fab37eae32ee31ae1877c86eff29d9a24e71ccba86862aec1da34506edefdecd
MD5 93a0a227c903ef4d13c068d8983f9d53
BLAKE2b-256 c4f9b51bb381de201a8b954c07a4631669282b7a0015378a2e965505133cfda8

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