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.9.1.tar.gz (484.2 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.9.1-cp313-cp313-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9.1-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9.1-cp313-cp313-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9.1-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9.1-cp312-cp312-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9.1-cp312-cp312-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9.1-cp311-cp311-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9.1-cp311-cp311-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9.1-cp311-cp311-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9.1-cp310-cp310-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9.1-cp310-cp310-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9.1-cp310-cp310-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9.1-cp39-cp39-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9.1-cp39-cp39-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9.1-cp39-cp39-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.9.1.tar.gz
  • Upload date:
  • Size: 484.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for pygridgain_dbapi-9.1.9.1.tar.gz
Algorithm Hash digest
SHA256 5055b3a83c722b89da2150fa77174234b75bf67089366e8461a153294353029d
MD5 4de182694dca4824e43199710695e9ae
BLAKE2b-256 34d9f5d64404be10f2232ac53f2182eab6d91a5271fb706482ba4a28483a8d48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 34386cf15fb99f3029389d7800495d18bcb3d555a77946d1cfdab537ae589ca8
MD5 c5222668a19b44eb183ce6d4a07c8efc
BLAKE2b-256 edb7fd7ab68d915f56d08e60d701bad9b0121713616150a631933249ceb0b278

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f503ba17bbad50b6a4a6240a43ee81c3668affe48b0684c41cdb277213dfdc6
MD5 92e5b2ecce602359e45010b186fe2686
BLAKE2b-256 fba5afe90227bdfb7942c2419c14c265de90f6a25e109538c835e951a72440bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 08cbc67bfed5da0d865f10a551f3919f84a59438b29786798c56592339059a66
MD5 31aa19b38a438ea9e382f1efdb678e6a
BLAKE2b-256 5b50d1fdf7708aadf071a8419676f79e2ef766b09d8ca108b1e772ce46bd7a75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2e231d24ad4b7dc657b587da58b5b4a32ba6875277a80ee1175bf9b09db48ec7
MD5 50913176c37cb4668f12e68b9fa4b058
BLAKE2b-256 e997b5a309f28186e31488aea390dda0069bf3f461b535f88ba84cd911778db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cd4f5153e14e6de906f9e27811eeaeb38d4ca0af37b963840ec8d3285cd65447
MD5 cf267182e48f113c94b2cd6c8aea047e
BLAKE2b-256 fe6bb9280035a506a55f8ba853a6446a16a3154ff004eb9957c55ededc6d8043

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fe733495d7340d972dea98d9448ffc76a90010d41ca34b0cfe66ec79663f409
MD5 3697fedd464054f572555c49de730b7f
BLAKE2b-256 06818d21d36e1c420e5238739dd7d774cd5c2391ff2abc3c179f02101f856b65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e498b197745401119a35afd8c34ff5c7652e4334b4bdd461c52237b9cf90112b
MD5 96c3d914128e38efd614133ce8c0cbe3
BLAKE2b-256 0acfbe789f03cb4ca6e4b6a76f70806929583871064575bfd80ef21443cba74b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 daa491b4c50cb597fc9142c0597a82b45c8c12af058f639f12f070a08ee3d577
MD5 67dfbe969f6271b82388d97387299f65
BLAKE2b-256 99b363b15d63a258513caadaaeb9216f2edfba52482aaf6f865c415e9442ffd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e88d22664694d4a568f11ab71077a4ba493676f0846311bb329c4d6ae0275e9b
MD5 5b98b3c3f16246a2e6bf263c562fe05f
BLAKE2b-256 34152ed46d3d5c462c366b1b74274cf127495654764612d8f36c8483c9b03af4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dc58ba88476529ca5e0c4c005bdc67d95aa20c724973693f8b82d129f520c4f4
MD5 a804fb6bd7f9c029dfb7fd9c1a03f517
BLAKE2b-256 96d4d5337e3824643c67204ea099ec1181aa130327082a4abe19b82bf8ed1310

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7ffb6da86c3396fac3e140bfe57149021af8cae20e62e1d8145bfb90d3d6b308
MD5 1785315ee86283ba21ff00ce611fd8c4
BLAKE2b-256 c9068de06a175884422dedb6fa8c8c32c6faa27b58f5bad2aa457a6ddefc9174

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 06298367bb3bbb84834092d442e21dde50f135fc61e8cb5123cc6b43319d4b52
MD5 2857752b90cdd273c31d83775a38bb92
BLAKE2b-256 2bf2a66c74e21c8d2cdd7723388eda8b51bb8f5005cbb4faeb1699e70f7174fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e667775a29c33cc00747ccc02594b7c37a01e015f540f209110c4203676907c8
MD5 7b4867f085f3be49f67f1129ada7974d
BLAKE2b-256 8fc80964c65c2ac4db965b80162ecd41cb2c1eaff569e444ec69ab11b738b191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 679b95a4d485398db13493b03f66019d01e1eddc77093ec99e58b05892424216
MD5 fb490a0e7d4436e83a808d5ad7dc4238
BLAKE2b-256 9e84108cca01812361daf65ae4181e2c4d6de06c00a3ebf6add5e16f9b0a0022

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 14e567faf5911e6ca3217934e1110d417e4b2e9b0b7ab22ef8f3a541b302526a
MD5 a5c7080b8bba91c8ac3e515a797b8ea7
BLAKE2b-256 9a4f88e9674f750ed5e7b81408cbc48c6d1fe04eb64a05357201c548bbf061bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 42b71165791b193506bd4e1cb287c80e1777b6beebd8578a90530a363d7ab053
MD5 b7f397ce9f6426db3961c72f91573963
BLAKE2b-256 72468f501d622fced1176f6e042cd60a888f2a778691d74d49808bd465a6be48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4a76af90afb6a0b6465c18353628c0ce80efd2b07c6f7b6d730e23313ae4a128
MD5 2da48cd8c623655b67f57e0fdaa78858
BLAKE2b-256 f41848df5b03ac67b62925966b35a7e9c57bd9ee832006c967ed80e3c681eca7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 188e9bb27cfa5b5f80bb920fb70d79e4fd0c09a5f2596f7f1a3b40ca09c4ac06
MD5 af891edd78ad821e090632cd69b7bdcd
BLAKE2b-256 429ad6a180a7fca274a11e9d06c4158835051e344d4bbe68c728a8a411c52926

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4ed762db7b4a6110759737b586b026a09e2158d079338bc7e218ce3ff471e06e
MD5 c58f682d3e3d3833f0c416c41fe84745
BLAKE2b-256 dd420e7b54a30a53cb1ffa4b2da7c1a45f858aa5b9f54363d51126f046a7317e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c38ff098d841dd9e755e37c05adb901a304f32ed966e0778a4d09ef2b428df70
MD5 1d164e3353d5855691c5c654f81f24bd
BLAKE2b-256 c74c78544cab279dca6aca9a9dd4544293bab7554a2bad661346cc71d01fe56f

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