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.13.tar.gz (489.7 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.13-cp313-cp313-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.13-cp313-cp313-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.13-cp313-cp313-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.13-cp312-cp312-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.13-cp312-cp312-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.13-cp312-cp312-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.13-cp311-cp311-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.13-cp311-cp311-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.13-cp311-cp311-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.13-cp310-cp310-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.13-cp310-cp310-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.13-cp310-cp310-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.13-cp39-cp39-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.13-cp39-cp39-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.13-cp39-cp39-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.13.tar.gz
  • Upload date:
  • Size: 489.7 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.13.tar.gz
Algorithm Hash digest
SHA256 83e364530c4de067a038411311e333ff38ccbe8b0def124580dd012e6e169e3b
MD5 983b62ea2210a748f91bf5cfea7d552a
BLAKE2b-256 889df5695f4a9c20525504933d4d24d0c5d99721e617aef7ff45d39986b1516f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 667a0fda58353faafd2226270240321a0fda9f805d8d1d4d5b892b2bf42fd5cb
MD5 22e6c60e0e2dd8b027561462de1f042a
BLAKE2b-256 4a6341dbf70a91767d8b887b0e76d6344e9a92fd30166f1be576063e629d0dc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79f368becea8af2a61cc5444ca0f727c3d9254cb89b7b2993e17a3eb42ecaf40
MD5 648d7140fc2e22195dbf1970e8728e91
BLAKE2b-256 c5e1319a1b0eb8bfe5d93476d425f89588efa7e55347ce1a8fe400835986243c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 34233e29432c2cf732ef8bb12b01115c7a6c256ba4f1105c5b7bb5b6161bef42
MD5 43fa7a96a2f0a7c4b3226d9c887963af
BLAKE2b-256 a5c1f8b20ce30c1e9cf5dd924fabd390c12997c6efd0c7d580f0d18ed1128e4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9aaa9dab4b2105f142a3246ff0ce9bb93a45f8f67066c128b2de1bf305125c9c
MD5 8b14aa83caca3227f58ac820dc77c90f
BLAKE2b-256 26703c91253c8ee374230c943b6b4c89567a9eef27cd7ecf2352f4d11b07873e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d7484ceab78b92cd09c8cfef2533d58b9700be19d05a3a8b081a31f1d65bbcf1
MD5 ca1a347afae4636be596444ccc302d20
BLAKE2b-256 09bba6eb4a3912f77ace976c30e6ae0eda1d817445f4ee79207d9ab778889178

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45609d31f76fb6acc614e18bf66e33f531f14d3a6057feb7aa06aaac382bd73f
MD5 dc751e0ca120cbbf4e4b45af70da7dc2
BLAKE2b-256 8a1ed584d6da27bb41a251673517524947a343a4a7dd7c8ab366a12ba1170b8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 32aa0f373c8200a6370ff1d310d1167fab31ad66a7da0773f9bd3b47ed057225
MD5 bdc43fde5f214642a81b6340876062af
BLAKE2b-256 cd8dc7c578ca0fcc8ad9808481107fe7b0909114021613ae25875909ea58c43e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eea81e668b4e51a5a152f4dc53fea59f4c119b1b03bf5d4786948b47262e6ecf
MD5 319359f5bbfb54f48181fae387a15645
BLAKE2b-256 64beb6b98fe517f5fc38fb86c62082565211d8a4fc6ee89cb092d770d4a0e72b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d6e28151fce085812d49c36567cdce056131bf7df41c69963be05c03d76c3457
MD5 10ed0779ce2cd271e9460ba3f302f2a1
BLAKE2b-256 197b2ad645d7346bba96a2ee8ff49492be0835d98cd0cb20c35382d4ee609898

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ffb4e71a52b40fdd62c555778397acaae7961798c419b0688a0d4638958ee2f
MD5 df9f27e478e3aeb07f2ce1cbbefdc770
BLAKE2b-256 93a67da962b436796c853622b18c90c0488c42c01078e3b70fcf4756d3c5d1ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5574925aea1584a67303ddf7ea60596c0480d78cfe24e60bfbce90744231e778
MD5 0bb04ab9252cf773b618e2fdf742596f
BLAKE2b-256 a85b487209074687429a803a7c124c53b72568af2594a6053d97dde3b3b68c50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1526c515d367036703d8f23a1fc54d4c9dd15fc1f1be70b79ebdb232b104777
MD5 eabd98329ef40428a78489d7afcc060a
BLAKE2b-256 31da61bde241878d5ab06ae1c1d25ae81575b07e617a2ee5d25345e6a0c05b71

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 da9b06de6c5cf3a1d30f56018edfd77ab5846c21402c66e74eb3113428bac166
MD5 2255796226926c1809dc0ebedb46cea2
BLAKE2b-256 e5283e9f7e83669c1598f3ed0ee8fc2e314bceae20a39b1b16c9e63ab2a6533d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 33f1cccc09aeaf7dc1d5244a0370c380e1370ea026f26654c4b048036bd110be
MD5 73c5093807fff129db86343010c2f3d2
BLAKE2b-256 f26d819da6fb790b93e43c019f51d13f31d2cbef78569cbef4cb9c0209efd887

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 033c476c45cbe98bcbfc2ec64dac78732aa4df714568b61954e36f1cbd0c49cd
MD5 9ddc70a858276e631d350c1e1151dc69
BLAKE2b-256 da09e356560099f16c742d05ba8befe95787d164ce77574e8f68cc5cdd154609

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d48fe99dc69f7c3d6a8c7ad3fb914cd60a5911849432fe75f45a8ed68711688d
MD5 4eccfbbd7aa6083ce21d61e91263937b
BLAKE2b-256 e4db2459a045a68f7209fd6db98dea124dc931a2aa6a6d0d5cff63154f075524

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7cbb021af176dd8299189bbf82b1ad0b991828bd8e26562554febc3401cf5d9a
MD5 6fd1d1e9deca687556b26f0de9ece8ad
BLAKE2b-256 97779761dde0133b3c1d5310cc0eb88e4db7f7ddb9520dabb16ce71c1ab2515f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 305843f105e592a73dce7d0de123d8853388177c60d8ece1405d2af6762cec9a
MD5 9ffe1e0b9fb9438c8087c1602e4394bd
BLAKE2b-256 2b58aaeeed9b83a5a3fc38982ac0ed995c23a62fecc3cf3c9bdfe760ad3ace74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ae0ff0f14b2e18362ff9228d5d76b47af6c9b5a50883b43a7df56a05a0ce59e5
MD5 8a3d696ff527d0f318b012590d367446
BLAKE2b-256 68cd8decfaa024b2798c0e6cffbc18fcb8d3e36aa0ab1192ff99290f7f3069dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.13-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7ddf15039d4666536f44b468b71558858f93b430ff5b2b214d0e8f00dea8de3d
MD5 d9bfe1d110e119eb7c6b7d5467dc62f9
BLAKE2b-256 b2fcf966b05c38e025412a284b2c328fae5a7e8d6bce3730a76cba65b792d31c

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