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.12.tar.gz (488.9 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.12-cp313-cp313-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12-cp313-cp313-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12-cp313-cp313-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12-cp312-cp312-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12-cp312-cp312-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12-cp312-cp312-macosx_13_0_x86_64.whl (234.0 kB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12-cp311-cp311-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12-cp311-cp311-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12-cp311-cp311-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12-cp310-cp310-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12-cp310-cp310-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12-cp310-cp310-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.12-cp39-cp39-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (335.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.12-cp39-cp39-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.12-cp39-cp39-macosx_13_0_x86_64.whl (233.7 kB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

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

File metadata

  • Download URL: pygridgain_dbapi-9.1.12.tar.gz
  • Upload date:
  • Size: 488.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pygridgain_dbapi-9.1.12.tar.gz
Algorithm Hash digest
SHA256 a7b93caae6ad7181b43d8405d1bbac925207113324c72e8b33c277907505a3af
MD5 6804940a1ba274de5e484f34c48abc4d
BLAKE2b-256 db98573ab6a5513c53f0ba5d149d556691e443cc081a308e2bd018feefdb6d62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9c1999497bd457f8658e92c5e6424440f29a6515ce579fa916ea2eca433c3c61
MD5 d2029fc1219234724f484024473dac77
BLAKE2b-256 1563c52c7fdf791f06364c209b7b77ad959db016474c5f4d921c81f97289bad7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b0cbf2a6958e9714e48ed058a6393d747517989908946bf83d49355850a0902c
MD5 e560c5860f6a9fc1451c40fe72d558a3
BLAKE2b-256 d057d6a85ae76b29b442a7ab30d61bf0daed76d7c3968e1ff82c85c71f8d9ef0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 bfd6422fb01694c97912f6f365589603cd79238bb5b521813d5012c3f33083aa
MD5 e38b2361036a515411f63247e4a225ac
BLAKE2b-256 641236bc3a1a7b293a166c4a34290a3b3a524493462fdb457f9e72ab651881d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b7859b7455b6a09a0e69db9e50f5adbc338540ac6421084fe87fccae114ed7af
MD5 b293f431c606527334459575eb10b3c8
BLAKE2b-256 8eb9c16d4013252947f1c74d91340d8f93eb6e223b43b58ddd0e869d576e39b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2c807521af35d04776c39f6c38ecbbeb58ffb65eac4fbb8554307b5b285d9387
MD5 de77c38751aecdd60a99e868d484b1b0
BLAKE2b-256 a294a33c3455e8f85c29e6d1728874ec92d7e9fc4c0221377ba2d84b6d8e242f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f0b3ffcea362843d3994a60499deb99449a21091b69e534d6e63e8f8016ab66b
MD5 14b80e63104d17d60be9189fb42330d7
BLAKE2b-256 72648d853ace0f32cb0e9fd4e12343c0718c21509104bdd30088d493567ef81d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1c0229c3e3895ddde7f41bcc5e2526a0d9eaf44b68ddf5557118edf4c61b281d
MD5 23963d729d0f525d2b9015c44b46e7bf
BLAKE2b-256 e8e7e946e8597c2aa401a8785319de0628bc245078b793c8f5dc7e50a2f2e2cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 6e861b44540e7d69399cbf5d8a5e631f2d0599c75fe061d86b5e475c184450d0
MD5 8661ea98262e1fb5bba329548bd10101
BLAKE2b-256 4a31aefafb9e73ebf1fbb18bc6f4a07ee65d3dd1006ebb44b285341a32af84e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 0b279d410512b46d2bd25b6668633aa269feb6851ab6f8e216172720ab5360c7
MD5 e44d89cff040ee985144db6b50346e4c
BLAKE2b-256 0dfd18930c622cc484c00472a78924a1ef48736367853ee059e6b6002eb40a3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c5b2e381d0a7c20b52eb3910325dd705d511ba770b53b22dbff2413cd7bfacb0
MD5 e1e6841957be1ccf9ef02b7d8281a0b3
BLAKE2b-256 b1804e1fb7a8cfecda385dcf708a28be98c60a391a3fe70270e2eb72fb079204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1d9651953ea0e14fba0dec0ad90a4aa7edbb9172c196728a03d17e0e1c945b16
MD5 5bd8f334f6ccd4bc4283ab999be3e781
BLAKE2b-256 e401f08a5eb848eb307bf31610b228e84b35c3486610a78f3d9c92af9f6aea9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 e5bef78a09dceabe1f3c8a1dc1a20842da34ca1ef262b33a517b8e51500a8539
MD5 5525307ab43b62515749cf39afd784fd
BLAKE2b-256 1a430ba545ceb82fc35719d9047aa572af7a1968d819c6977c11919f6f3f4106

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e2fce5dd3cc833406cebc7e7ada487b84483f1a1c7841e4fd40601cb256fc704
MD5 e7153b751499fa81a88a1d7b859355a7
BLAKE2b-256 316b70bfc26d978f8214a41f1edf42da645414bf1d374d486d43d6c928b043c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a5f5068eed7ddbfddab134c01e83019ec82353eb725df4cd771c0176a2d68228
MD5 e8206d1239b1f2e1e36df06370ae823d
BLAKE2b-256 aacc91a4fed48bd80267900bcead1a239a31a025bb1308dcbb2443c946a3f935

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 06a283861094fff1ce9d37c721c3d45f96730e73576695b9ff19889aad7fe15c
MD5 3da06c1feb40fa01295aea76a4f46453
BLAKE2b-256 2cedd0ee024e63e72b1f9087ecf03ae785ab681a2ee9b046fb8d574e3c61df29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 940ff2c10be945344795b8daa33203ad0243e0affef2330c490c7004453611cf
MD5 ceca9422e8ae5ecfa4a5ab19786f89df
BLAKE2b-256 f2d93fb1ddf8dd71056d0b71c91a7123f6756c708191d321d769d20534e85ac2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 11a87fe85870ee7562c33d95263d9fd299c08de2af0ed7542ca23aa407d8f924
MD5 41e5a3e45d2f62ffc1bf979851c0986a
BLAKE2b-256 29e85ccfd055f12306aa82f4dcdaaf05c54275c190acff6d6bc78e5064b624f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7e9ae889c91a720917af547d0ca6f46997ced0e8d31735b510ff1c677d4e1f3
MD5 04af98dfd039ad7588f96858718da9b5
BLAKE2b-256 c81ef3e71840fab7c3834a2250cdf224c1e8fcb88e2bbeb5e2fac5b59425be58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d32a59886c76b48fccf98d2015d7a84745dc443d687f2843f6ccda171282a11a
MD5 cdef4fe255295a917190ae15d6f5cb84
BLAKE2b-256 280fbdaf3cfc90258c4b82d4cfd4389cb8ee91f4398354d879551dab176ab37c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.12-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 1991f17bed55034ada6ace158f81e83ecc5a55db94a73b67baa83e9e5910865b
MD5 dc5b5a7313cad8a8dc5968e93bc912f8
BLAKE2b-256 39696d81b23b716981757a8153fd078ae175839519119c00cca37249dd428f99

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