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.16.tar.gz (498.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.16-cp313-cp313-win_amd64.whl (195.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.16-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.16-cp313-cp313-macosx_15_0_x86_64.whl (228.5 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.16-cp312-cp312-win_amd64.whl (195.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.16-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.16-cp312-cp312-macosx_15_0_x86_64.whl (228.5 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.16-cp311-cp311-win_amd64.whl (195.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.16-cp311-cp311-macosx_15_0_x86_64.whl (228.3 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.16-cp310-cp310-win_amd64.whl (195.0 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.16-cp310-cp310-macosx_15_0_x86_64.whl (228.3 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.16-cp39-cp39-win_amd64.whl (195.1 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.16-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.16-cp39-cp39-macosx_15_0_x86_64.whl (228.2 kB view details)

Uploaded CPython 3.9macOS 15.0+ x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.16.tar.gz
  • Upload date:
  • Size: 498.2 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.16.tar.gz
Algorithm Hash digest
SHA256 e7a32991b0acd6a0da8584a0701441c828b1f9fbc3b882fea103371c7832e6b2
MD5 13c1e7e9ebb7295a23f115b31d4d339c
BLAKE2b-256 9b04eb29367a49db3db4456c4f384e995c79ad63d60632fb068b29b89e52e300

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 83546471a15576c71006a7da459270a844a4792644d916f51ebf561f68b0fe4b
MD5 b505734f551c0d66e9083b0d48b4b46e
BLAKE2b-256 aae9826880bfdd71bd020221706ab119584586483ac853ec9e7e798725655482

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 556589f12d960847b4b9161a17b2c53531d2309b2861fae90889ea5ca1f8197a
MD5 cdbad29fd68f2b15cfcdbda5d02e8dfd
BLAKE2b-256 f01eeb621805addcdcae07d67dd980a6cd2487c44c8c1a2eb4316e8458659a25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3d0b4c5a5b0e3246122cc36e20321d5966fbaab48bd4190e2509ac6884f2c043
MD5 e6332463bab3abdfa47478bf2b500514
BLAKE2b-256 5a728d7e4b73ffd3b8277afdb27642a063c1063b9bc9eac7486b88c6d4845411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1c89a44f6b87cab3cc1df8494db9b989e27ee9771bd505bb8e94eb1b143f5637
MD5 e1f2a9a9df31768659500a842cd8a92f
BLAKE2b-256 736ff4c8d40581252cdd0a1232a4658f9cee1afbef5bb8fae4b14b415f986182

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 33c3d60c5197d59bab1614f0d45d2e76e2f1349f75ad8bf5e48b84e14fb781cb
MD5 cf95fe1b405d44831338521e28b7bef0
BLAKE2b-256 2231091c65f7a92be1fce62ea35547d723e72ebfda76f30491e1d72f9c48a416

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52cf25da2692b91f90c2232e4597704e5668a067779f3da194b14408b5a6a5d6
MD5 1ac8cffeb4918484cb789b0ec9d561aa
BLAKE2b-256 2a1e008e54aacf608821bbc99ac1a4912c39537814b9692b9450675ba492bb30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 16542588134cacac359ce33492c080159db28d29501d5ae7d97d7a914d0edd77
MD5 14844d91ded2f83fd4bc09ba0f997190
BLAKE2b-256 6f1708f9651f4b680965eecd793c63ac2799761e9eeda399bd1e1878f1209b8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 47ffb019c06b6499eaae96fa03f24ee3c18c391147ba9988c6c2843c0014d37a
MD5 81127ab61a8c118aa93849106387a57c
BLAKE2b-256 440458d29285399c9b3363011d15d596abf11ca5b86d34e899074567dc94e088

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e024aad0f79143316e3cfbbcee2dc4e0315ad31826c5db959931e6b0e873d86e
MD5 d08917c3c35440ec462217ee05a7ef4e
BLAKE2b-256 57dad5e1193b9925c81a4604231763dd56acf14ebcfe54310fea4f008eb2037d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2f092070da8d501ba8942b6d7bd10817964e8099837614acfa1ebb4121f83835
MD5 3ffe9599b15e1bb2ca69ba8b4b6a1114
BLAKE2b-256 a2360596fd8c7308d5511139ce3fe03809f8ccae539291ba9ff7110101b758ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 937bf4c2d0fcaf4697047ee85c3182882b72b7136e5a7fc1146fc0be227dbd1e
MD5 d0eaaa58da40cb45cf952f83ce303158
BLAKE2b-256 0af1ce0e8f3b17bd5b6eb704b9150530ac4783608553333a5649bf5543d91cdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e882435dbeb9c20d73c68de2d8a197fc79896b8a815da08959fef38b78761a47
MD5 9cecc91bf66d9ce43b19419d6c6b7de1
BLAKE2b-256 88276d07995b45b30ba61cd287b759ce301b9b352056e2b4440080c6fde43314

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 febf97879635cb5efbbedbdf3e2a6ceb00c06443eac2b155de616e2f5a57615b
MD5 73c9307fb165ae9b77210c60f73397b3
BLAKE2b-256 bb9b52c42e86dfddc4d5dab56c861c10f2dfc549b98934d5c66636300aaecb1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82e13e0c262ae2b330eb19a49cd6e691ac63b366a5f04d335aa3c19ef4501e5d
MD5 9c3d47edd9517c4232f92748ecb8c8e7
BLAKE2b-256 d4505a9aa24c8c6c72b0638c5553680edab67c99d8f66d96c1fae1363142592a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 108415c60d38f540cea273da7db3e50423ee84f99f442397206fb39abe4ef971
MD5 6a6beb19ce5f0bcf81d7080ea075995d
BLAKE2b-256 390db35bfa46158a8c62f6c12fc5790c402b52a45fa90ece7db923b1171ba133

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 030a3b4707bfd5b197de17e757702b893a9a07ad744cca9bf1cc6a37068eb4f9
MD5 e1f7876d59f870761b30579520b8b503
BLAKE2b-256 7bbe7d0a710f9a3ce6f6e2bd0bd7b0d428d076417f41bf2d65737a2ec8173b5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 845cb56e98a9acf13317dfc04749e55e0caf725d997f3437c53d0b46ce0f84cb
MD5 e23da889b02226e2012162e03bd88c50
BLAKE2b-256 042a3c74b53b530b8c4642e918825f01b2776f0515f2ff0941ecaefeb302c3bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 06c69c5b91cb48900b6c5ec6e4c9f83edd479b576e2efe41577ef0e65cd6d979
MD5 af3195438df3688a54cf12e460674f5e
BLAKE2b-256 c6d80891adc510e564d6d3e68f6bad2e52b064ed56811ff8d9ae5216da44e566

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.16-cp39-cp39-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp39-cp39-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 638cd7ef9ec53d5886f91e546b41c4aa62f17a1db39f797eaa17d5e4ef5e7dfd
MD5 df71c80000161d2dfe5404957af6f422
BLAKE2b-256 a60cd281771d73b3427357db1632315fda435e8e8697ccfe7fd083ac7e0dd029

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.16-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e2ca56a6e9580a96843463a7e46edfb5eedee985b8e2f8684eabcb9384b7b073
MD5 06379b9377d6964cc6ab0dff5fb915c5
BLAKE2b-256 e20c28ca44c1e5bdfc5309d0a4364ef75326cc9d4889e8dd102f2163b3d49c7f

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