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.22.tar.gz (541.3 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.22-cp314-cp314-win_amd64.whl (225.9 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.22-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (363.4 kB view details)

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

pygridgain_dbapi-9.1.22-cp314-cp314-macosx_15_0_x86_64.whl (258.0 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.22-cp314-cp314-macosx_14_0_arm64.whl (249.7 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.22-cp313-cp313-win_amd64.whl (219.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.22-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (363.4 kB view details)

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

pygridgain_dbapi-9.1.22-cp313-cp313-macosx_15_0_x86_64.whl (258.1 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.22-cp313-cp313-macosx_14_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.22-cp312-cp312-win_amd64.whl (219.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.22-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (363.4 kB view details)

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

pygridgain_dbapi-9.1.22-cp312-cp312-macosx_15_0_x86_64.whl (258.1 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.22-cp312-cp312-macosx_14_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.22-cp311-cp311-win_amd64.whl (219.6 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.22-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (363.5 kB view details)

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

pygridgain_dbapi-9.1.22-cp311-cp311-macosx_15_0_x86_64.whl (257.9 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.22-cp311-cp311-macosx_14_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.22-cp310-cp310-win_amd64.whl (219.6 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.22-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (363.5 kB view details)

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

pygridgain_dbapi-9.1.22-cp310-cp310-macosx_15_0_x86_64.whl (257.9 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.22-cp310-cp310-macosx_14_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.22.tar.gz
  • Upload date:
  • Size: 541.3 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.22.tar.gz
Algorithm Hash digest
SHA256 7f27875adc8b5d8d0c74d79a09873ddd0f6a3b28d5eaa16fc767c7408372d57b
MD5 5ffb39af1da83454e7ccfc6a2a35fc31
BLAKE2b-256 a8000135e483dc7ed9a10ca60d135781af3da0e58ebb55c2c0993ef50de9a060

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f8bec2339738556554ed25ba749f96b248cbab9323fff16bab583975ffe5656b
MD5 d0d9754404d7a32276204da03cb077c4
BLAKE2b-256 cdb893a3f56ddbc3f812c9b7ccced7a116de0cba7c7f3181af8058ac85354244

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7d9d56e51f290a5cd89968a9947246f3e4bfd35cdb360e06d437a4f9557afb6
MD5 2d9092be9b20b9bc3b4208923252828a
BLAKE2b-256 3511a35b283fcb7da56c393e4ba99fbd8a8bfc0b0d7207fae0e750993639427d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 39b022b6f884a473de77a36d3fd594efc0137c58de652a6e61d58d7d99bbb927
MD5 0b0e55cce729735518b87054f5e5cea3
BLAKE2b-256 cf7760fdf6cd65ed14c6dd85801414a76401979cfcbb1aee41ba2e7121339586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d65277638d58642fad22c222629fdf0f993cbe8142bfcf7e8b57e03b35e2151a
MD5 575eeee615b1b458e45b28cb4c650ad2
BLAKE2b-256 ea905c8c8fe7cfcc564715d74a248605ad3da8f3052390f24c321e8edf338104

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 41ef412432a0e3b2bb963769a8630fa4a9f2d6e0df20910870345771d93f24d2
MD5 1295ed211ae6e1f5267ae091e2585661
BLAKE2b-256 3390e3ced7f530e38c6a49733f6a0545e33bdf8fc27fefa3739d3bd2b909d76e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ccec310af696dd82e2820038cbe8481fe6ce63e4cdb01e4d1640144c745fdadf
MD5 d23d6c82b7d5d9909965cb9679e9e323
BLAKE2b-256 6cf87fd3ec2024c57baf2ba54c62714e7eb00bc498a001a5a2e2f0c9bdd83f2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0f20082378933cb2c8a2f035508cd63500d3cf96e6a9bf328097f045812b88dd
MD5 4155de6031c87b62cc7cb9000d9d5985
BLAKE2b-256 5a9769eeaa0acab4e58272936a9f3fd09a821729173c0918bd4e6b25eff7df5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3007180f07800f98cee15ff15d7b15f11012a9d13fc159777a834c1fdb389907
MD5 8af734bd8e7dca314e1278fa7b918436
BLAKE2b-256 f2806fae59377ea4413124d7ccc95abfdc87e972cfa0f013408750937253ddfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2d8880e329ff89f3d9fc9e375a87d159592bf22702b34d6e08325b335e989718
MD5 7fd00398752fc5f6f8468875bca9558c
BLAKE2b-256 9b5a373f2dcd998182c7021734f9f32f7eb208fc31daf226eac5144a5ad805f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 337168ea0bbf05e01a06b905e849784b2dcfe9bfa708dd5093c95af67d8135c9
MD5 639b9b42e90ed7d44eefff9e07e429a9
BLAKE2b-256 a92246549eecbd2dcb2906eaca8c644e6038cd2355bbb7fb3c7f0949663f972e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c4277069ceda98a399e5dfc13e0a377d0326278642dc39750af915872d9857d9
MD5 fa8ff44399d44ca165a506fe81c7637b
BLAKE2b-256 93da38d977f0805241c9dd18ba09ddaf33a8bc4454c10772c9757512c9120ac3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ecac0eeaa9775b8b2cac1c7d26de0946b9c0df811207ab90f64d05ef00feac19
MD5 cbeb4263cb4eef5681f809b2b7d2afd3
BLAKE2b-256 851e33a8857298fd5aef94c010d673d54ca6703fa7ac809d1ecdaf00d4e1ec5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 536e54b7964359edad826817dda27b51c46329edf36262d83f0d01e8826fbf33
MD5 8df1916fa2677d7ae3be5de46edfa241
BLAKE2b-256 4d5964b7f5bcb65f5de0ebebc7ffc6dad9f5b61ce2d22fcdc775ff5b8e65f9b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 41f784c6bd03b5cde158ee7807fc4f1e3a462f7e649125ffd6a322bf40c82a34
MD5 f6645aa23a55e5c373c2997ab9082b7f
BLAKE2b-256 b316e3a70ff17c5a59d8951c15a6b5205cce9bd3ce218e3420458470b2b66591

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2f03b60e8bfd8d62021fc36df1f65a0718b0a7fe7b5ccf6593d3fcd4d752162f
MD5 19d7464e1eebd57d9ce3fa16093e74ff
BLAKE2b-256 6f3fbc1d5b4738d22f785bf1ede24a6f6026e817d4fcb07f1424a0439037baef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1cb3eba263751b38a5fd68ae7316565352b439157efb283f7c1cb29eb4f2a0b7
MD5 4a02befcbc889f55011d2611a3cc21a0
BLAKE2b-256 052359441db573e3f8b5b17d3e1fd7620954083e152f7c093a26ef39ff9ab920

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9a77f5b56629782a4e10e2f3bdb8ef0fe0e9698b8f91af9ae2f66f1bb55f1ce9
MD5 5dd2e4aed89e44ae1f5bbf6910a0253a
BLAKE2b-256 3d9d4cbe98a0b2f1010468bcc31cb2f8525a56788f28b8352514c99fa4023b16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 49e76cd628c603f13326b16cca91215b3ed676ad54f3e9ec24ca3e91cc98c171
MD5 cb95d6705a9701a9b1ceef3572f5d13d
BLAKE2b-256 2950444346988cb1d3aba2038bed6f860dd200fb9d20cdece8e57aa5ca87754c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2b2e17aa459e8a34f7c5d01818c93e64479245651fbdc4b6aed7444c76609d74
MD5 7f9e354cdc1893c1a76ed6abacf54944
BLAKE2b-256 d374a256f5bbb2f49c5e443caf87503e20e8aec35f2ba68d36886b6dacb89163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.22-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 80c1fff246e2a183cd8dadf83c25aad4001dac67a2070647fe24cc60ce23f895
MD5 149d70a90c2f59cf653f18115399b268
BLAKE2b-256 1b898d2170b1a076b005cc38067211266300e6e29cfd0615ae0fa9891d4002c4

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