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.1.3.tar.gz (451.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.3-cp313-cp313-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.3-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.1.3-cp313-cp313-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.3-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.3-cp312-cp312-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.3-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.1.3-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.3-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.3-cp311-cp311-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.3-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.1.3-cp311-cp311-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.3-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.3-cp310-cp310-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.3-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.1.3-cp310-cp310-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.3-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.3-cp39-cp39-win_amd64.whl (329.4 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.3-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

pygridgain_dbapi-9.1.3-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.3-cp39-cp39-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file pygridgain-dbapi-9.1.3.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.1.3.tar.gz
  • Upload date:
  • Size: 451.7 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.3.tar.gz
Algorithm Hash digest
SHA256 c39257affa25b0bf943e782706a6467d3875d3d07664d4dd93e58f281d4ab23d
MD5 83b257658a9227dc5bc3191c28c452da
BLAKE2b-256 71cef5856b0d4981a5be3a54d2dffa50452245504c23aa90fe76ffc66b000ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 617d217257eb7966eab98c1fe21f20dcca9429a1a14afa7ba0504b18911d6aa6
MD5 c99352954c6a66cecd9fb90d3595d257
BLAKE2b-256 ea3b9a26fb6b4dafa08c9253cf6352a7492b03395082a31f775b7b76378a2810

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3acab33c6da4d1226a0eaeb978a9657d5a820c33fc21ee295e6af3d4cbe1845
MD5 67641204c9c5b3451db4af3596a33896
BLAKE2b-256 85665d598c7590ea5172a3335758723f68e4ecbf2c79cce602bd50354e484fc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4a77a157161719a3bda2bc4c4ae9ea67400d9af6ac808d9e0f64edf82a3592ac
MD5 5a5074bf9aedff84210f473b59c05291
BLAKE2b-256 41b7b98ef41c8d1bf4b8c2855db9350d1d384398c8e478dfd7f9e4643533c98f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a0123257e498d03df41c13a347a3300c112a82d3480925197c2d145dcce226b3
MD5 9eff2bc52fb4bde6a5ca1607d09da646
BLAKE2b-256 0f159a2ceff4bde2c4433ff13940fc101e5f0b7883e7cad32d611f2b42487322

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 a45561cb9145e5b55f2f0278d1c11807fbb3ca2a939a727e0db7dbf851033446
MD5 44b7845fc10601aea142cac4351e6f3a
BLAKE2b-256 8386e8cec2cfc1f60083314a23b076f3c04fb599176312e5503227b17faaadce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d1013fd5117a54f3f30068e9d8eebc5a4aefeefa30155c89ca2ae7bcf0bb9a29
MD5 c727911b1050b40bb54120fdbbe2abf7
BLAKE2b-256 1999370d73a5cc372d0581f1762e1b02d737dec05cebdda735704eecf45aa864

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 63740219c0579c06df8a132ca478cbdcfb312a9ad155ae03ea732f4adcc08ae3
MD5 a9c3895be97c8e9a78d8d7a4b1c5628d
BLAKE2b-256 de360802665f8d7cf0613a0e6b71c7208db761d6d3a589ad7d70d7f7a01f3968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a0cf3fd89f463da78c8474c0191ba47b757a2234b7700c16e9d681b983fd514f
MD5 4233785dda72fbd1ca3ef4ae11e21db4
BLAKE2b-256 18b149980c9c4cc7eab1ded79c96fb72fd032ad903991f3a062b89e2a241fd57

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2b309a59324450c865bffdb7c324171636f1e4cbffa26c7d814fbbd702227764
MD5 526061922bea7284f23f0018ce99e2a3
BLAKE2b-256 56d41214fe84ae12240dcc290d0f3d54654126ff0d3a16f9db8c6fff4e9aa57b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 495d21b67b935d1ea0ff5307b2e8ef6dad49e5a26e794fbeab6a804c4c9ef135
MD5 012381db9564ab2eb5f8accd2eb28d17
BLAKE2b-256 e998bf6b011dbbd4f98b9808fb5f0d2dfc6ad2cd7c1ee9da5621b84cb663e1c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6753204b1035aa3336c4e28275806e241b5c7f7e284f4353cb2af55a732ccc89
MD5 e7622c5684099de5bd1681b5222d90a6
BLAKE2b-256 91e10e94b9930032a7d68606d397364b26b336a1715951f27593747bc522b9dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23f7ee32d96cc945adb1640ab9e44fff1dc8b790fcd016eb4b9424b89ec66792
MD5 04c9227219074758b19263150476b256
BLAKE2b-256 f393b62cbdb2ad8f09ed66b24b40dcc9a89d7badb48d25c42888b1375857186f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9efe5a3620c036da828f5eb20d992252385808a73841e8aff4e1caa3055083d5
MD5 eccd806eaea97285db134145c0bc24e4
BLAKE2b-256 dbaa0520fd7e50570ec12018273f5ff08a047c9e49f596bab1311c34d007ae3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cfd1eb876183fd3b79940d8f93f2771dcf4f071967344c6a05270660bf184e4f
MD5 d60396ee784948a3a0522ac40c420990
BLAKE2b-256 a184813f3eff424875edbe1ce96e689829baaca3301a3b98caeaec68ea939a10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bbceab587ab40de02298a2867d76baab6261161a4ce4e956479135e0df957800
MD5 5051295572e3d658e2f22c2de426b3ea
BLAKE2b-256 4533f0a3018cfd0f5d12d88be51821b9dd75a5610e24a6fc4304e7ffd8119297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 09107f039d705a228b09555550bdbc13284996c6a1d7c1a24f7322a8425bf28d
MD5 c638e2b0dccabdc8754d3cf71ed326bb
BLAKE2b-256 c629bc5d329ca2ce9aaa3ca417f927368e579eb260fe15c336fc1877e1c6c977

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 67b53146bd50e9ebecfb31ebac7d9b04b03bb2129361fe0d044d2614e491eab8
MD5 48493d37b6f0a759c133fc3748c494d8
BLAKE2b-256 2a11d6a3722baf78d68f55a0375c56a1a6bc4c643a3be1e122140f7b2dd70ee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7061f60694eb78a048f3a11688c693d9783ce814d2441bb8806cea401dd2cb29
MD5 fe356b9eb88472d28370e30347f338fa
BLAKE2b-256 fd35958113c8aa001f70206c6eccfa7db57bfab427712130761451fe708bb6df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2a637f3208846cf8cab73a07bb715e0515baefb60a76996747d5743d3e163e6b
MD5 4487cf8a5eb27cbbc992ec30139c6ad2
BLAKE2b-256 d90f6a3156701b9390f4c4b927f619d49ce2902d78e17a4aa64f3484763391ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.3-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0ea042fdd5737dce2bf18dbab6004dcb658e211a966f665443661a77d43eb0ab
MD5 d08ffc015f074a405aaf3657b586f257
BLAKE2b-256 310b979184e891b334539ffd027013c6b5f0698bf5f01dadaf1db8dd483656c1

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