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.18.tar.gz (515.4 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.18-cp314-cp314-win_amd64.whl (212.9 kB view details)

Uploaded CPython 3.14Windows x86-64

pygridgain_dbapi-9.1.18-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.7 kB view details)

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

pygridgain_dbapi-9.1.18-cp314-cp314-macosx_15_0_x86_64.whl (243.1 kB view details)

Uploaded CPython 3.14macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18-cp314-cp314-macosx_14_0_arm64.whl (236.9 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18-cp313-cp313-win_amd64.whl (207.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.18-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.6 kB view details)

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

pygridgain_dbapi-9.1.18-cp313-cp313-macosx_15_0_x86_64.whl (243.1 kB view details)

Uploaded CPython 3.13macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18-cp313-cp313-macosx_14_0_arm64.whl (236.8 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18-cp312-cp312-win_amd64.whl (207.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.18-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.6 kB view details)

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

pygridgain_dbapi-9.1.18-cp312-cp312-macosx_15_0_x86_64.whl (243.1 kB view details)

Uploaded CPython 3.12macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18-cp312-cp312-macosx_14_0_arm64.whl (236.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18-cp311-cp311-win_amd64.whl (207.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.18-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.7 kB view details)

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

pygridgain_dbapi-9.1.18-cp311-cp311-macosx_15_0_x86_64.whl (242.9 kB view details)

Uploaded CPython 3.11macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18-cp311-cp311-macosx_14_0_arm64.whl (236.9 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.18-cp310-cp310-win_amd64.whl (207.0 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.18-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (346.7 kB view details)

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

pygridgain_dbapi-9.1.18-cp310-cp310-macosx_15_0_x86_64.whl (242.9 kB view details)

Uploaded CPython 3.10macOS 15.0+ x86-64

pygridgain_dbapi-9.1.18-cp310-cp310-macosx_14_0_arm64.whl (236.9 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.18.tar.gz
  • Upload date:
  • Size: 515.4 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.18.tar.gz
Algorithm Hash digest
SHA256 ae1512bfd6299c3726f9f7b5e233f54386bfd882291e248de6e359d0e63bd3b9
MD5 335d0c15d74b99177ea0d666deaa8e3e
BLAKE2b-256 48a50b62f0a0538a9ad9cba3847766a415a20910a4342651515ad2fa2242d612

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 6455018648876cd483eb6dd4e0f5611aff656cec7eeba5f048f38a48d199f5ef
MD5 1b62ea264af44854b59d5acd5847856d
BLAKE2b-256 4c4163cc9b9b87c3df12f25dab3e18a3023b2a24eba03084c4712e3968c818e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bbb87de8f1e96056234f2ee8b5ff324a788b3ebdd2451e24d17c520baa2549f8
MD5 f50b11a627094e12502f7034edcaed00
BLAKE2b-256 50aacaf4932f4feaa9755c62ce5d744f8aaf97329c163705d73b7094b5f8f52d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp314-cp314-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 4cf22ee2d695f2abe6ba9a73d235bc6e01b829a9cd5bb35ca770847485cf510e
MD5 a2ce8f0c8f3ab8739335b279e0bb8373
BLAKE2b-256 938cf595f2b24458181372fd652db6b5a8b92bb2b502e2b9ce1853e0392cdbe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4146be03956abfb0e9210c52c456c5362d754c4cfc4e8ea4f484c18a1c7221e8
MD5 a5aa0516974a11eb42bbf80cae225aaa
BLAKE2b-256 bf89cf96fa96ca31e0737f90318ad84f89c575979fc7f23be98e8e1e1ca8a2bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4d8a816669099b1143975711506c710f18ad0775fa82c136a6a614bf46e840a8
MD5 e5535a2da69ec2b79c27b4961c212125
BLAKE2b-256 6081202eaf08aa5bd9ffda205a28f9cfb2466ff88ba919cb1d48ddb03e06f6e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a2464fe1ba3d45264d59773122e78ac65fed6fe9c3be47477d383385548f19e
MD5 096057c9362678caaa773ba998b46181
BLAKE2b-256 c002fd046200484507d3f087bb6e7c9e410fefe417358df56419187fb908030e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp313-cp313-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 adb982e626313f7f4aea9b9f4293cc84ecb78fdc913cec00af1bf3290fba361c
MD5 ef96854ff1526063f5badbdcc5426d81
BLAKE2b-256 392a8dafc01109eb6872aa27b76386380f893f9b538c19216e62f6c6ea7aee03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e087ea937dfa1bff494952e82517a379e7aa1eea4df55540a0269701499fae36
MD5 cfad1522831270e4e9314fb8a527146f
BLAKE2b-256 9d012b9d6000431532b8377d29ba84d8ac933e0f969d6a8c2cd0c3cfcc63b2f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5f2218248a0a8d085dc3c511d1e2f9b60d32484d4d6f92043136682684cc078b
MD5 c5d5e5a83ab0e5c28e5dc295a69d6b0a
BLAKE2b-256 1ac2054b040f806c66e79497769b2f35b96af6eb6d6204bbaa6e995a67fbb3e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 124cac0d2e057042e20f1b94c668964f76261db2885c310c359a2089a3433e78
MD5 d1ccfdd0fbf74f4d7376456ed2ec90c5
BLAKE2b-256 06bb52128143b64b5fb7a93159748782e43a04738e2693761c86b7eeac3a07a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp312-cp312-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 c8f1b0d8ada3035f4ec0a21afc8cac35927281d222a46bd13f6d4731116a94c0
MD5 85942dc89dd62f3675e53f40e5bcb0d7
BLAKE2b-256 791c60e5adb7527e3e1730b888caa9f5aef90792309d919292562a3a719e2928

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 7366353596268e7defce32e2bab8bdb57227a56522ef08ccace2e871e745819b
MD5 e501dac36eedb259b75d9fc2e74e2c6f
BLAKE2b-256 3d48b8427c457b43b3a3dd62e864b95ef899ad7b144e762014f4ecd64216ecfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6cf3adcb823e85af120b53419e4398010edb785495c8ab354a691128d78b3679
MD5 dd07c2c444c28c4b3c3686d5ab616968
BLAKE2b-256 c082e74829eb0fdc0346976c36f7aacac6d491ddc313633c1851ae62f1abdfe8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60fd2cbfdd1b0c2e5f7120852db5848f4f07ae6ae6f5d7b91977cbabeeb1ef7e
MD5 7c1221fba2ad9560abd3de18ab675fb6
BLAKE2b-256 95437f1305ef346d8f00672b7e354d22b57c20d3498ec665bef731a43d99801b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp311-cp311-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 a096c2dd7360606f7df64437e2ff022441400b9cfedb36e12b3f250c44248e23
MD5 5628d723dd26ce332870f5a7a279be97
BLAKE2b-256 56b63ac1f2e17864fb2f14018cc2eb95ca7536737b241fcb064b25a31c0f2dd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 817c79f52b59d868a2293b85b834a3dfb6976234d8db3b0f9fc595ac226d650f
MD5 b88f074471150e2f2fe6514fbcb2a72e
BLAKE2b-256 e6a230cdb6a904bd387ff7b0440288c5a38234921f52ab96f07b865b34dbfb84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 614294673623fd7cf7c3ac544d9ba6abae53cd610577ac353f64f98c94a083ec
MD5 f4ab7fa279a2bc93ce42336ad734396b
BLAKE2b-256 e6f28e3cb134eb883782fef0bfd995533d0e0259b643c339687546d0cd280a1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 571eddd212c0ddd4350311f11db015bb6d5f9eaab287800eff299a05349fb112
MD5 0a36fee447f9a2d29746c028fd42c6f9
BLAKE2b-256 e21b64ba6a47724e3209e664ad0e0eb4c88237b2ca04b25ef35dcabe52c6be22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp310-cp310-macosx_15_0_x86_64.whl
Algorithm Hash digest
SHA256 5bc21d8f15aa1940804f7357fd1e47df977c32221838e842b042d31578f2d7ec
MD5 2b11da586f18713168b673a613b83f8b
BLAKE2b-256 45ac355002acbe9159c36e26e694b985a2a031bc2f361089cb3788d50c130294

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.18-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8c8537e2dc556fc91b55a19c5a0a64d390f32d9ced319b51f7f87a5a8c5468dc
MD5 f30b31283cf5e8f696aea625eaa4d380
BLAKE2b-256 f96cbee7de7f1460422c6f479103d7967d64e921dd1af2300576e18eb6399287

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