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;
  • unixODBC (dev version of the package);
  • 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.0rc3.tar.gz (442.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.0rc3-cp313-cp313-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.0rc3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc3-cp312-cp312-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.0rc3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc3-cp311-cp311-win_amd64.whl (329.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.0rc3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc3-cp310-cp310-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.1.0rc3-cp39-cp39-win_amd64.whl (329.3 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.0rc3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_13_0_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9macOS 13.0+ x86-64

File details

Details for the file pygridgain-dbapi-9.1.0rc3.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.1.0rc3.tar.gz
  • Upload date:
  • Size: 442.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pygridgain-dbapi-9.1.0rc3.tar.gz
Algorithm Hash digest
SHA256 4bf4e9d5f74d41da1db6dc8c0a4adb626ef7a6fd616b2c40f240025727094790
MD5 c0a5644c5fcefe62d86478ed9926bed6
BLAKE2b-256 d706b6a4edcd2ded580698eda1d938e86186f2f01877ac1bafa7de3291897ab8

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1fea5354be8c889a90b8760dd450bc5334b17eafcfdbed66c6f678be85f0f3d6
MD5 0fd397f3fafbf3d59acca0fd50af633c
BLAKE2b-256 ea33026f9f961674a3e2624924207f4d462f6c4971c7fc190f0760596afb7dba

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a2423cb1f31977483a71742376c4f080e206a4126d2262a1a293d61d7754540e
MD5 04d325ce2962efdc71af68618c06d2b1
BLAKE2b-256 024ce7eae2336a0dd884aa0e185320263a366407c9e46ceb60ed0e0563b78611

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2e11ed0312ee0ed58fd4136da6998be5b8cb338ff7e29429ecf07a21b92b35f9
MD5 6a7d522e388a8f0e632ef7baaff8aed7
BLAKE2b-256 6c8a0a78a862180d0a0501f44fdaf70a7212bb0a1fc7bbc813f634ac8292b65b

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ceb5ef6035f7428c5430fa21648d4e7fa1c73b3ea84073a272e6fb7435b7a582
MD5 cb7bdad2d42f187d5d2b6ad65adc20c9
BLAKE2b-256 66dbdcf345eeab2f0c420bcfff31d3775cb65e0fc31d62a93e56d3302aaee3a9

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f62780368fd38a08d31a9cc99905be4924e1353b283b15db9bb82de100d91214
MD5 061abe89f3bf260a2df47ff9033e5fe5
BLAKE2b-256 5befe78137b49f020894b86d55f71c69661757a5b9063501447d38a2c5a0b19a

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8a3177d2d0e4b853c60d9b497544cb8c49b74d313adfbebf747bfc1cd24d34e
MD5 faaf5f07df97ab49ceb37cd263586b13
BLAKE2b-256 dbbfe7ab3b8e893973e9cd6a3d2c0fefdc293cbed6865b936650b9cb80c16abb

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 28817e2ec9a247f1d3af5326d5cb970ed6a4b96521bd3950f0f3b607ce6e82e5
MD5 27378fcd42c0328baefe05e121d77f51
BLAKE2b-256 2026c298d4a4c927a229d628f05a1d544fd9001e82407c7e82cf6fa8063bc3a7

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 5935a5a02b5e2b3b869449a59ba22cf1869f21f7eaa3936bbb132a58a1e7c04d
MD5 11176e4fe40d2f85406de70ef26574d2
BLAKE2b-256 f8968d8be12d61edd8193f291356288df0e062fe6b05fb6bb30c818b29eefd41

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 002f2ccfe0a976d029b0ae53725230acbc6d1505dff5bd4477af7088111772b6
MD5 a39d7b68deca3f4262a23d4f5f4265a3
BLAKE2b-256 b12613ebfdab54682bda9c4b50e6f7befda90b6459274082ce662ba4eccfaaf6

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a87837f46411736b338371ff666721046e41b5331e7ee578a48ac5602d50f38b
MD5 ac0d2423d26a88063987188983b2f4c3
BLAKE2b-256 7ba7c4645db23c9efcff9fd362707982734276ce50214ca9be0d76d895e145f0

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 4bd86e79e98656e5fc178e7d2b46272418d003e4485f4353c18f5df492d7a139
MD5 f7839ca17a06eea17bd9e751fb325ed8
BLAKE2b-256 d5175d1d5cdc2cd2cfe98077e0341eaf2e454454fbce41ba5e99114fa2465c3a

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f26b5f385f83a837dbb5f7f09cb1723526d4e6a59df247b5129af6d6cda694bc
MD5 af3545b024acb440e2d12a1a64d547aa
BLAKE2b-256 c70c513794cf474bc7a290a007d86fa50a453e212b8dd1de32f33d3ec7799526

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9f4b4f70dadb175d27ce3fcddc83995a12a89aabd372420e1b6cf7dd626038fc
MD5 ed3f3660c31eca0c8cdb4d8964bd049f
BLAKE2b-256 d14a81108565940a8bc4caae25c7732da7ff6dadaa5bff1c1874875852bb9225

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d93b47b4c4aee9527628e05abf1826675f34e1e64612ceabb94589b285d5ffa
MD5 222e95dd2f707bd37c1b97c64a025b01
BLAKE2b-256 b3d9327fc9dc85bd51f73fb300c655630bac0c1043e76147d46c480a1d3038c5

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 34988dcb90d06e41b4e4255b0e8152ddaa91b7a6e6462bc3880f37a187697a69
MD5 91f83bcc273fc47871e1a3be091ab58b
BLAKE2b-256 c5246721835435efa98cc1813ac7b6db05cac9f1bf2247f5e6a4c16158854c8c

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2cf81bf52a859a34b3335c53df90f43acf96de08f220c04951f4bc87581e9c80
MD5 0f4004e36ef95fb75d21a604b270dfe6
BLAKE2b-256 71224370d7c1c1bd0ebc108239845ff91d14a9cff88653fde512e364493955b1

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 fc92701dc4a573cbd6568afdae568a1b5fa98afd0eed068fa8a8f412d1579bff
MD5 6ea9994fbfc38f6e8041bb146d7b2aeb
BLAKE2b-256 260f95963529bb3088ad08f7a873ab0295841482891c857c6798ed711e153807

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a19c3154fb750ffa153745a625288133c63e10f2c97c1446041e5e4bfc2e64b9
MD5 fef3d730159c37d7fee935841a7b0c1c
BLAKE2b-256 857842d31ef8392e785f48a12370524825a4c7ebefc76d98b54455f2e289a6b7

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 58e0c731c19e28072e6bb59eecc298ffddf9db053feaf10fec49dd131d2b7353
MD5 b95e80e52350fc787641033840b320cd
BLAKE2b-256 79c099f978b039fa36a1152abdaac09eb8b3e6b226bd818811ee4ffbea3c67b2

See more details on using hashes here.

File details

Details for the file pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_13_0_x86_64.whl.

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc3-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f5f8df4c33805408aa4e3e3f38cab917963397f8201eee7ec522456d7de03318
MD5 039e974389350951da450eed73a4308f
BLAKE2b-256 f0db263d598d29d2f1b2cb5cca0a5c45d723d89b8bf260f6d52eacb496ab840b

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