Skip to main content

GridGain 9 DB API Driver

Project description

pygridgain_dbapi

GridGain 9 DB API Driver.

Prerequisites

  • Python 3.9 or above (3.9, 3.10, 3.11, 3.12 and 3.13 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.9, 3.10, 3.11, 3.12 and 3.13). 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.9, 3.10, 3.11, 3.12 and 3.13). 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 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.9.tar.gz (484.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_dbapi-9.1.9-cp313-cp313-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9-cp313-cp313-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9-cp313-cp313-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9-cp312-cp312-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9-cp312-cp312-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9-cp312-cp312-macosx_13_0_x86_64.whl (231.8 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9-cp311-cp311-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9-cp311-cp311-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9-cp311-cp311-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9-cp310-cp310-win_amd64.whl (192.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9-cp310-cp310-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9-cp310-cp310-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.9-cp39-cp39-win_amd64.whl (192.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (332.5 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.9-cp39-cp39-macosx_14_0_arm64.whl (226.1 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.9-cp39-cp39-macosx_13_0_x86_64.whl (231.5 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.9.tar.gz
  • Upload date:
  • Size: 484.2 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.9.tar.gz
Algorithm Hash digest
SHA256 28a4b94efbe24b855ce4a90be7b9119ed6fe318359f7e1c6b19d9a73a5bf57c2
MD5 ba5ca69209f769b938b78c0c4c9e22a1
BLAKE2b-256 0479500934b006cc96a0a9e2a847625bdc7e7012e2bfddd0b45589787077f98f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2805bbb6d9b37b3026529937ee0e674d6e595e723105aeed21cb8938d97f46f5
MD5 4833b644df35897392677d54c27cbe35
BLAKE2b-256 ffcf628718323cd2e96512ef4d5148d0b229fa06fc4122a59ed3b651e25f2b23

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0fa23ac5da55fbf0369341078ce7563762457f32adc7b235206b21f5d0bc6256
MD5 3926a56382ea1945cf39cd5b4e5aff7a
BLAKE2b-256 963977ef3b130c195b7c1e3f37c6e579a655ec75f50331556cde34e93cbb2298

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 97f7c88de103945dd347a3efe0248199f9ff21ddfd6a14a3dcfe19249917d399
MD5 3eb74bb1ee754aab755b8d550d9b666f
BLAKE2b-256 2405cbeee4a662cd54e355c34510dfb99880a11f3c5727fe3abd8e07a92be531

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 4de885a8b0d323add117cd3eaad96c1b0379161a794a804eab4c0c5a95d237b0
MD5 877ca172257bbd94f694800bdb43ed5f
BLAKE2b-256 05f241c1ba7d2223914cc316d4fd6ed8c2f447671698f4e598a156269cdbda9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 36d614bd7c9987d3762d78e791265653ea02537423b666771364c662a9248d96
MD5 9b6dcdf6b6b80b4df6490cdd5bf71c20
BLAKE2b-256 c755038f86ba57d8e23286a10f02afcb4f0fbe01c7ea8b9c8509dc26c4213980

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 81fe4f33806a6d60f145d18694d2a5d10ce195893690dcc2a13526c53b99527c
MD5 8474c8cbaaa097b1114045a5db11c641
BLAKE2b-256 37f9687a4bb6d53167a2f447ad50286188c253d13a71226e7cdcf2d15ceac69c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 50b6e3b7c2be705bd93c23645d4e80111cbbc67f0ccf84bb9c5deabb1d0c1b01
MD5 03c29bd44c83c9e6e6c8e3c75ccd065d
BLAKE2b-256 04759954d48da65c5aa11b6010094adabe39cabf720b917dba64a746fcc6de4b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 3097f4e656008faa66b0d5cf2ee76c13a5780d3e9092961d2b9c34796cc34d06
MD5 4b9ed9947aec90b5fb56310827ffbf01
BLAKE2b-256 216eab5fdbea51fe59e56efa46d0aa783e38a468697db9163807d4399f246cc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b3eb7c87688eb92e3604bb64d027e4f79100aec13496ff659defce23935b8f4a
MD5 6be3731579e1f207854d98e022b8fb3f
BLAKE2b-256 844f1229e1029f985ee68e87730de743118506413d0329693a7e5815c1ea760e

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4935b0b032a14968f8e4bc48cff3caf6e66e98701a2461ecc88d14aa2f33b2e8
MD5 2eeba72e98d02ca0e17f5f0db540a1ef
BLAKE2b-256 fa4550926af70b418b6260494ad2c81d6d859d8fbd4659d0c51f04c3a60a2902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 fc5d090c1bd88a8a683401744ec878a47c0c23eb05ccc16b4b0a65891bba1803
MD5 7dcfb8317ac5765de997dac3c9e75b82
BLAKE2b-256 ec7313907dc73de072538ba47ee52910254dbc84f71b660d932a50b1af393088

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 39185beeaa146f774f1338d8d8bf0a22642c16a67c3c57c6b7c8713777c7b6cb
MD5 39d4d1f3a9448c9eec0f6625d32d3f28
BLAKE2b-256 a6c22823154acf0aa5353f00239ee063596e04c4992a145c636fdef00461a77e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5ec27c7c9e3f6b3c224a14d14a7ecd4dee1b5f9f259e31ea30eb006c836e28f9
MD5 7cbe4b8ef920549514d103d816922609
BLAKE2b-256 8f1749df68a5c98da69ddfaadf8f05690e8c0944743cd0b6b6cf941ca4a30004

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 33a05f32e4cd0ccacfaafbc4760d47ae25fe7484dd4fef6a13101666da44c615
MD5 4ce52a9d0e0e64e60fa6f5ba71798ae5
BLAKE2b-256 8490dcba7cac1640f327327dd74c849a0aecc66cc5dee7b59deac05d368a76a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ffa92e906fda8a87b2a190c79c912e636ec419fe497832461299a4dda10a9d5f
MD5 346a860a41e70205e91f3677ae5f73f4
BLAKE2b-256 7e61c04a9d7a3da9603c4e58dff0292f2d9c12931c7ea447b5d3a8080ad76555

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b167e0df7d0c2e5ff53c4ef12136eae1892061d939fcd0f1f725805af213cb1b
MD5 998666e11200d3089632d0fbf2dbefc2
BLAKE2b-256 b5001f54f4535ef042408f7849cf9650740876b335fdc3f9cf08f9d494205d5e

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a3b8e0d26f5ca7955a5c63ffc2c24f7c11ee3d8fbb76e8bb3442c75c3b0d7b7d
MD5 6525f97b86f9c787dcdcc7f4cca39910
BLAKE2b-256 b3ee86e82920e27c6943b4797b6080abd126d255184a37d0496af09d3619eafe

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bdd83a1e4185387180343dcbb6c642f841a9ec062b80644a0312e6fd99ddf8d0
MD5 2e461eca80f0779985e7f78d6c9a8ee7
BLAKE2b-256 b84a7a76afc3cd228e3c8e9db42b23e56bd25aede72830ae51f5c9bc3494217b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d4f77b0cab86e77b5c2b61358c284febb2e9845812f920aacfcd0157dee5d2bc
MD5 783a453e925a898c8035110ed7703930
BLAKE2b-256 9518d5e91c7db82d4b2149626300e9875f873b31b56323e4cef9dec0fa81cb16

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.9-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.9-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f88eca1a3104cc31a3a61b60c9a8c0424f35a514fdafdae822e7e7ec7fccd3c4
MD5 abefea69989b0215ee1ceab05fa8c555
BLAKE2b-256 b64deb7b0e4ebbbcad2c34602d22f6abb0688e544d6e856340f832ea8fdfeab6

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