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.21.tar.gz (532.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.21-cp314-cp314-win_amd64.whl (224.8 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.21-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.7 kB view details)

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

pygridgain_dbapi-9.1.21-cp314-cp314-macosx_15_0_x86_64.whl (256.9 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.21-cp314-cp314-macosx_14_0_arm64.whl (248.4 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.21-cp313-cp313-win_amd64.whl (218.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.21-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.7 kB view details)

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

pygridgain_dbapi-9.1.21-cp313-cp313-macosx_15_0_x86_64.whl (257.0 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.21-cp313-cp313-macosx_14_0_arm64.whl (248.4 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.21-cp312-cp312-win_amd64.whl (218.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.21-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.7 kB view details)

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

pygridgain_dbapi-9.1.21-cp312-cp312-macosx_15_0_x86_64.whl (257.0 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.21-cp312-cp312-macosx_14_0_arm64.whl (248.4 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.21-cp311-cp311-win_amd64.whl (218.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.21-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.7 kB view details)

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

pygridgain_dbapi-9.1.21-cp311-cp311-macosx_15_0_x86_64.whl (256.9 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.21-cp311-cp311-macosx_14_0_arm64.whl (248.4 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.21-cp310-cp310-win_amd64.whl (218.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.21-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.7 kB view details)

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

pygridgain_dbapi-9.1.21-cp310-cp310-macosx_15_0_x86_64.whl (256.9 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.21-cp310-cp310-macosx_14_0_arm64.whl (248.4 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.21.tar.gz
  • Upload date:
  • Size: 532.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.21.tar.gz
Algorithm Hash digest
SHA256 e5ca871e3771a51d84b7ca67c6602be6d5d6a2349e509a060f4776e146092a59
MD5 af4dd211d698cc65c7ab55127f401f1b
BLAKE2b-256 22288ad99e1c1bccf667a028cb2e46fa02321d9527256014e87f8800000a2ee7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f24f23202892587f904129c331249cb0b66143b718f8e5d6d3ed356ed6e889eb
MD5 3bb755463121e0a0f21b2aed900da854
BLAKE2b-256 829b30a4e480c41793e84c424f99bb047c1b66cd2e1b88f60598b6b25a7d7392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a4d90360e58116be9c52e3f642dfd41350d3a41324a8246cd9e4d8d25a5148e
MD5 b0b380974f5db4f967d1a086b0190f19
BLAKE2b-256 b10af6d135b2966283028845f5ae61dd765e5e2d47ed1579cd14b9e25d195b50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 ddd0ba2d8697d723232577cf7fa6db74ce87619b5dd63a5957b962fb9db483d4
MD5 f4f62de951cb6746c1909a88bbf7097d
BLAKE2b-256 aaf97d5da3870abf9e5c40e46c694f421607491b0a24540da5c3decc4ae3d001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 14d06f5989fcebe5b006686f98b09efc9d81631932e129b8b48cd8f65d4ec514
MD5 0d4b988227196032d791f1e2ba48cc61
BLAKE2b-256 6a0bcb997f4f0531a6428da60655df2ce9aac7f97e5835c314de5e6fef4f6c0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ba46e4c49ee0a1fb47757698ff2ca43684cca4e9a10a70c86ea294e88e189890
MD5 9e57d99eaa3d7900055e04ade9a2a2d8
BLAKE2b-256 dbb663850482c27819cabbcd0c1d9a88105e9f2a57bfcb7289a4f4fb8537cd0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e88131ee01903e2c3d99c65e6ca3d51eccc5d3a01c2ed59695f7854fc3d409f9
MD5 869c4b0e67f2403b1cb21c7872c26018
BLAKE2b-256 cc65b47c485547bce87489ade1db22fe18838150e808570fcfdbbe375cc77b60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 bfc8b957c4960fb0f2015ea94355241d8289fff1d8111b5659860a81c2e48cbf
MD5 bbf7fd7047da742bfd6d54f5fa9c9880
BLAKE2b-256 a4ff1e4cf97bcea959e22f06b0e46cbfff509d5cd27b4e93eecb93c8c3d03060

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b1cbb1fe0255452f320fa7512e11a22574d9cf9414e3428f957c519ebeec9599
MD5 5798b6619a7f8358d12d08bc26419c86
BLAKE2b-256 b5bc44587e15157c31ff31da07e5acf9d617cc725b708b3762b28691aadb770c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f66e0b9692a7e3e2018bcc60766b34416c4cb32d20501769ba0ce481c54c238c
MD5 b1b72877cbb99182b3bccae1921eef82
BLAKE2b-256 328d855da42dbb66f842a82f046846f59ef6d6cf9153579e89f3e2dc2fa23d3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7b0e8724b781294c960081d3b04447e088f7c8b4fe9f122e14aded280922a65a
MD5 f6f8d8760e3d67c1cbdcbc2529f292a8
BLAKE2b-256 7e509e597fb5d6f0453cf512d170c964ba89ac6aa8590847d8a5cdb3f90f7722

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f3961faf1a847d9402a7951ec8f499efd9b9a2cbacb01fd8784bb181901c7c07
MD5 09dabcf96677080ae109344fc7b7bbdf
BLAKE2b-256 5cb1f57f28bc7e9d657b56a4c2fc0643074125aa4c5a16916a64e8d66dd44176

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 870a677a81c9a18a4a18d160b6df8fac28f7a965287e02e82c0ba87320c38996
MD5 5be4caa17edc76de863d6b429f8c2d65
BLAKE2b-256 e7facbddacfb38d6ea4812199fd5d281020f238f2ad58b4c9fd5a01a372ddb6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b9ac63e2ca609d0fc8d580c27d53a82eaf5362208dad1e620af296ce238e8959
MD5 d99f873eb482cbe44c5df2a23161bdbe
BLAKE2b-256 f03c1087f8820693ea770100a42a946f2ed5866e742a7f311ce325debbcbec58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55eb98ec7e9fea2787e708605ada21b700334396058feeeafd957fa6d2be4a7c
MD5 171f10f14f12a8d0f66488a734275435
BLAKE2b-256 880f35a183e7d297167a9013434dce26f4917a482adfd8e1c0f3aa614755f878

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 f93940d24bc54f89e12b61427c6899cd61ee6b402cc63308b1c197684bd8159b
MD5 b15f97fd24d47d83d831fc4074251795
BLAKE2b-256 02c99200772678d193b17b34a73c9b014e10364d01628a06f3c156e2d6373a66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 711ac6f80ebff230c31dbad0dc05c1a73120aa77ad29aec114c363f92302fc23
MD5 17d4c7d63ba4850b13689439e12e9775
BLAKE2b-256 296d16a794a911ca30404a80e8c7c10ae1d53b070394b060cbf86177e0d78d51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5d0644039c6feea18987c172fccbe1c190b3113af194f38b04fa7d4918cc8639
MD5 f75665f85df843e4139749c29a141e45
BLAKE2b-256 c7ab08b1ed951778bfb4e89f7c1f253d637e05d2ca12c54434d53676a4f58cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a284118c738dec36ea446cd6aa55026eb340d8436cf03835dedb7de7f558ed8
MD5 5743d5bdb07b249c4b9e89723efc1d42
BLAKE2b-256 13fe12fa9cc42ad18e2ac82d119c053c4b2b2bbaf297acaac2dd0d87b5480cb5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 d7b5c21114759c2ced95f687fc2592e73958dcb165cff78af25112405c9a1ffc
MD5 f769014edbb033e413894be3a5f02aba
BLAKE2b-256 f1dbe6d95a81e150c15e011d57ff5fe934db28e078ce28371a61379ec46f1bd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.21-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 84f2d56097f3d3bbfe7345252a4d41f4d24d1b76e77cb8a1f134ecf32f2d4bb1
MD5 a44ec60f52b37a21bcb2b8e7baa36f1c
BLAKE2b-256 fac40e289c322d4af85f7bff076d9c61f6bb717b58d5b1a986419a3acd055588

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