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

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.0.16-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.16-cp312-cp312-win_amd64.whl (330.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.0.16-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.16-cp311-cp311-win_amd64.whl (329.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.0.16-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.16-cp310-cp310-win_amd64.whl (329.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.0.16-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.16-cp39-cp39-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.0.16-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.16.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.0.16.tar.gz
  • Upload date:
  • Size: 444.2 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.16.tar.gz
Algorithm Hash digest
SHA256 c8e8eb67605d252feced3d794efd4464e090e16da6eb2c162dcce5cf38ec1cdd
MD5 75fef025b5ef35ccacfe1b48e43ab529
BLAKE2b-256 572850e80770b767fb7c18477c29538b92735b4c730a52d67e7cee73a1f8ee0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 534daced192266510bac35f6915595174f8145e5495cf008f6d5c52e00cd9fb5
MD5 eb5e74bd4c4867baa8e60bce7cae3b98
BLAKE2b-256 ee9782e798348e184ca2c4feb169629e52851a29aeea0ce6522104def0cd2808

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e9b43cdaf07793cf650ecd83a747550079f716b7e55d5eb1144347e48c6b5bf
MD5 70ac8301aff7dc7578ea6f62b1130f9a
BLAKE2b-256 7dd3da5daca4954b58ca7b31a773b046f5667ad57f9599d050f54be7acb4d4d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7ef22d09be888c92a43f1ece30c7bbfbfad9bc27c6733f0ef24274378908e472
MD5 04be23c756ac0518a9a9fd99183350e8
BLAKE2b-256 cb7bf4406994afffec630ca6fd87fac2178bad51963d438d7029e5eb9c975e13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f0155057719a1105e7302ad128a4082d8450cab74396c04b952bc6e654064251
MD5 45ba7b157d5aa3691feed20b95721a8b
BLAKE2b-256 3398d1f0c2822966c69ad7fd9359ff75c23a8b902911b6ac9f51a5949e3b9ea9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bd3c98ad0b9e377233b4ebcaf27a9c291aba90bde3494afdb2d606112609f91b
MD5 b0e554725cf85a77215b42c7710db0c4
BLAKE2b-256 34c1fb2810097975aa7ce8a86210bdbfe305dfe51ba835a68b4f570bdbe9dcc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 582cdd0074488206b6681166f74b39da73ee474eb7a97ee429269a742dbf6992
MD5 046227fd21e05e2339bd6968c148fc41
BLAKE2b-256 4ee1a21ab982ca1c03bdd6455e2a18d9d94926e38c7335e44f563e8966e3180f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a30e992cc1c9a3bb1963e6b8381e99cceefad72108e9a7fa69c90b8db9795528
MD5 ea2dfd4b246e1dffb83c5a632867acb5
BLAKE2b-256 85ab50cd73cd3c38fea38b2b93cd9c2376b189fa77bf696b57b4042a8aaa8b1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e45d011146994bf0cba2742b30ce63ee524f8af13110d85ceea8662ee25b2a9
MD5 70f245d74b03272842bbd72f72908953
BLAKE2b-256 153e12792afe3888defc51a2bec964237d4015c7b29d78ae0074b9efa6a77a2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 7ba7d3565c6b56979ba20d6e269e361b850ab9602dc5cb70b16f9b3daeb68ca0
MD5 5a840e9aea8d3acecd094d84d6219e43
BLAKE2b-256 8057d7e824258c14b280c26551e7fa3822dcf8f1ec317448ab76f3181d7831f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.16-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6115593263e55e90dc9b201d5be341d8e9c142ae9742bc9249d69dfda59de518
MD5 a34d0bc88237cb2a6ed54d18c5960b3f
BLAKE2b-256 a2948a9bc2780647685c200f8e8b3934172dbf49594b64733f5aa81400efbdd5

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