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.8.8443.tar.gz (484.1 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.8.8443-cp313-cp313-win_amd64.whl (193.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.8.8443-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (333.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8.8443-cp313-cp313-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8.8443-cp313-cp313-macosx_13_0_x86_64.whl (231.9 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.8.8443-cp312-cp312-win_amd64.whl (193.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.8.8443-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (333.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8.8443-cp312-cp312-macosx_13_0_x86_64.whl (231.9 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

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

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.8.8443-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8.8443-cp311-cp311-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8.8443-cp311-cp311-macosx_13_0_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

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

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.8.8443-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8.8443-cp310-cp310-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8.8443-cp310-cp310-macosx_13_0_x86_64.whl (231.6 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

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

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.8.8443-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.8.8443-cp39-cp39-macosx_14_0_arm64.whl (226.2 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8.8443-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.8.8443.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.8.8443.tar.gz
  • Upload date:
  • Size: 484.1 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.8.8443.tar.gz
Algorithm Hash digest
SHA256 bf55be852ea4ca14188a7e6c49ba76860968de611b5170c71a1cc617cdb81428
MD5 70e2ef5337b59b0cb4e0d904ff28eaee
BLAKE2b-256 70605faa38b2de30f963c63c6eead131904f4a407069ec432e4a0ec29e906911

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 09110f44daef232f7b9626773a9deb45f2787ac118ae2b874387faae115724e9
MD5 6455c681f4febdc6d4a98ffb6f7018ef
BLAKE2b-256 084763c97cddba4bfb5c7d3d13bdce5f4070b6339518212da7c0b52cd2d4028c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b191ad50143b2f4cc11b33be917f81f1a4d795c76a24303eb73508a28fc3534e
MD5 2ae8fe13be2176d635397157ed524386
BLAKE2b-256 9e8d8ebfda4b8c358dbaf10c5a6df5e5939a96e72dd26182201fee544c9e7f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8526ff842bb66694e8e401410eb0f9a1c7e50a9577ca0a2acf0bca7fbe8a9ad0
MD5 b63ff7559b0a3a298e19e49d07cca25f
BLAKE2b-256 df8a1a80daa606422108f7392ad3f7722239452feb4f28104296bd1a77ab93f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a0a0a0eef4a3602751667aa97bd819a3aacb5125488e9254479fffa9f1f566f2
MD5 6fd101b41f573933647a6b35d2f4c322
BLAKE2b-256 c37ba126a310d16031c9c36fb5ac1e2fbe290d5690b1813494f1b6b809ab3040

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2095ea00a33ed1837ff8cc1a177435b2c0dc181f2d45b8e368a89aa27d0d34d8
MD5 7e63782bf65d416e643b8375d2f45713
BLAKE2b-256 3deae1be12fba27257d28e0f68af226a5847dde7021afeed385a814ebea97893

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f3686e304d2601e27c6a24b7f6d3c8ac1f9b42524bb4f949bf41173256d79456
MD5 cdda18c254e37edaeea598c26e76cf8c
BLAKE2b-256 f6d1a5f27e8e22e31abdbb2e6275fe5a9a025226ba2042f2926c734e7a302fd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ea9b706a48587fd8295e3afc6be2895cf05e0b241efcbc646020849c7ba6c66d
MD5 ddfe1eceaae3b13ed7715f43d73ce88e
BLAKE2b-256 8e123e85c23c24a48c6e00f989928de4c71a701f4a53884b664bf2769a6e1408

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a288f056c3b5a1916a115f347431310591da6f7eb425ed04f52fbdad9fdf9527
MD5 886005f876f09c007b885848aef39052
BLAKE2b-256 60310979cd3aae54ac22212b2a4d926897ea14267d4a808f90e7d6a653247def

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 76efaafd0adb04463c36de88b3b1b69d061c8a579edf5fa6ef32187e30dbe388
MD5 ab70ffdec1f17eb2af67d7b9b6f0f4b7
BLAKE2b-256 432c3fbdff409b1b83a9650b2812354317ad4079b78931bdcfb6fe552b27fa4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50d91964274ec0e465ec14905843a819c327f06473e2741fb8002815f8784b66
MD5 02364eff18d265a2fd799c06b81b9370
BLAKE2b-256 57faab244b44a2d412e3f44ff2eb7d44239e954801f21ab6e87318cd139700d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d42f06ef72e9f773556b655957e9bd9e6dde92c400b8cbea5ffbb9a1b89fdd7d
MD5 39de507e237c2d33eff8fd570a6fcba8
BLAKE2b-256 a6aa38c08edcd0ea2878a2b1f964d4e845fea1d9734461a9fd16a8ec5fb00c3c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f8d1c7afe526a8811a585fba8edd2f4397ff0a87ca6509e7d8725452651fb814
MD5 0c9e8d7e0f8802d69e0ad9d7d593e4ba
BLAKE2b-256 105925dab5bc2762322ac27db99bda49ff0f8df72251516730f17b68d7010ef3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3661ccbb8926f1be0dd54aa6568258c05f3c6270c36990d661c006ebb81436da
MD5 c2ca0e00dc551fe9a1cd10fcb33f8c77
BLAKE2b-256 7445a14e5f78e6006894b24f9e2cc4c2b56857ea361b85ecca2a8dddc64db0fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65a2b2488644319fa62d2ad924706f72df4a954b99a92a32523929d9dffc0141
MD5 e57e9bbdabba3c6351011facf1de50bd
BLAKE2b-256 841917f61e451176f44fef830f9f90bd8286e29c08d53fccc3100737bcc11638

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 87634b1f7348ade57747dc528c0605c0124d25fb6ee0c4eecfa8afa56c7cba0d
MD5 d9f66c7eb029306e4b521fa6c9eedcd7
BLAKE2b-256 7cfba19b0d8e54f314b985a03ac588ab4bc10d95f094c95401928ba94b59da2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1d3f2e470cded8d6831b910ba772c0762c7674b861deb8db9c33c732cd880b3c
MD5 99bdd3cb2efb3577684a4adce974034d
BLAKE2b-256 ad1e3ca4add13d6d582c47866dc3e6956075f525e8c2a3137b58699dedb31b1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 16160422c304d0002a059096de1d4c2d012f5a4ec33ae8fa9c67f72828ef0dd7
MD5 df455b9042dd443eedc75fd98fda8e2f
BLAKE2b-256 acdda96fbc9c439e69e6a28948a18bcb17d750249c97e77e880a233e5affe09c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ead17fe4e41cec80b7c6301290c1d01e99a4316242e5e698300110806e29db3
MD5 598bdc09d96d31142ed1b82f07dc4d8d
BLAKE2b-256 52d6a44b68b1933302a73b6d964aaef7f0b004b44bca5dff91ebb9a681fc9b60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 93b800afdd238edf9d219845db97cd5e864d357fb1be5360fd4aa5529efa414c
MD5 d8557d52035208b5c91a580e9ed8380a
BLAKE2b-256 59afbec58dcf1212ce3b3640decb16858fa99359ca99926782ee7b979ef06ed7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8.8443-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 96464971013fdfd00b192a4a82a7c82853831793a0bf1f163a70ba42488b226f
MD5 f930e9744b795b99b7be614cb723c741
BLAKE2b-256 45c693cc05fab2c35b6722b46b27a042a8eff38c7c416838e3078014b621b1ec

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