pygridgain
GridGain 9 Python Client.
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 the recommended way for users. If you only want to use the pygridgain module in your project, do:
$ pip install pygridgain>=9
From sources
This way is more suitable for developers, or if you install the client from zip archive.
- Download and/or unzip GridGain 9 Python Client sources to
pygridgain_path; - Go to
pygridgain_pathfolder; - Execute
pip install -e ..
$ cd <pygridgain_path>
$ pip install -e .
This will install the repository version of pygridgain into your environment in so-called “develop” or “editable”
mode. You may read more about editable installs
in the pip manual.
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.
We use cibuildwheel to build wheels, mainly using GitHub Actions workflow, but in case you need it, you can do it on
you platform manually.
General requirements:
- C++17 compatible compiler (GCC and G++ for Linux, MSVC 14.x+ for Windows, CLang for MacOS);
- CMake version >=3.18;
For building wheels do the following steps:
- Install
cibuildwheelutility (we use version 2.23.1):python -m pip install cibuildwheel==2.23.1
- Set
CIBW_BUILDenvironment variable to a desired value. We use the following values:- macOS and Windows:
CIBW_BUILD = cp39-* cp310-* cp311-* cp312-* cp313-*; - Linux:
CIBW_BUILD: cp39-manylinux* cp31{0,1,2,3}-manylinux*.
- macOS and Windows:
- Set
CIBW_ARCHSenvironment variable to a desired value. We use the following values:- MacOS 14:
CIBW_ARCHS: arm64; - MacOS 13:
CIBW_ARCHS: x86_64; - Linux:
CIBW_ARCHS: auto64; - Windows:
CIBW_ARCHS: AMD64.
- MacOS 14:
- Run
cibuildwheelfrom the modules/platforms/python/client:python -m cibuildwheel --output-dir wheels .
Updating from an older version
To upgrade an existing package, use the following command:
pip install --upgrade pygridgain
To install the latest version of a package:
pip install pygridgain
To install a specific version:
pip install pygridgain==9.0.15
Testing
NB! It is recommended installing pygridgain in development mode.
Refer to this section for instructions.
Remember to install test requirements:
$ pip install .[test]
Run basic tests
Running tests themselves:
$ pytest
File formatting, style checks, and lint
The project uses the following tools for maintaining clean and uniform code: isort, black, and ruff. You can install the right version using the following command:
$ pip install .[format]
Before putting your code on review, you should probably run:
$ python tools/format_code.py
Then also run lint and style checker and fix every problem it finds:
$ python tools/format_code.py --check
Metadata
Release files for pygridgain 9.1.28
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygridgain-9.1.28.tar.gz | 1.2 MB | Without provenance | Details for pygridgain-9.1.28.tar.gz |
Built distributions (wheels)
Total release size: 7.8 MB
Release files / pygridgain-9.1.28.tar.gz
| Download URL | pygridgain-9.1.28.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
496bd537d3f8c95c0c5882fd6425568a362bfd0ece1ef1de7c9611bdb7c44897
|
|
BLAKE2b-256 checksum How to use checksums |
38fd4bc714afd99c822624f0abfc55ee7b3cb458b2b7b4b6fe23f498f47744bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp314-cp314-win_amd64.whl
| Download URL | pygridgain-9.1.28-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 359.3 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1a771ea04da994ed9398827312268116788f9093ce83da3ebd98fa7e34f7df3d
|
|
BLAKE2b-256 checksum How to use checksums |
c69a8da7fcfe2d5b29e2b3dba54a3b524ebfb673d3390eddd32573164cec5b2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pygridgain-9.1.28-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 357.4 kB |
| Tags | CPython 3.14 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b9a845187d3c83b48260b21f53c064e4b3d30bb614ecde5efefc424e8c19518d
|
|
BLAKE2b-256 checksum How to use checksums |
4259ee5e6b1828f59425c3dd13dd222f1f70b16ce25e472ff02b2776061b3b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp314-cp314-macosx_15_0_x86_64.whl
| Download URL | pygridgain-9.1.28-cp314-cp314-macosx_15_0_x86_64.whl |
|---|---|
| Size | 312.2 kB |
| Tags | CPython 3.14 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
d8f93a9408bc1ceaa34e66461f22ef239b7c7f20b500d7539c4a1c3c33b28670
|
|
BLAKE2b-256 checksum How to use checksums |
18aa2913686872c14bddca13fc9f889fd2fa143322816c21ff2a2de41c5a8a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp314-cp314-macosx_14_0_arm64.whl
| Download URL | pygridgain-9.1.28-cp314-cp314-macosx_14_0_arm64.whl |
|---|---|
| Size | 310.3 kB |
| Tags | CPython 3.14 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
78a194d3086fd7519a176edd2faed450c4718bd511bd03efd19ec15162517211
|
|
BLAKE2b-256 checksum How to use checksums |
9e250f73ccd24b065b27eb14b5b7294e44a4adc3a88b9f33b81f9dee8c946dda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp313-cp313-win_amd64.whl
| Download URL | pygridgain-9.1.28-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 353.4 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
db73cef344c7ea8c1698b6868aa5041ded95737c15951e039fa38fc7451d24fb
|
|
BLAKE2b-256 checksum How to use checksums |
da34708491c3bcd89ed25ff1d590b594fbdc520c5436f9dacd2d9016755586c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pygridgain-9.1.28-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 357.4 kB |
| Tags | CPython 3.13 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5e60e5552722bc4f8aa1f2df9cc62871c135b1a8d4ccbb2e3cff75e24a36aef4
|
|
BLAKE2b-256 checksum How to use checksums |
fde0f7b59fb69ade31ebdecf7b963d592d5106faa725d6e19929609e6c757a24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp313-cp313-macosx_15_0_x86_64.whl
| Download URL | pygridgain-9.1.28-cp313-cp313-macosx_15_0_x86_64.whl |
|---|---|
| Size | 312.2 kB |
| Tags | CPython 3.13 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e17a9fd83bd2200f56d8a9aaa51658db4adab06f24593caf95c955ab77fc38f8
|
|
BLAKE2b-256 checksum How to use checksums |
52acac001c30d52e0c073d31686a4cde885eb2f64fa4776d5380fdd8b8244938
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp313-cp313-macosx_14_0_arm64.whl
| Download URL | pygridgain-9.1.28-cp313-cp313-macosx_14_0_arm64.whl |
|---|---|
| Size | 310.3 kB |
| Tags | CPython 3.13 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
780ebde09c68a9bc4a96a85a8806f770ed3188807167f279d8d3ee75892412a0
|
|
BLAKE2b-256 checksum How to use checksums |
b79c943b9aa62e0abb94fe5b02b2558ce4f53a87f9e862b497bb2ac3202cde19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp312-cp312-win_amd64.whl
| Download URL | pygridgain-9.1.28-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 353.4 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2b088d38b8ae95045a6c704ceb5532cb6b308bf31b46f6ced87c776a27418b1c
|
|
BLAKE2b-256 checksum How to use checksums |
daec33267b2d1df9e063c2157ec57507f0f829e419b9220eb7ee8c516fa5e868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pygridgain-9.1.28-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 357.4 kB |
| Tags | CPython 3.12 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
57a492c842e840a83353d7498679ed2c1f94413ab23fd9ad5d28df2d080f0233
|
|
BLAKE2b-256 checksum How to use checksums |
7ce77a25adc9bb746bc866cc440b1f9383297f15136718d669d738dc1cd0e1b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp312-cp312-macosx_15_0_x86_64.whl
| Download URL | pygridgain-9.1.28-cp312-cp312-macosx_15_0_x86_64.whl |
|---|---|
| Size | 312.2 kB |
| Tags | CPython 3.12 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
6c5d9ec8a26d6588d230ad1025a33ecf5350e2706aa1aa1fd7eb0c75ee4a7364
|
|
BLAKE2b-256 checksum How to use checksums |
82a076590942cd41d9ada87aabc05eb438035e355e808d5855d59629876c9cde
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp312-cp312-macosx_14_0_arm64.whl
| Download URL | pygridgain-9.1.28-cp312-cp312-macosx_14_0_arm64.whl |
|---|---|
| Size | 310.3 kB |
| Tags | CPython 3.12 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d303df53f611ded41e8ff34a58230056a693a22857ed7d785776d10cf76a9149
|
|
BLAKE2b-256 checksum How to use checksums |
ac38ba26cdcf278a4687b12c7d07637ba18df5dba265656d8fdb0e85776d95a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp311-cp311-win_amd64.whl
| Download URL | pygridgain-9.1.28-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 353.3 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d1a7b959af8aa7244ece8096289451862d87b6323645107c8edef9c1deed05f2
|
|
BLAKE2b-256 checksum How to use checksums |
4c2298caf47ab83e159a86ce4ac0c1e3b8a4912ba0001116aaac59af8435cc8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pygridgain-9.1.28-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 357.6 kB |
| Tags | CPython 3.11 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
65a93523696658ee11ae5f6eb8d4cca706c8a1e0a816467cc47ecb7ef13fe7a8
|
|
BLAKE2b-256 checksum How to use checksums |
9675786a03cda96239ae586845d5736c64efd55f4412984eefa59e7c44e8a850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp311-cp311-macosx_15_0_x86_64.whl
| Download URL | pygridgain-9.1.28-cp311-cp311-macosx_15_0_x86_64.whl |
|---|---|
| Size | 312.0 kB |
| Tags | CPython 3.11 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
3f4c62dcf5fd32c43bde3accdb7ef6c9272b6ce72f6074236b78f2a9d12e8ae2
|
|
BLAKE2b-256 checksum How to use checksums |
a3ff500efb4ee3b4976f3a16ca31830e74da6413354f30b2d5c12a791ccd5d85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp311-cp311-macosx_14_0_arm64.whl
| Download URL | pygridgain-9.1.28-cp311-cp311-macosx_14_0_arm64.whl |
|---|---|
| Size | 310.2 kB |
| Tags | CPython 3.11 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3efe9e010a89fd90e1a2f9e6fc07449926a0466d74cade4d0df3f1ceb2f27a01
|
|
BLAKE2b-256 checksum How to use checksums |
f7218173084ec7735a5f5e909d051cc0f401d03ebc39f351e89e711cd8e777b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp310-cp310-win_amd64.whl
| Download URL | pygridgain-9.1.28-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 353.3 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d819cc66ddd0542110c6a799f2e91b0b97510116a387f075cb72506819fa9b87
|
|
BLAKE2b-256 checksum How to use checksums |
c9b44cafd9adc8053160ebd5d6f2410be2b25afa38169708e303a0a79c512a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pygridgain-9.1.28-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 357.6 kB |
| Tags | CPython 3.10 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
709c9fab55076207be3be9573e103e1a13825e0e9ecad90870f9cc368a1b8fea
|
|
BLAKE2b-256 checksum How to use checksums |
fb5b83f71240982c00b3822e57f8050abcf7285ba1839dccc5fb66aa26de48dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp310-cp310-macosx_15_0_x86_64.whl
| Download URL | pygridgain-9.1.28-cp310-cp310-macosx_15_0_x86_64.whl |
|---|---|
| Size | 312.0 kB |
| Tags | CPython 3.10 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
f738575de454d5163b0b0442f855939f87dac060ca5ad8a2e3adb2ff55b64571
|
|
BLAKE2b-256 checksum How to use checksums |
621850f7125fcef5c61d844da8648f28a758df353534a084e75f02abb5ea92c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Release files / pygridgain-9.1.28-cp310-cp310-macosx_14_0_arm64.whl
| Download URL | pygridgain-9.1.28-cp310-cp310-macosx_14_0_arm64.whl |
|---|---|
| Size | 310.2 kB |
| Tags | CPython 3.10 macOS 14.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
57a7206cb68f047be6c051317c943f0ec037c653ac48ccf3fdee1a152c7a7e9b
|
|
BLAKE2b-256 checksum How to use checksums |
9cb3d364592899d681a23a2960d5f603167f3c3039094a8b31c5d340b7442a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.2
|
Security for pygridgain 9.1.28
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.