Skip to main content

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.

  1. Download and/or unzip GridGain 9 Python Client sources to pygridgain_path;
  2. Go to pygridgain_path folder;
  3. 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:

  1. Install cibuildwheel utility (we use version 2.23.1):
    python -m pip install cibuildwheel==2.23.1
    
  2. Set CIBW_BUILD environment 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*.
  3. Set CIBW_ARCHS environment 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.
  4. Run cibuildwheel from 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygridgain-9.1.26.tar.gz (984.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-9.1.26-cp314-cp314-win_amd64.whl (358.0 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain-9.1.26-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (353.4 kB view details)

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

pygridgain-9.1.26-cp314-cp314-macosx_15_0_x86_64.whl (308.3 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain-9.1.26-cp314-cp314-macosx_14_0_arm64.whl (306.0 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain-9.1.26-cp313-cp313-win_amd64.whl (351.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain-9.1.26-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (353.4 kB view details)

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

pygridgain-9.1.26-cp313-cp313-macosx_15_0_x86_64.whl (308.4 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain-9.1.26-cp313-cp313-macosx_14_0_arm64.whl (306.0 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain-9.1.26-cp312-cp312-win_amd64.whl (351.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain-9.1.26-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (353.4 kB view details)

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

pygridgain-9.1.26-cp312-cp312-macosx_15_0_x86_64.whl (308.4 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain-9.1.26-cp312-cp312-macosx_14_0_arm64.whl (306.0 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain-9.1.26-cp311-cp311-win_amd64.whl (351.6 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain-9.1.26-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (353.5 kB view details)

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

pygridgain-9.1.26-cp311-cp311-macosx_15_0_x86_64.whl (308.2 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain-9.1.26-cp311-cp311-macosx_14_0_arm64.whl (305.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain-9.1.26-cp310-cp310-win_amd64.whl (351.6 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain-9.1.26-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (353.6 kB view details)

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

pygridgain-9.1.26-cp310-cp310-macosx_15_0_x86_64.whl (308.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain-9.1.26-cp310-cp310-macosx_14_0_arm64.whl (305.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file pygridgain-9.1.26.tar.gz.

File metadata

  • Download URL: pygridgain-9.1.26.tar.gz
  • Upload date:
  • Size: 984.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for pygridgain-9.1.26.tar.gz
Algorithm Hash digest
SHA256 bd5114a2e9da958e8480f7b38e132a3013fbd78a32f7025bb66be73cac466730
MD5 5dfcb46bb832fcba797f3b00565e3f3f
BLAKE2b-256 c0180cad1d9e3fcfc7a7057ac148d002fc58bab8874adcd0d2126233405f09bb

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 7f35a1f2c77b43fc0583e86d472b1f9e2f95ca049cb1a622909f35b9d4d28c45
MD5 7392054a84a50b46fedb2ab671c7db3f
BLAKE2b-256 77a4d90c0080548c980c8b52913fee99e64bb798d3640e6e8efc2ef69f000aef

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fcf080a453ae9a62678f844b01361829b7567b98ff566a7c4aa2a42e3615acdf
MD5 f6cddd5b7a99a019b8c2a460f4670090
BLAKE2b-256 8dd7bde586342bc1ae170c3c1b969cc6785e39f6739ad164dbd5f2a0f85e0daf

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp314-cp314-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 abde97406d490022d22897de522ec34cf09e1cb27d92b10d22523699164e5cb2
MD5 e67aa483bf1ae5116558be4fca9d7c10
BLAKE2b-256 3dcec1c5672052baee1b4969b92ec5588d7eff2778c91fd367001d4f825986b5

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2ed670292dfc5d2149262a1ea6549fa793ddb30497ef98793aea5b89b37160a4
MD5 0ad94c68ee894ad8d56b9432b33d7e0c
BLAKE2b-256 fec9035d9c7823cd43e55a1cb3ec18821cd735b4b186d91f96025866d19557ab

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 364d16407aeb0580a132dbd9a59c1f21c9226b27cb0ca6564d48f34fc71e56a2
MD5 105b29b873ca8a556ccb60ac6ef98b81
BLAKE2b-256 e435e783b991c54c75ee1b559ec69576300b49ba265e01b2ae9b8d6bfc37d790

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40ecce384fc1908dda8c40c4f416655449cd2bbf4bcf73aec57a1f20a1f7c9f6
MD5 3769c5e3e93c67afd2abfa3fe9078e6e
BLAKE2b-256 82ba47646f5f2a308f19c2f00c2dcccb5cf561b33bd68c8916d721727ccd8a51

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp313-cp313-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a8b8cddc025aa13fcdbb2e1026e059063791e07486c2bbda1dc901434387a3cc
MD5 7d326bf52b3d6685dfa0a5be7b6b0e1c
BLAKE2b-256 11c361fc8137d8177ba14c087a6f1bf2a979a82ed8489823c12b093d69b06bac

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a8264800368488da63255d58e57fe205f26dfc85d8dfbeee7c64783cd8d4a467
MD5 4179ea3e955825bccdceef032bae4a42
BLAKE2b-256 e5bed4a1825832e8b18b48e112da9a2f7e7b941d2ff7688ef0658ae916ce58e8

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2920e6f6520e1260ad5604c6acfc4339d066df339dc0c9161a33063958ff2bd8
MD5 be8887bf290ffa8584b27a859c9fa9f4
BLAKE2b-256 fab4f3c3b081353d7a1c18f238d64a488862d0fb182e805a3c3a890509dac1ce

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c21e1a7c523560887dcce770b0047fe4711c7853e2e5452d73ef0624e0e8c63
MD5 cfd2b2115b40700ffecf53e6d6bc2baa
BLAKE2b-256 c1e633e4fb5c0bb868d843c825cf2915f330de8ff20f6a6e068677421a38aaac

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp312-cp312-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 02b1130c66d1faa6301dd3af4789440bbbde9624df0be2139a7df2ddadd58a12
MD5 76c0e80a64c33ead81dba89094e135b2
BLAKE2b-256 64e1b14253722e1e2a33b51efa0b54f2c0e186881efa7ece04c956dfab22a768

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2c4b192a1b92a00cf925142d4b2a2747f8d55b0c69cc72b1e5b2c1668765eec2
MD5 57568497ce2cb8129a1536a85f67de5a
BLAKE2b-256 4d671234e1a71a53bb5f204ed2f3b8f428028c05576677fd5aaa7c8f8c9dd76a

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b81fa53df903221385c2643157f0332ee08aa82acf2d1c4a8cfd85ca7dba0c57
MD5 f8c03b79a2bffc2356eb69f52ee17e74
BLAKE2b-256 7f130cd59762096e7257b02e72508706bed0276cb3b10e7b6f54225aeb342292

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6697f6454a383ac0c331eef60766679e8bad94e4a45639bc435f24b1fa57f3a8
MD5 3b6d982f2f2f729937111355779efd4e
BLAKE2b-256 aeba9a9e05c19c0bcd6c017a14e7dca26f32692ad09e4a65f675fe0416e9590a

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp311-cp311-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 713d31169cced515645ff2d8950040bce9500d1a40bf45c853841f71ddf481de
MD5 5627b2beb1ab605c203c33587fba15f5
BLAKE2b-256 02910f1e889184b9076b6992ecb5542f115e3ec7d37b11b646e643b0214f36e7

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 28a4e20641dd328d04525f6ea6001be1667fe43a0ddfa7cc135d2e571bcaf972
MD5 c8ba16f2aee2b42c075a4b39ced431c7
BLAKE2b-256 a876503932aae936c347d3cb99dc2269b1e266cf2bca2538471a61f483fa767d

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 43aee3426057b9c453e33c19313d9fd21cf94d90cfbaae92143db3383e44b3ef
MD5 e04e7590af8a9778e0896c4e794b2fcc
BLAKE2b-256 33f6b091806d00728a6754d1f3d231c6d9951e4b6b5d7132b36d2a033f1d2152

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b6f6ed963af7400f79ca533b22c85748f4a64392c1b828d8aab1370f22932753
MD5 e797d050d4bdb63732a4b49d3f1fe8e1
BLAKE2b-256 2bd6f0f98a80cdb19ba29ea267f3d2386f1e381d38c4e4234ae7cc23145c5c32

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp310-cp310-macosx_15_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 cdf38ab2141893f2d615c1ea0c618b4b0b53965adc92444b8bb1f4d8f3a478d7
MD5 68fe178e398d66aed25f45442365e342
BLAKE2b-256 431d3b0ffea0d8b835df8bedaa4943b35a6111c7109a9cae94e42c5130bf0a54

See more details on using hashes here.

File details

Details for the file pygridgain-9.1.26-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain-9.1.26-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3c5f7610adaa47b4f703d963d17091bd6451e52be80ceb2f5f9b715e5b94d797
MD5 ca5f4eb5bf7b23f927d9613067337299
BLAKE2b-256 2cda5fe4eac44bb2d8db6a2ae5c4b420bc01297452eb9f2853aa9c0515e80dd2

See more details on using hashes here.

Release history Release notifications | RSS feed

9.1.27

21 files

This release

9.1.26 This release

21 files

9.1.16

21 files

9.1.15

21 files

9.1.14

21 files

9.1.13

21 files

9.1.12

21 files

9.1.11

21 files

9.1.10

21 files

9.1.7

21 files

9.1.6

21 files

1.6.0

21 files

1.5.0

21 files

1.4.0

17 files

1.3.1

17 files

1.3.0

17 files

1.2.0

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page