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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.2-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.2-cp312-cp312-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.2-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.2-cp311-cp311-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.2-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.2-cp310-cp310-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.2-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.2-cp39-cp39-win_amd64.whl (329.4 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.2-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.2-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.2-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.2.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.1.2.tar.gz
  • Upload date:
  • Size: 448.9 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.2.tar.gz
Algorithm Hash digest
SHA256 4b04f60541a8c497f23208c6d9a034c02f3605f6f74e3ab134f72f6d7c333f3f
MD5 214ad619c18e6adad4a19968487225a6
BLAKE2b-256 bb7cfbf127d282c5e931c43924873379ed5d295cc85830e2ccb3e856cb093602

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 77fac1775d54557b3962ceecc21ada4c5cd9fa311d792aa4b8d7e52751a6ee08
MD5 f502c7584254378447d548a090253729
BLAKE2b-256 360a5ea7da36aaf718bad580047d8b0b2632a97ef7218709da03ed592759d4a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 280273038a4379f50e9525169bddd4fba20474aa1a0fece05f52db08a579f287
MD5 0d67b395aff5e4db057759560b3fc8ef
BLAKE2b-256 2d6462084bbd1be5a1e462f5e515d48f7287ec4e3b7a495b4591f9c7c3cd9e64

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c8cc39fa1c63647bb3522810a9c88cb6228575f5ede5b57d51edf3cecc21da8d
MD5 7fe2baa2c6421444bc2b079d1f39eaf2
BLAKE2b-256 12ca1042fd019af7a63bdf4fbbd6dc66f5bb82be932cc52fc82023c2bd0b9aeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 9a009b7b7836952d53e174fc783b981b1af4754963747e4fdc4543dd7dbe4e79
MD5 a3f198d417c7cc4efd002dc17ec2cc6d
BLAKE2b-256 bf5c4c00af7ac091c56ad222e4db33e705c64d1b38872e1092fdaf9152383e48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 91b87a4748a96ec85bee0ab6d233d639e4692ab4f738d35b87c7e87a3e03e0b2
MD5 74a3559e17033172e6c4ecf0de84fb09
BLAKE2b-256 64a0c0547df0bc62d8f4298bb9455f0e74cc581bfd5fea320b5cc4ff0402d9da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb744a3960bb2d809d553ac84a4dac413961fa433195a56b793bb9dd9f30538c
MD5 c5d5e960f13610bf72bce2aa6f0ed6d2
BLAKE2b-256 b223f2528920aa74da9ae956405737d1ed33b3033fe77ff42b48f6e96e00026e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1c5a877642934c895d2ec8045ef39c3ddd651fbce053a841a07a45a686f348a3
MD5 2b952b2c3e07c3f0025e9ad0696c6d29
BLAKE2b-256 d53e6aa5785d671bc89409ac523616612766d34a8aeb3d2c7aecea84ad0487ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 45c9ec60e08b3950eac47a0ad586e0ae1389ec374776947b93488079a6f83479
MD5 f2748a33bbac4f45020cddb29bb6b896
BLAKE2b-256 52aad6e5260df8b8c68bbfefa322a4d50a16446bf1d8acc1cd4235892aaeacec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5d232ef31945edd960b425b814d5e23cde10f2e2208d5dfad4312bd580ea7812
MD5 01e0e605632d1d1f88be09a5c822ac8d
BLAKE2b-256 5de638ef5f65cdfa0f32a7793a66cb402a239b6488527af90951177ae324c7f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d28d5f95c85b917b426b8ad6b11253eadb994bda368d9868ca7a512b645ce949
MD5 b20b38ea0423c95206dcd1ad3622bfd0
BLAKE2b-256 376ab091ffbc9162e9d6a61ee9be3dc125ac037afa6d1f76b015a4ebe4971844

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fa829bcd74c1fda794d19c49071c6387893e495e538dc60eac4b6b1381583521
MD5 a13d81e49c156cfa1c294eaa2eb1f300
BLAKE2b-256 4a6722379f8a15b88430d036177bb290113d0fcd1cffdd373538d38fc382ebb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 26034d938ffd5a0a680a61651e5cf0b461698240a0d2a8fcd6add44b7b3cc62b
MD5 778182a22f38777b549e5e4565d2bdf3
BLAKE2b-256 0ba51c9afa2311592e526780deb34e2abd64a515bb98d1138efa84665cc0188b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 db9094aa3308e2dc9b9f6206a2c1042b9cce6690239785a93b3e3a12fa9bbae2
MD5 7f7190ea847b4cb3f8c668552ec5f17e
BLAKE2b-256 6434921dfe11aec76a74a5b4d7ba433b8b9d1f46dde4200dec0baf2d4b004428

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 61884ef1785c7afaec80ca9f4104e13c7ee98926cf4cdb697f6dd7b56f8ee7c7
MD5 b08a97fa2e810e0ad6ad7b503adeb130
BLAKE2b-256 cdc9e3c2fb56682b65a0c55115825074654c07df8816e67ae42e38a77bf18b84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dcbef8addd35ff6c820b4c6dff2b51d2b8720f3f41c5130bc3b6e907f43f637c
MD5 7cdd72db28b2ce35f505dde5e3c5b1c2
BLAKE2b-256 36528bc55e0908c1285989f7de23ff476e31e52746845054941f8e205c3872b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c0654a75e38fe5359df5d81e0df58df591414d36381adde768fc165d98a81e88
MD5 da13649849771ff311bc46e2d6fbd818
BLAKE2b-256 cdd901cee73c387acfc0696d0c3671888138c0aa42efe349ff632d5161413f7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 83cc8fc25f4c4955204825a8beaf9bbecc26e260605beb4f886fafb3e0857a88
MD5 81cc5927bac36b9c3378b471171d8b0d
BLAKE2b-256 3181bb76e91d727613f1f9c0a3cbfa50cf9bedd6753d35590c697ece34b2f88c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3131d45c12076eedea67e512c7fdd3704d143f235bd572bfa2377d0bd50011ad
MD5 763a5141188edbf9108ac165ee78e071
BLAKE2b-256 92c6dd1ab2a3cb0c4bab1e9897de3c650cf14510f106f87f477addb4fb81b855

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9bb46d332c06c9dc2f52a952d0a754d341d5f59a59ea8038abb8010d880a30f2
MD5 44e6aad5ff6131b743f8c0952529f11e
BLAKE2b-256 e54669901b626b2bb3d3a1d6c811be06d56a47eed1d64a39c32e16a51b5145e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 77a5a3437886004e532897818900a73dd6c01316d90b32a05b0550af4111d2a0
MD5 0fce1059ec568334706b76f7fd55064e
BLAKE2b-256 eef681ec06318d5a697b73fc1afe824d0fd2bc2bf9d755d38b0c1e9819a264c1

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