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

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.10-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.10-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10-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.10-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.10-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.10-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10-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.10-cp311-cp311-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.10-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.10-cp311-cp311-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10-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.10-cp310-cp310-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.10-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.10-cp310-cp310-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10-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.10-cp39-cp39-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.10-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.10.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.10.tar.gz
  • Upload date:
  • Size: 484.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.10.tar.gz
Algorithm Hash digest
SHA256 17a65f5019f55dfece8d17650f88bcb0f9dbc0abb27d0210ec560082c38577a8
MD5 cbc417957a2af1b747d4c54b95ae403d
BLAKE2b-256 231e7b3b62feb21611735185a4dfb1474a79281995199a05e4283a3fe02410da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c32dcc2f41c28177a100c314777aed8b7a4837b0878096e647d486186d705fc7
MD5 a51112f0d8a3d297cc7e97f6e04a2c99
BLAKE2b-256 6b031b6ada58b920fa28939a08a1bd9782fcf1c0dca47b5fd80a7f663227e2d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b5354a42b5b606fd6ad75e4fc81ffc47617f64daf65b767e195671f4c2759d5e
MD5 961e0ff4aa7770be2b5c6201a4a73878
BLAKE2b-256 955242148f15c52feb8ca272f33a36cfc23471bd17b0971496d7442c0dded0fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 32781e96138c5323a3ae1fa1c1a83af6f64c7e6d35784966814064aca6916162
MD5 fe4d4527ddefb801cf6090fd79c4159e
BLAKE2b-256 39354e21b50544752c58c4e5bba29db1fff8ffcaa37470f2d9411bdcb0b2bd8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1b8a522c172539b1e492273914b5b05e64bea050ffa9d11585f2b623eeb236f0
MD5 e7c29e88e2eabfa73e6496e9a27bf210
BLAKE2b-256 a0a3aa5e6c1a090eec2ffb2d068c552dbe539ad4086eca1929f723893469de23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d02b45dfb5faedc3b7bb7fd7ce02034d62a2df5ecd11152c854d70115e107358
MD5 931ad3d73e0454d40c690cf548bcee95
BLAKE2b-256 f723c472ab5e8c3654da975f84bb28823dcf094cc16ef425c2cc9756635c3b4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 087138e043ff9743c1b3e3aea71d80cbb6a57423d22456f535eaaafbfaad1ecd
MD5 f52b3b182c6b9ce45883821aeb8ec51c
BLAKE2b-256 cfc8415aa7dd4d71f34f161e1f3473f513c33ec38b8b45b4b4b3433c1c8b1122

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c31da525ecb4c34451a092ce157cbda39d146b32d45294ae108052e3a7c24679
MD5 1dce9d9780cda0550480c88bb5366fb7
BLAKE2b-256 d67a957d702006782c03a299a9778324aa1deaa9c00517e0934de0036a69c4e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 be5d52678934b6446b54682653de8fab0f5a4783edeca59b1f8ac31b66b12fd1
MD5 9f262174ee71922cc64f7dea430245c0
BLAKE2b-256 236461d5e70ca70091c30b928b30199b90c332adbf3fd2e678fd60cfaf92ab38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 08eca525e501eca61d67bf5a31f6898e6073be07380a3b3b95a7ebce2eddd42e
MD5 033cd9913c8fd6c22ca5600cc1c20750
BLAKE2b-256 d433fe71dd51286c05c9782fc25db86e7707d1335a8963ba1b4135d4157367aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fb1e7e470143951b06be311e81a998acfabd8a558b9e2777a1ff2018c17e3e0
MD5 03b8e1e74bb9d42734b84c7d74be3d2f
BLAKE2b-256 ab612ffc4364c825c3b1187a73be4367453ddb131175aff1ee695c2e237deb93

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e30ea0515b3bb61abc96877daf0b960b233fe156c86a941ee4f568ed6d0466f3
MD5 267fd9a2cabde18901be4a6bee5e03cf
BLAKE2b-256 c12f729f77d104fa3be9ce92d47e7fbc7e68204c7456267a7a09c3928d063e8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 326f97d0e1ef338ab8228887a982377ef9fab1346f31577ba5224c0441884908
MD5 0e3497786158fc7d5e8dcc2d446406c0
BLAKE2b-256 fa4fa03f195e06ad4658ec306b8428a048b576a7f8af698925b70d1cdc98d386

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6fb7fbd9f90714f125415abc8821a152b24117244483d193cbf17a1e81e25b45
MD5 3c2d76362858f611913d7dee7d24d7d2
BLAKE2b-256 bd0a2cffb45c5721bcaefbcbf5f4c1d346277318863a9d5dadeee2e85d2681a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d81c7b0f89b953e20c743edfc7c44b81e8555f07a40e2d60201b963ef63f34e
MD5 0684a759ba2ebcb8ea00db14f65f5460
BLAKE2b-256 9209014e2ef5b7c8ec94b6568de43694ff52e9f914acfa0b2a2a69895f3ebc7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 493f0acb0657b7f9f77a56eb90017a7ae86009abda16cbc780bd919b3ba66db9
MD5 d26c2b4d89f2097ec085675fb211837a
BLAKE2b-256 a829034a96ac3bfa40ed2b09e1785cab765ca79f89d8f691520d307c37756cf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ef9ea9851611f1fbaa19c1ef16d54b895a1f112b00f2ef29a1c4f82c71db772
MD5 bb9e4499a3d7a3c1170d65f6fa974034
BLAKE2b-256 aff46d0ad536dd7d4e798c819f99344ddf56e4cf91a52863b946bf2d75a0329b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5dd440abbceaa668ed01fda01d93a6d7876082853cc4527ee8a5af8778b8e736
MD5 f13bfeeb7c9e05c148b22777fd593602
BLAKE2b-256 522e2bdeda03f593334680d3ee97003e982c2f7481dc838bac72654a7e9ca9da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08817e9afb549baf29e7f4631135227fd81e8712a49603e92c5f8cb077f96485
MD5 a4a1047b0bfaa6b4d73a732c0872b0e7
BLAKE2b-256 a6e6a3de9c90c3ba104ea2eac813e08e99c2987eeb43967c4e4ff96b39129cc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bbe089de95a2ae39d9ea68440992c26f3e1039ee70f2954fccf8a8c88189ec08
MD5 68b1792a58504d0620829a69dea1c90d
BLAKE2b-256 b731fddb7e62bf0cfa72dacd9a882a242659e87d96888f29d26341f3802d2c8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.10-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ddca02ccaf2b2c427b048b98d701f765f45fa7dbd1dca72d9cdfeb364991182a
MD5 396a6f2f9a800a1e08474799a812fd78
BLAKE2b-256 d1a479b8f00b2c238152280e8b6a96eb22c94186da57d828c2d7f94b96521202

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