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.19.tar.gz (517.5 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.19-cp314-cp314-win_amd64.whl (222.0 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.19-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (358.0 kB view details)

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

pygridgain_dbapi-9.1.19-cp314-cp314-macosx_15_0_x86_64.whl (253.2 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.19-cp314-cp314-macosx_14_0_arm64.whl (245.0 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.19-cp313-cp313-win_amd64.whl (216.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.19-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (358.1 kB view details)

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

pygridgain_dbapi-9.1.19-cp313-cp313-macosx_15_0_x86_64.whl (253.3 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.19-cp313-cp313-macosx_14_0_arm64.whl (244.9 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.19-cp312-cp312-win_amd64.whl (215.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.19-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (358.1 kB view details)

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

pygridgain_dbapi-9.1.19-cp312-cp312-macosx_15_0_x86_64.whl (253.3 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.19-cp312-cp312-macosx_14_0_arm64.whl (244.9 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.19-cp311-cp311-win_amd64.whl (215.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.19-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (358.1 kB view details)

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

pygridgain_dbapi-9.1.19-cp311-cp311-macosx_15_0_x86_64.whl (253.0 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.19-cp311-cp311-macosx_14_0_arm64.whl (245.0 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.19-cp310-cp310-win_amd64.whl (215.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.19-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (358.1 kB view details)

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

pygridgain_dbapi-9.1.19-cp310-cp310-macosx_15_0_x86_64.whl (253.0 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.19-cp310-cp310-macosx_14_0_arm64.whl (245.0 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.19.tar.gz
  • Upload date:
  • Size: 517.5 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.19.tar.gz
Algorithm Hash digest
SHA256 7e450ea89d89168da2e6bd9d1404fb6420722b9c78725bcaf9c5f2cb698a1bcc
MD5 0d76e9043c20478ad81c5942953c5a6f
BLAKE2b-256 ae975bde5db2526dc224bb6366c16264ec2ec999ccd80789770da66403c86fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 58a6a671e0cd035f5da4f0ac72f5295088aa737a66a4329b2ac6d656670a1a8b
MD5 c24161bd0c001f52ccdddfb3e3f870cb
BLAKE2b-256 15224327e992dab5687083b9a0700579d494d7940efab49429d61076195e02da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 64631a04c861b6ecda46f4fffa425761aba7ea7acfb2d8c187e65a905daa3338
MD5 273e2770ed7ec6f8099ad5e00e79e30f
BLAKE2b-256 11ef4595a7237fa3cdc73ac354368d7afa412cd8613bc2c15b98560c7c650a21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 3aae457bb959aec94ca7e062c59a456795e6fc6963ff870f1ed6746f9faf5810
MD5 8dde6854439307d43f17ba6745b4b5f1
BLAKE2b-256 eb69cd7d374afaee5de79e5e5d9ce42ab81da8965d269525eeae59212fed8048

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 caa67f7db20b9f60fc5001d99812a2dff444076b5f49e26f6f344540bb8d13b1
MD5 15dceb7518361afe438ed9991cc5a09b
BLAKE2b-256 3719361992e502f2c437060a16b9b7d93fe5bb11cd945eacc8147c95b5efb675

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 188a137965708e14d832c82c0c3691fbaadc108c2b670e6caed4b56289ab43e9
MD5 bf98c28738073d38546e8238d7511deb
BLAKE2b-256 7505a4aa08abcaf85f132f527a6f120b4d98ba1d97eee966889125a09b54d67b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 365f74c311ab07cae8b4cb265cc13c34f31fd1b85fedb0178065c50ecd8aa1cd
MD5 9f598255f81bc8ee4434456bf7aad4f2
BLAKE2b-256 01b1de038bba49e154061e204ff99ef9069dabc8de1c0bf63b99cf8e6c41fb56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a643525db61324feb21cc0b40c7371c1069de53dbd2ab3c144ae35b0733c193b
MD5 abdb7267a3fcecaf2f57f401725873c9
BLAKE2b-256 8e87c4352812eda2049634c327415c61823b7e1f276c380563fec836236c4b05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 5c96984ead55b7e3f8c422a834ccb888852d56b7c740f441fe18102720e69c20
MD5 57f7d1011958372f098b0024d9e1f76f
BLAKE2b-256 63c2557c4f562fb1f7f68e9245217c42cecf26793fcfef29907240188321917a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7b273cb808ed01a56d2b4bc9b64cd535ffdd227b1c9c254f64614cdb04c3436d
MD5 e2f0abcecbfb47f1fed2d7159d44df3c
BLAKE2b-256 e8868f1a6b1addf1cbdc73c1b0d479a88a660d04a0316023e6a2e364d7990180

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16dcd2389bb6beae6667b9c1bf4e1ba02641bcf4b42d900014636ac650dd53e0
MD5 321a3758d4b8a613082361e607acaa53
BLAKE2b-256 956c23fb36a5f7a39d1344266893c55462988ee3ef2b7d39131d8c887bebcb81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 8b766a2282840cb1df1e46f47a414618710f9b7514f8e8ec7483e30917fb0ed9
MD5 84aed536322ee100d7f4e1ac9bfd61a0
BLAKE2b-256 574a78a6f44b528a4fd7e5557cd3c36567df5a02e5bb478e1a8ef8df7d53c0eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1810bd4dc9a98a938b177b14b51fad54c7ed61da90d26c360e8c1a2748eec444
MD5 e9a9bfadf12d336ad14dd1d64473dd04
BLAKE2b-256 c1007ec7b2f8122e5553172617700ba9c231a7a4ab7b3e490d365539dc10fac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c690335e45d88a1cb79b7ee8d401d3107589b2d4ac2b2562d0eb66a8d2fcd2a8
MD5 540778fe6e8a8b94637c2c59dc11bb8b
BLAKE2b-256 48726c7e3041de8dbf73078a15cb184f5123ee4ed1bc24e00886137b68737eab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 88693e837c9b2a9fd57e86e1cc7942fadbdb9a614feb2dbdb1ed3cf333df2ad5
MD5 70e2148d1899dc960470f69040b03472
BLAKE2b-256 a1475f81a9e48edcfef0c3000c80b99b5f6e44941736b54ef4821b55538b937d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 21640f7b1890a3f8e63245ede04b43f1374355f95023a094f25afcd35a7f7e7e
MD5 a35173cae55fc38a6b3ce855182699e4
BLAKE2b-256 1d6dc95bfead051d7639c5304e466fb52b4913bd72adbba928ff8e4bfe8784d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 759ffbf56b8e5c635813e33f8d7b2acea25cc395b0d3b0908bbf962ed710c79e
MD5 8207864dc8615d69a7911e012d42aed5
BLAKE2b-256 fd7ad630150c1914b41dd0f7fc58fe895aab7394c3d8087c1f32ad9a2dfe0812

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3e0bf3b916b28acac51970e84cd5ea9192f58a1c34f91810e885383123d89aaf
MD5 ac4fb1e2f7c4cf275ea56dbe3760547b
BLAKE2b-256 3d44a32616fab2df45e8068fcceedadbf9d5515ea541fbd8ccaa1ca299d056e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b18b996486a4d8953632b1450e6f7e3143742aed24cf67d2a60bbdd50c99fc4e
MD5 b3ba6d3131ca5018d323435db5610875
BLAKE2b-256 822630f4b193a281ae90c6559689e00a54ea9c563abc7384e46337f8b372e6c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a08b3976e0eccb38f8a39252ed406c1c23539932523a97e1b321900dd2215124
MD5 4203990ab87c6112fc35585bd7945f1f
BLAKE2b-256 79989a1e97f4fbd3c0cb9878df420b3a2d6efe5726d1363208adddfdcf15578e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.19-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 425642bfcd1b7bfa90aa76e000d060ad42c310908ce017ce8333aa5035f0a638
MD5 453cf1a62e79e70f64d814a16a01df18
BLAKE2b-256 bea8b69a5381c028314b91d35db50b083a390243533bfeb8a5540a1d3822728c

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