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.27.tar.gz (1.1 MB 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.27-cp314-cp314-win_amd64.whl (359.0 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain-9.1.27-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (355.5 kB view details)

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

pygridgain-9.1.27-cp314-cp314-macosx_15_0_x86_64.whl (310.6 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain-9.1.27-cp314-cp314-macosx_14_0_arm64.whl (308.4 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain-9.1.27-cp313-cp313-win_amd64.whl (353.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain-9.1.27-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (355.4 kB view details)

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

pygridgain-9.1.27-cp313-cp313-macosx_15_0_x86_64.whl (310.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain-9.1.27-cp313-cp313-macosx_14_0_arm64.whl (308.3 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain-9.1.27-cp312-cp312-win_amd64.whl (353.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain-9.1.27-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (355.4 kB view details)

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

pygridgain-9.1.27-cp312-cp312-macosx_15_0_x86_64.whl (310.6 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain-9.1.27-cp312-cp312-macosx_14_0_arm64.whl (308.3 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain-9.1.27-cp311-cp311-win_amd64.whl (353.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain-9.1.27-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (356.1 kB view details)

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

pygridgain-9.1.27-cp311-cp311-macosx_15_0_x86_64.whl (310.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain-9.1.27-cp311-cp311-macosx_14_0_arm64.whl (308.3 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain-9.1.27-cp310-cp310-win_amd64.whl (353.0 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain-9.1.27-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (356.1 kB view details)

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

pygridgain-9.1.27-cp310-cp310-macosx_15_0_x86_64.whl (310.4 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain-9.1.27-cp310-cp310-macosx_14_0_arm64.whl (308.3 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pygridgain-9.1.27.tar.gz
Algorithm Hash digest
SHA256 1e01d8301fe4b02cc4c12bb0b030c4079433d267153cc4f41618f0a2b8a35663
MD5 7445e3be16f11847c8a684be24d98afb
BLAKE2b-256 ef4c040d67a6ef4e45325280165a440b6473e0c50b3e79c4a6f34cdef7fa8e4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 cdfeda25a5ecffc76dd102fe0398079af7ee33162fea09405d418679369ce3e5
MD5 a7620e7b6815a8cbbeca5c6e6fa3c254
BLAKE2b-256 6d4d17c5d6a3ebe367b28dd9205c023f5bc19b18ea72f3d0a99a997e6c3f113d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 166a90b8ef6a5fb1372068c2f6b1158c49c3d3c3fae16bd514c929dfe833ac86
MD5 1cb02fd66bfd2566542e61c9858dc6a4
BLAKE2b-256 01176d61992a9061b5dd28d2da0e060fae6a6a90379f5b14c6bfb5f4937a2b24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 7d36161b2e5953126fb241acf5b6aa0e3a95dcc7d52e2927eaec926b559996b7
MD5 810752ce1188d84d069fa0c8ecb303d0
BLAKE2b-256 f7c46e2ba576f81904acf584b2eb4bf1ecef20a67c0025be5e39c2537942260d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 32cafd1bd257d6987f423913017ed1312c16309b3d6f7e8daa4492c61bbebef2
MD5 3c7fd70019a70d453f81dff9c876f304
BLAKE2b-256 3e02b15a2f5e16c5157bc0220df0f4c7bd3d5e9dce9275388a72d318a04d3feb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 aa2dbc132fe679f690d40f520acf3888f90d7e4a960869f9ef3bca9a4cc5f247
MD5 db7775671e7a5e52a05ea874db89d736
BLAKE2b-256 244263145f6754017e6c541908ed60c20ba4b3d573814948d0f881fcbc096b3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2f5aa6d4b1744a0b2981b5ed3abd1e63f0618b35d8ad39dfceaf8393f5f3d3c8
MD5 d0371a478b0772a091a80ac2cee3fb48
BLAKE2b-256 b275257e66f278260c380a4eebff91ed0badbbdeb8e89fec187bbb8c8771a266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 81163bcc054b2de00fcac2b541dd5845a930f2ce143563380929b264c4efd2cd
MD5 2b5978809296342e6fb38980670f85e2
BLAKE2b-256 d718a6c02fb652b1860e4d8f4f1d2622b68cdc2bbfe438a5a658e14722635131

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7ad146ccc8259c70702395d69b901a6ecb93ea853f138f5ea3078ca4a4137929
MD5 ac2e7e7bf69a8a9358fca53e1e732f4b
BLAKE2b-256 56c266d33ab79f30286605f655fc384d133e3ced0e6eb7293be8ab290290d6e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 76b9ebc17e92e97c522ad26a93e553bfbf1e32e36d712aa6d6e339e57d07a14b
MD5 fae6855e05fad0a925bdc2c5c097e4d8
BLAKE2b-256 9c703afa495fefad509899eb4289acf0be3d818fa091af528f7bcd2e2fa50901

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84e5c3a10301f8bf9414fdd457d9f821f3433d1a71d3af733ec9abafcf7c50ce
MD5 324b99d2fd59f150ec72ce5b3755e6d5
BLAKE2b-256 305dec14e2d3dfd6cb8d3208a9f4048a4ff76258501d16a9259225ededbac7a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 77eb518090326c29ec234578e31102d85391a8ceed190d7626fe73ec53fdcb52
MD5 9fca9199071a62092a92fbd675fcaad9
BLAKE2b-256 c749d2e611f3457d10a7a16f529dc61ae9663d95f4c2089b5895839e7e758618

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ba5aa6f212f93ecbd09bdc21925a00f09ff1ce776395e0d3f8643652cab8e533
MD5 378d7d185cc4c4e57629c36f4e1c3754
BLAKE2b-256 2b7e30e16d0258f8430d7770885c6ebf75908db6ef7753591d7445efc58ec958

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0be137782c04621a57160ea3551cf1618e848072c21907c8e64d80b405cb8ab0
MD5 bc9d78266d966c4ac94fe2297e9f1637
BLAKE2b-256 1e6efdfb45e3f007990dddef1b1d15f2175faf2b4ee954314318ba2df5832eb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e218a251d55575260ec0867047a54448e63a5c93c0d309cd6e8e3d6b80950d66
MD5 bf22bd9c2c9c2e43f9dbceb97fa605b7
BLAKE2b-256 3fa5d907a1c42eff07c334802588c40456a5cda35fd6167912dbc9d1e79cc98a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 2900384c6c01b45d3ec07a9d864b3428af5319045dc3b5372fb011e26dec975b
MD5 d6bdd4ea7ffa981858bf481357efab57
BLAKE2b-256 c0b8e3a7df7883260108c0b6b2f1d4db256501f7b6ae2745e14cc2806dd69fbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bce6981b845133cd0ac7d4188bf5dd9ab1d28702c7989ee6ef3d3fd80430c14a
MD5 7657708a34c5bc85861255d5e0bde142
BLAKE2b-256 0c8002e746bc30277d3a6eca67377b01b8ba79b5ed8a800845818ddc945ca939

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 a9f632422a4ebc9895838f8a366c7682bb549a8d38ba2ca4dfa70dd976cd433d
MD5 c81731da1f93d4ff12c50a1f2b630863
BLAKE2b-256 2b8cc79a86fefa0a32595ac8055f6824164b329ee80204b0e5404f4d5514787a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f7b2183774432a1fc9dbd78f0b5c2188dfc0ba153f8ed61534266282bf1314a
MD5 d924380cb179f181fe69bb07868853a4
BLAKE2b-256 762888427d62b74d311dce01cb15b9c798957c89cd559278c9071054a5842f3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 b6cbc2bc7a5f64c767daa0c89868ba1146000f52945e01b6c32fd90068b6e166
MD5 90621ffbbbd98ec2470cb5d2732db176
BLAKE2b-256 e087bffed3861499829cc44e1fe680215bcb0d6894f58cf8892160c2159d92ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain-9.1.27-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9940ffacec872643d98b4e93c745502dac83319a4c5d9bcfbb39bb426361833d
MD5 cf2a7778b5a0d177c667b9a7a6a1c723
BLAKE2b-256 9eef340ce727638febb40e4c910461424fb1f95e7a56de3ea23a6bfe9b83c2e5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

9.1.27 This release

21 files

9.1.26

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