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

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8-cp313-cp313-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.8-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8-cp312-cp312-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.8-cp311-cp311-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8-cp311-cp311-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8-cp311-cp311-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.8-cp310-cp310-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.8-cp310-cp310-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8-cp310-cp310-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.8-cp39-cp39-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.8-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.8-cp39-cp39-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.8-cp39-cp39-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.8.tar.gz
  • Upload date:
  • Size: 484.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.8.tar.gz
Algorithm Hash digest
SHA256 b4109b847ae6f7a51f031fd9cc1b321d0c637a2a0f36b71feed27e8d479590be
MD5 7ce8fa331789ec094505ddfb7c449cfc
BLAKE2b-256 910f9ae497e862965d4749d3eb66ce8ffcf4424c68ef1f6eb6969ae8e61cb5c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ab8a5f8a03611c2b48bc3c9f0c5269f32f064df12696c8f8b910fd8a1e6fa901
MD5 b1971971131f09d297465324aebc9163
BLAKE2b-256 931fe505040a3100b65106db2f5dc797dcbbce469665c2fa9748e9326541df66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 17ad6cff769d63ebb38b64ae2616361a9d827ab27985490c567eb3226767c818
MD5 ba81c9693204be0404f31558845fef83
BLAKE2b-256 88488e5b5237ec910ea1238ec8e4863fc9269e2326b4b6d003cf1e3d3ee7021e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b131d155bf6bfb0145bcedf31ad502b1272b788ee2a730e840537f65f6a89ed2
MD5 17c121c5cf98f8019b6f34d149f61941
BLAKE2b-256 05c8058ecba429f17c4b4881b470ef52c1e4ebb36d08a80c0c319df750efbb1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 366ad776e2e852dcf904e5a9653f4c6011540d45013bced050443d98b9db14a0
MD5 de1f5956cab0aef1b2b90efb8b0084c1
BLAKE2b-256 856eca112fb2f752e4656059d2125beaa3c88e0c46ab0baa09548232730d8564

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2a2abd9531ea1646a3064b8100c60cc6baadacd539ad2425cee75b6b13bf73ba
MD5 0e49af731739c6aa1b59655208d87e90
BLAKE2b-256 75b78b64743a1087e9bb530349d73824628d1570bfe7ac030d8b5eade36bb929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 944f5f5aa0deadb1a1b8b4755c4ce10db02f23dfed48ba8b5c24cc38014755f7
MD5 31d5340c1227070d0f2587c8206af0d4
BLAKE2b-256 169d3de114399da0035ffcec9d369f8988db57e5d2b099d829d4fff0e8972761

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d934591c5f104b1eee7ea636ca3b09692169950bf6ccafb566928adf206a7259
MD5 5f0bc52c2699b3774eb02a5e38739237
BLAKE2b-256 9acfcc9b05b0a5a3c9d10115f524955eb7075b23193cb4e8071cb173384ece98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e921ca2baee9dc1f0e36fcea3f92c4626eecb4d0cbd7fd2967094fd9684a6568
MD5 f3594904ce6d2122a40b567c020dcc22
BLAKE2b-256 761d39f5ce98fbce049bdb8c98a77a0dd2c56a595f281eb95f349877a2d95b1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c3b98eeabc18e2e3997805a1054492aed41e7a0adaa74ed1866c0244f269e179
MD5 d64aefe675d71624524962cb0ef25ab6
BLAKE2b-256 f72c5a1f01e7167a2865e2efe54383b8e9c8acecd91e7ccc528324adcf7e3f9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6fca1f1a6414bb5eb56e5093f373fc7803fb3f540c1d47b92a8029e51bad801
MD5 bc418c92bd012cb1984faab19702942f
BLAKE2b-256 bdcc1a8a58cb41d080a297512d7254d733d258402dbb5ce6f673ee93c2e190a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 45a377b673ef22e5220df24c0d80f3510e9e9dd03787baf66130ced48f87dfaf
MD5 182db2d4bcea3e28f355e9b285954be6
BLAKE2b-256 0b142a954abef307af0b7baf43c4f39bdb9b5537eda6b20e9a95c69bec24f3c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 40dd94a7a52fdf515e9a8779d2f2cd1f8a216185c0744f2fe3262481a37bbba6
MD5 a3e35e701f5c737a650fb38e519a778d
BLAKE2b-256 f2e8871d794dee250e314b56204dbcd8156b1489eecebdf28de0c5490d03de02

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 187d7f8ffcea884e5cbe2fca5e99856566c76ebbe95bca5f22a48f268dedc735
MD5 8ca7428e13dfe14344aa8de63ec5e985
BLAKE2b-256 36f058ab130c5c039fd59f264fd817ec3e47ead6d5ceabc2adaad1388935a971

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d55ad288343df195a5c2275470b4a87a53d176cfff5286108e8b4a5ac040dbaa
MD5 260219c025b52abba449081f089b970c
BLAKE2b-256 d9275bd9d99813d9b53b8c5b0a33e3a2272ceea23361c889ea9a9abfc82805c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 62d5498e73ee49d11031fdc49cf8fc19ec2724ed52776092385bc501e6023bb2
MD5 576f9c447d95cd7c31091db5e48d8516
BLAKE2b-256 03cf21173ec25a27ae13fdad2d7acc4095142f738f8592d2a52bcf4697a9351a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5ea2102e356a86d92ad4213ec04384b72c729f48d60b6990a990679d257b295d
MD5 ff13a30383e1dcefe4c3af4dfeac857e
BLAKE2b-256 397cabf3cf761e394d047473b976476f4fcf3d92529b7dc16d55dfaa7b7fabda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 43e024e18dba2bd11b8bfb5eb4ea6aca8a563444b2331eac885e91bba31f0c5b
MD5 d434628e57a74d66f292a34cd6dd3fc6
BLAKE2b-256 aec595f52ca8ac3db120b41a0e18b54f443b1bbe747cc82a64c0c99839451b85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3c6bfd22be06c04632acf357f00209040c0e4195dc1fc02cd69c5307175ca00b
MD5 b3bff23a6eab43e84f63b573133b4d57
BLAKE2b-256 d6c39ae8e3c5b333f0d965330afa05098d56bed0efedf043d504020a79772325

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8b24c1f359a9ccea88f6b141ce873166191294248871330d0bee87482501654e
MD5 87ac1f084844b8f942f9a004a22046ad
BLAKE2b-256 22cb51c5d8daf356d579d4862244551a5609d7de1acc0309553f987827dcb56e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.8-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1e359abc3a1f14afce423f72e1bc4ef9712e652f77ab17f81e5aed9250c6a479
MD5 8fe06503767396622bc92e88810c4841
BLAKE2b-256 5fb06dc516b001bba5a78881698716517b8ec85dd1423760596e6631a9a046e4

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