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.6.tar.gz (483.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.1.6-cp313-cp313-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.6-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.6-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.6-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.6-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.6-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.6-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.6-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.6-cp311-cp311-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.6-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.6-cp311-cp311-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.6-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.6-cp310-cp310-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.6-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.6-cp310-cp310-macosx_14_0_arm64.whl (226.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.6-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.6-cp39-cp39-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.6-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.6.tar.gz.

File metadata

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

File hashes

Hashes for pygridgain_dbapi-9.1.6.tar.gz
Algorithm Hash digest
SHA256 9501053423b2883d807fa9ffd70d0f3cdcf18684751b46af78edad1f4b1b22ae
MD5 6129d50827e969fd5dd636e98496dcae
BLAKE2b-256 1e07d6f88409d07e1b3592b7a448065f262be800829e85fe89783a57ea4cd485

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8248ec6f2e08fcc0a0da472d4248e1319482f79c29b4229c34f83f2292608d3e
MD5 36acd88250fc2b0f05a2e1570700f59d
BLAKE2b-256 bc84a42cbc90fbac37eee660426e175ab74d7d2c0efa70fc40755b0ab1254a48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 429935011b7469ac5b60389c71818411c24fb742cd15effab6634bb86c1e2529
MD5 34c37d1e47a02401458c747f8312528c
BLAKE2b-256 ae032e2485530147d66152054ece1bbe9559a7a508d0fe25c24d58212435073e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b8f59edae8a2b2d4100de9762d52073ae05f60b31bce04d3c477f710f0308b7d
MD5 ae964f286e3a540cdce127bf427c4013
BLAKE2b-256 f8945b62abb5707e9c56ed7127b995ad62ac4d4ff3b9f1df9068350f082f3bfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 bb289a9d1b02065e72877b05d9534f02cf0a20944f81f9887939dab9f8c05e78
MD5 d5b0d3b9a91aa3e8fb418f1e724c2192
BLAKE2b-256 2138b375231d97bc82ff169a8e59a58cb3d11165355168dd1465b6f226395afd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f9fc5c71d58e5bbec51718010fb3b65dd006ee57810e85e9f1f46a3b2b19c64d
MD5 61e888cf203fa5ac7166d24db2c6e557
BLAKE2b-256 89e914c3a7dd05b2d250c5c38c52638636181cd89332e387704786a181df79d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae8f6f9b8ae1ed71d68cb37b79e4eb75e0ef6292e0bc82f94c803e054fb0202e
MD5 cb33cff1020d3a6f77e4d30c68c99f8a
BLAKE2b-256 8f492e0536b78f2d0c922ed54b0aa97690cd86e9dc749a18265bfe5190a0e719

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dddeba64805e9dec170e144bc70ec546c14ffc9da6027cfaed3d656ec6b34f80
MD5 07fa637cf55afde09a53997a3c80466b
BLAKE2b-256 191785985f280ad570290cb3a607185f64963ed9ca2e43d84280665eec7524c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2319ec6e329bee15ecf91371478428f96ddeacbef9586a6f0c3493811b3807c0
MD5 9c6e7d06d62673009292b343a5649272
BLAKE2b-256 cc972cf69a734b18ca5752b488ebc9d1c56cd490c013ac0fb155856c0dcb85b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a5ccc350f1ee8f511f3184950dd782707a3bb71cce1bf1841cd0f76a41da81d9
MD5 c9d2ec8c3714c39786193160239b73f9
BLAKE2b-256 85243aa75994f9670ec40997fe86b8bc0b580620db7e0d3c4f8b378ae63955a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 37cb24b9bd597a6202bf21a0a2d972ef1fd2dd4b6966e2aa8b5eee395e8d41a0
MD5 cb83b0b2f1a9824a231919db9730fd7b
BLAKE2b-256 7b2235548e374b75fc6dd6d22ca54c8af7dd7aaa0f34df7018b38750d8b893bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bd50a986d7a98b8f4b84bbe386e5e0b4d9cc2f0542f202d55641bf27440bf208
MD5 a929f05f3cd6f98384765b910674ca2d
BLAKE2b-256 c40cea110879a6ac977777d04a28f5170de20ec049377e563669dcadfab0a41d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b1b36f078aa325904abf70a076d127b00d7fcc1d341ad12dd04865e9b4f33410
MD5 b670e2cb181391ddce34f0b07bd8ce16
BLAKE2b-256 a1426b87caddb78644eb058c70415df4cd4da2f20351b297844f13a8b882964e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3c73dae9acde89c1b24efe9453290583f1f5f3af139f128495a441f1d57313f0
MD5 8ee279aaa39241a6e5f269b77ece756c
BLAKE2b-256 70765298ac1d069b808eda1a104644873b13a3dbaf541c297401fe7cd82f2cfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c49f26802438e74474e7fbbf0cd7fc105c096ef7e33ee5023e37221d0126fe79
MD5 6be02be748d8dff58791bfe772d3af0f
BLAKE2b-256 470d9af2c185edd94625ced934d2e0466c929b88dc34c362914b1acfc924fdd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c335dce8b66e9959807a9d278dbb9ee9fcf9ede3f26f00629af04e0cdec1f975
MD5 73b84cc7a1d4b7bd79459072350fb323
BLAKE2b-256 4fd5eeaaa05d8bfb542111e119edb5dbcedf51da62e987a55c668d3573f10f6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2d6c1a130cb301b1f8eb057f4978e212da4d0f1939e50e66b08260b4e1b58ebd
MD5 2c5a41f440def5d73f84edf8313dc664
BLAKE2b-256 0779dee147d4759b3c7b6f690001c658769f2e1fa2ac03f8a5dd7650042fda52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 3dd7bfd86bcf43cbc1888f53dc25c06fb991e83b5f63dde2ad784d58cd06dcd7
MD5 796d8cb08ad12577224baf25e5621509
BLAKE2b-256 4768c4e04a9a42773e3f7c87911a3c13a4de294bdaeaddff008be3393f4588ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b75a349cc029347d9951b0643e0975fa2de827f3e288b413ccb597ff9d7a52d
MD5 bf5946f81a66a79e36fce4c5ba68588d
BLAKE2b-256 ee80a1a55d30e33fd1ce7211a58e4f76331a480e90cc4bcea5855a24f7d2177e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3bebbad5c7980588a2f5fed3c1b708ef2cba2349d2a50a8024710f373fac83f3
MD5 ea73f99be25b695e5ee957041c9e48ef
BLAKE2b-256 2a72ddb1efeac3584400aa220db62d0ca32f721157042931702f5b2085a1d0d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.6-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 23243dadb2504d4b040377184a4192d5f8e40d49fad548967abc08d80ba374a8
MD5 2f4e38710488707efd98a397535ed2ad
BLAKE2b-256 b8dfd4a83db9856970148ec3e55d6d28fb6476bbe0bcd1b68d1b0e5c7b51e544

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