Skip to main content

GridGain 9 DB API Driver

Project description

pygridgain_dbapi

GridGain 9 DB API Driver.

Prerequisites

  • Python 3.10 or above (3.10, 3.11, 3.12, 3.13 and 3.14 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.10, 3.11, 3.12, 3.13 and 3.14). 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.10, 3.11, 3.12, 3.13 and 3.14). 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 an 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.20.tar.gz (521.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.20-cp314-cp314-win_amd64.whl (224.2 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.20-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.20-cp314-cp314-macosx_15_0_x86_64.whl (256.6 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.20-cp314-cp314-macosx_14_0_arm64.whl (248.1 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.20-cp313-cp313-win_amd64.whl (218.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.20-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.20-cp313-cp313-macosx_15_0_x86_64.whl (256.7 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.20-cp313-cp313-macosx_14_0_arm64.whl (248.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.20-cp312-cp312-win_amd64.whl (218.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.20-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.20-cp312-cp312-macosx_15_0_x86_64.whl (256.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.20-cp312-cp312-macosx_14_0_arm64.whl (248.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.20-cp311-cp311-win_amd64.whl (218.1 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.20-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.20-cp311-cp311-macosx_15_0_x86_64.whl (256.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.20-cp311-cp311-macosx_14_0_arm64.whl (248.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.20-cp310-cp310-win_amd64.whl (218.1 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.20-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (361.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pygridgain_dbapi-9.1.20-cp310-cp310-macosx_15_0_x86_64.whl (256.5 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.20-cp310-cp310-macosx_14_0_arm64.whl (248.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.20.tar.gz
  • Upload date:
  • Size: 521.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for pygridgain_dbapi-9.1.20.tar.gz
Algorithm Hash digest
SHA256 1aaa6dbc7aa2146380be2fa3e9c7955fdfece829ddcbe63aadd561165fbadda7
MD5 4e0ac01b5a5a94bdf1924016d251106d
BLAKE2b-256 b9806224fe1131aaef4112e7a41f0e05644a4ea9651874d8315dc3eece3c9303

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0e868216f869e49b23747b2b36ba4eaad040e93c0786baf075e0878b96d2d2cb
MD5 4e944dfdccfc18c5d2ffa0f62ca0ba5b
BLAKE2b-256 78861bece958c73105578c5d73de051fd94540fdeee740017bc22ffb82de3d86

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22e6b60f3336d863660ba4518e9ebd2a280db773f14401721b775924269d5db1
MD5 5c7aeaa4d73a53b7292d77d5b715139a
BLAKE2b-256 9e1157c1465f62f052c4dcd1381ed57040633f007b99a224bee8d4e590571031

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 6819f18054b9c186af019fa8a4f110c219590e57ebce4c88308cbd057c20e19d
MD5 3409f8a90d2f821157db38652b213bf8
BLAKE2b-256 d04dae46e3d4a532243011a4c425e92143be956e7e32c578607e192f44de143d

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 257a5037a36027264cd3120accab59263fd28734038e2b52dca4cffe8f126e94
MD5 865fb992b6720c00ad52255f4b5afe33
BLAKE2b-256 91de22cd4a88bad4617b36497c36deb2e3aeb0ec55c6ba625935f02284ab8ab8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 50d93a7e4487f3d8cf8474e8d33d48ae2c18be89ab0ac609774266d6c2c7b1c2
MD5 f8e6d4fcd514266affa187364f89efae
BLAKE2b-256 0890f9b67e8678cee4db6b5684064200f38563b2c14b4461a89505c968741a32

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1497a896b3e3262e8a8dacb30c856542d1bd996d0c4e2d561041a68848f2378
MD5 a8ffc41ab1aa9336ffaf60ecb3eaa375
BLAKE2b-256 705f5a632283b78416c3fffe56ee084b50ed44650e5a1d589e107eeb250513b5

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 714465ea545a1e7b115434e58faf3190d3f68872733d4024d18cca88f7e76c3f
MD5 02a5ae9b5fb96fd01dcbe3dc68b0d4d3
BLAKE2b-256 4a2c35d74c571d7faab57c2b7099c9a44ba47127d92d65359cea406c47f5786a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5116b3ecdc463cbc41f1c3aa30ae7a63750ccc65f59caa9a69b2361f62c2866b
MD5 103e927526f1ed561510a095ef7fa6b8
BLAKE2b-256 0092a1296de8f526e368046ae5f2a537ed3b74dd4ac36fe3dcb1fbb05f239f6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 33504e1d9c801cd25c7a66684c77fd52b7067c49e982dc64a653889fd6c5d00a
MD5 f8b0f5375ec90e38589d58897100e385
BLAKE2b-256 be2196e4edb7789db4e97146c33b919ca0727f34ae7130bbf79050a8ac255503

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 73c8ebc5fe320492885d689a811def0f7b048512afa176bba7491ca547d43180
MD5 f637d56cc8f0c990e8cc6885daf30198
BLAKE2b-256 27bc5319fe9cd4b6abde5d621e76030fd85b5da39e4a0ae6d3d48c553f98a808

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3bd55667fe298922f57d211b55a6fa7936c8fd3e97fcfda2aa61db9534c3a789
MD5 72ba05cc461ebf018f844edb13203517
BLAKE2b-256 a61c64d75a3c41bf35732092a8fe5e4dea520d93dad8d1a1ac4c88a16683a1b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 458d76d028c38ec02d3a5b9ec3ab5335dba63a2f3f2bceb8682e3486f645d7e2
MD5 92911d4fcf8bd011288c7c7ea59aa844
BLAKE2b-256 19bb2924795513f3ddb9350dccaebf6686954e97a16f183c1af224eaa67ddd50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9bbd7cf9efa66a9093e1b3c05bbcd21ae6e01546d5cfe1d93d4c6c3bcc2ab086
MD5 c83868ce3f98d742505d424b99154f8e
BLAKE2b-256 1d89b6755286969721efedb7d4b2798b88f51921432a548fd8ccb4deda5d7ead

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 443eec7158bcc4f320cc8ebbd8975abfc527981ff756ab30159c480ac4a289da
MD5 487e4f02143417b69ab6ec9c521b6d70
BLAKE2b-256 17e6a3354d07d6e6dc5f10e5a2aae06113e1904dc32c885aa8df5039a8b7ec31

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 0dda3c6ae31e2e29a0656f57d8c37d3c8466f288fd52885e6708e82bc8a45110
MD5 62ef7a6a0c62f9f5afc732ad212e50eb
BLAKE2b-256 698845446a20dc9138a738de5adf5a423a04d0af4170877cabe0564e9cb5f55a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 04f8b4d11a6daf85928b4d6f9abd7d3ea531cc602d05763a4960b522bf1f65f3
MD5 e4a07b82804b6a33cfbc222fc5ab3079
BLAKE2b-256 6248b0311bfc0228460c4049230d2d88b3216ab5bb8a0e8448fcd1f14eb859bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dc45e2da0855200db662990746acb71ec5f13ae05f11962789607aa16c14d797
MD5 098bdc0517f2e43db729cf027e35cb85
BLAKE2b-256 eb40b9e20673a0ae495f5ef44eef37348b72483e6d53ee21d5c55abbc7a7d83a

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2dedeeb143c3f5a447970b5f079fcfba204b838624dbd78fe48c5f7209c8cf2
MD5 72f5f955e1f962ef6aeded8e4dbb0f74
BLAKE2b-256 a039ad6696abdbcae660e7ed6a865277eeb1b5690c9d324d968705bf4c7a4f92

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.20-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 89f1e8b89848594e95811904da6209f9d9ea609fd5c5ea39dae1b7db330ac51c
MD5 b62451fe4d11bb2dcd4c501d96f97ab5
BLAKE2b-256 53b694cca11b49da281722dc00a35745d9bedd4b168cb2f654847b679ba3e041

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.20-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9481c338cd453ff171b5b80664ea9145283e54f8ebda882c0dd794c18406f339
MD5 5cabcbd8843d432279fd382d80f4916f
BLAKE2b-256 b0a9a16b018018621cc0521af3af09f29cdcb33a99e52138c58420f6f6c50a95

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