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;
  • unixODBC (dev version of the package);
  • 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==3.0.0

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.0.14.tar.gz (444.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.0.14-cp313-cp313-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.0.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.14-cp312-cp312-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.0.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.14-cp311-cp311-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.14-cp310-cp310-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.14-cp39-cp39-win_amd64.whl (329.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.0.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pygridgain_dbapi-9.0.14.tar.gz
Algorithm Hash digest
SHA256 17b9fb9c045fc5283b04a462bd491e88c009759628a640dd2e6adf11c5a51482
MD5 631242645508f797c03da739caacfe81
BLAKE2b-256 0d5f6e422bc12ee0ffb888003d663334dd00309d5663c0f528b3b326c0f3ebef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 84aae237e9ed689feacd11d9605c1a2650da4faf6b3f85e3cb6848c7d98e04eb
MD5 622c6790ba1c13c2b49b97e206b50de9
BLAKE2b-256 8ed643ccdeecb382264853289cf68bd610f5aeaffe3145797f406482d4d301db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd4f5eb4f596971625d7b01f1e543a86b9d152316e7d14a1154feca7d73f4f6a
MD5 7e68b57c4c34796da3cf18d6f2102ded
BLAKE2b-256 9c93158803246e825a4cb22d92b64fd99574c054ecbf0f55291dfd3103ae9c5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cb686eae2a5757ee09802eca449cab77d780c11d80b061a0d9458709df17b5ae
MD5 5c07c995fd6e8563e00a540c6d147ada
BLAKE2b-256 d82bc53cff40dac7da734416de9ea4579f23f669707c56eddc40e56314e1503a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90458f0deea690246256f5592c098b18b1f3efa27200768a3cfe60a56b946f97
MD5 d5e631710efe1863e8e55b5d0574951d
BLAKE2b-256 486910a7999731f0cd8ca9c760dffcd0d41eac221df0bdb28443a3862d269a4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a94a777f99784320995a4ae7a0e13835511ce36c526528f7bf6db3e709f82687
MD5 dbfcac631ab14971663d2555a0ae6bf8
BLAKE2b-256 b829810879ebcc1574c8ee4989e85a26f86cc51fca1236b31b19c09a9a8d297a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 742f1c8c5cac5d25c6c065fecd156a3bb8457bb1b087fd701e06f2031f86ba08
MD5 6afcf1d42336c8e923fcb938b1a2c3ca
BLAKE2b-256 9c64c0257a37aeb90cbdfcf8fdc49e26754f281cf3a13fe6b87fe5e3feae2f77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 6b2b7a7d41a9795b53ee06b62dac74c6cae18f27e749a40184534d28c542bbde
MD5 26d1c78f20c565cf1dbeca16ecf5d355
BLAKE2b-256 a93a3f0d6abd43b935ba0400a1e149c9ff2352951a033d0397e8479f0dc9700b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e5089cb919947acda99e9ac3d033dd02ed77436afeef9c82e32bab647237928b
MD5 26095fc684f0691e07cfda03c851394e
BLAKE2b-256 f9bac95dddafc0950329018ab0d790c07690b3752fba29d03a13e9ef9ec5c7fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c8c003e3e1d924ff173c86bcaa5877048423de6ed49892d4a991c2fc87b5c40b
MD5 02aca31a37b9a220efb6253cd513192d
BLAKE2b-256 67b33f1e48825d020e3e202f742996ef111c7adeb9b8601196472fc60be76820

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d37f715ecc5de95aa7011571ab27c60fc848d07383e4711cd3e623643df5ccb3
MD5 1f8d7205d72f34ebfd00cd28fe951c67
BLAKE2b-256 c58ade75934ed34aa56d9d8a46d75d1d4f91db97aa6f9164f61be4ba0bfa83fc

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