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.5.tar.gz (476.5 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.5-cp313-cp313-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.5-cp313-cp313-macosx_13_0_x86_64.whl (231.7 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.5-cp312-cp312-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.5-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.5-cp312-cp312-macosx_13_0_x86_64.whl (231.7 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.5-cp311-cp311-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.5-cp311-cp311-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.5-cp311-cp311-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.5-cp310-cp310-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.5-cp310-cp310-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.5-cp310-cp310-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.5-cp39-cp39-win_amd64.whl (192.6 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.5-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.5-cp39-cp39-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.5-cp39-cp39-macosx_13_0_x86_64.whl (231.4 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pygridgain_dbapi-9.1.5.tar.gz
Algorithm Hash digest
SHA256 729645862d61fcfde66388670c59fa47f037466bc7e1f8972e72e9620dc4dc1a
MD5 f47ddfb6c6824ca48d163ce99e256a9d
BLAKE2b-256 d1842a987003d76cc1de33dbb66eae116464292c37bc789eecbc60c3c0c661c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 882814bdf370c3162e6ee0550d34c83b59cdf470140848952a429cfc9095b5f8
MD5 4801491604dddd13e7e44f8b4ac9d2cd
BLAKE2b-256 1da3806eb835c385102a4fbc223e161c7c00fec93c815d28f26b354c64242d3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 758410793069e38d58491cede6d188d021d15692ec21b40a3b5aed72f683b1a2
MD5 a4c8488abcc8ff8fff51e0247f675070
BLAKE2b-256 31155cde4a7b57655818e1f2b75d1860b1062090e064cf72355a9f44b3d3e01d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dbad0e6ebf55e3b4e4e00b358c8e97991de8d7e0d611c49d6d8cb10cfede8151
MD5 5ca55e334187ed834d488a3644be7d84
BLAKE2b-256 ff7e2599c3a1211338e74fc82e6a5147c1167424c85b40189a1aea704526107f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 715f24d384f0e71c550472e8d117a8203fbfd6c668a54a40d020957ce318d98a
MD5 5cd28980ade83ba9028767af1c524a4f
BLAKE2b-256 84d23e132d76f2b48fba03ecfcc38965b9862854fe0b8171ac19e726585bdaa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e3035541655c7b680b7f24c74ec4db05039d3e3dff98625bc66fc48ab29ab845
MD5 d5454e6f9ada1920df881f10bedc88af
BLAKE2b-256 60a15084ef3336c62fefa5a7a2254970adbc75d3ed89be1f9ff6471991c25b04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5541fd45ef2b52c9213fe7c024c206355cb41d76265de3e2160b83a736c96dd
MD5 736a2e5f43d919ef96759cd59942ea30
BLAKE2b-256 2eba4d8572242d916f22f2b182443d5ce8682221ac0c75dca4a424e6caaa47c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 71ef9daf3f7a9935b24a30440b7c63116d1140e7591dd4a13a04b4d1f873a7e4
MD5 0dd91542c405a3857c6c6bf35b183d89
BLAKE2b-256 604e7953d7b32d32a0b9c367befb8fbec0f71801122f37d8967a2f2fa4cc4690

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1f282af5392b68eaf06bb9a82d0ab219254eac8d0cded3bdd648b2fb60a605a9
MD5 e8a903f7e0a1babad1ac63130a422a66
BLAKE2b-256 0d9c2ec1a73f6547710fe29c93b1aa3b95b0e0530dfb4fb5bf85aa8674c6379e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ab3fe4c6ef9d0df19f12bd1d6a34704b6df3cf206ab5b11404284c2db7686cc9
MD5 8a48e2efd59080c97efdd4291545d6f8
BLAKE2b-256 902ecec9a37eca03de852587b0e29a7c63961f847db43d7394b363bfa97ae30d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6bd3796759933d882541f4b706e682c3ec2a56c353487d95acad8c6b7d8e84da
MD5 936f4c1767753f0d5f9fcd5c00ea47da
BLAKE2b-256 4ebd37ffd709267946dd0079e4672de56618685c1c02fafa607c760c69b93e4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7f506399b01dc121172475222d51e6b4c36b109217fb8afb2d1d36be1f64f9b4
MD5 94cbced1c6819e9c86af5c7043b3b296
BLAKE2b-256 e26b5659f96b5a328573089678a12e6534b0bfda740ee79a276d057dc56d32dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d702a1ed872c6bf0a29ce81c77f337c504e6c3e0d85bd6fbc1ccb1a3b048e454
MD5 39b877070131ef3dc19c757daffc3094
BLAKE2b-256 715340c9ad7012fa4f8d7230abcaaba7a9bf70c046cfdbad7a268eeb4b0528c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 72c6faa0dc67b64c563c98cc77df6e73f47036e731d926d40fa891f3ab1f2550
MD5 a99fcaaa2ea5ea5c9a75853840fa300c
BLAKE2b-256 f86857d5b7fa030dfad0bef62cc5cc91fb6ce04b410a4ffba9bbaf29779edd47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7700cb22cb8a498e392d934b4086f67df49c35ae15c63a5e40890f262e85ef54
MD5 1eaf1ad362ecce415ad8b2a00087252a
BLAKE2b-256 cdc4cd4a06bae8e1193c22b19d16d551779ed8cb303766e34bfc752482c68dc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 adb321237637140393e217b319c8959a3e7d99eeea6b781ddef771cde65ba1e3
MD5 47e92e85f43fbf909ccfd739d2f87e60
BLAKE2b-256 0786522f04cca12c895bc30c887f098c3e6f97a8d42e7e25cceb8b34f3d5b3a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 fba4fce00e3e2a7ba7d8143aa4b289a243612f0eb7ca2664755944193892ac8a
MD5 fe5b299a5f30e4240b7f786dc29e7abe
BLAKE2b-256 52099301ef759c7d3f6e413220c65356cc5ee70ff19a4a47092a69c9beffac41

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4df018a08207383e4aa1362fc7149bcfb440790fe233fbbfbc31aa9ba1f0dd63
MD5 ac8b664f0f10272827a7559743b43a3d
BLAKE2b-256 529833cb1be0406a981f79bbb26372c9d1191084af0cb74dc791fb5e68406383

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53acb310e60754576253749f593f4847c4268c464eb8c089b697701d2bfa9cdb
MD5 0cf2efe69003dffdccb8250c1610569b
BLAKE2b-256 4b442692d0b0d2d89765a56989c236bfe7f8d83ee8c6fca7460d1163b671ddce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a96c81d3e240e6bb4b7f8242bbd3786213c8f7263b90a5caa513bc02030c0f38
MD5 b506d8d17016a0bf8e8c489ee6c5d4f2
BLAKE2b-256 ceac1830c04bdc7047ebf79bc113b0eb0980caf9efaf12104b9cc5d95aed379f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.5-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f0e38787cf374e223a058773061ea8205a2b725ea8c4d47b5ab631f43b208619
MD5 e79734cfff0f564de336915833e41b68
BLAKE2b-256 a1ffb0c72646f5d0aaead26247776c8df4e7ff9a38ad04f6dc71a92d4cff3af5

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