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.4.tar.gz (468.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.4-cp313-cp313-win_amd64.whl (338.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.4-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.4-cp313-cp313-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.4-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.4-cp312-cp312-win_amd64.whl (338.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.4-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.4-cp312-cp312-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.4-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.4-cp311-cp311-win_amd64.whl (337.9 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.4-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.4-cp311-cp311-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.4-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.4-cp310-cp310-win_amd64.whl (337.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.4-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.4-cp310-cp310-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.4-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.4-cp39-cp39-win_amd64.whl (337.9 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.4-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.4-cp39-cp39-macosx_14_0_arm64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.4-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.4.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.4.tar.gz
  • Upload date:
  • Size: 468.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for pygridgain_dbapi-9.1.4.tar.gz
Algorithm Hash digest
SHA256 6135c63455f49743e2a2017dc1ea8200752a28ad8981c83059725af8dd166b76
MD5 f5810a338657667933159d601e95947e
BLAKE2b-256 119d1cf1bf867d4f72bf9aa5e20a3dfeb2dc38edd86725b38104e4e53d78b77b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8467a6ab32d267bd0923061e49d441eb01563e8fe3b07d689d92b0eb5bdc9bf8
MD5 d97a457d9d52bded7c6b4587e7b4f757
BLAKE2b-256 3a90cc464f0fb298d694b106bd37253134874595f397e359f19b3710a3145c65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f59e2e76aa1dbcae2c29f30009064be0bc5f564f1d0818295ae8334e5757985e
MD5 1e9674b8dd3cbba8f0353c469cbbb681
BLAKE2b-256 3f3566260fdb640c7c69031a8ee46fa3826fc82ff0dc2047e7d9e58fdc98ad78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 29e0e27344360920ec40653494d97ea7f6746a064631002642f570562d7745b5
MD5 900c00633ad2acaa8d4890865f773697
BLAKE2b-256 3c1d477a747956323e1ae42bc8be9d30550ae85390cba1694bf11e308084f583

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 b305f04914f206637597f9d38cfff067e2b9c40419e34cef0cede2ecb4742593
MD5 3aac1857a9aa63e0ae55e8a2d2334d43
BLAKE2b-256 9e884d6cea97df81c2dcefb13b64d4bdaecf16e019cf92348911d5baad32d105

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 df42e689a75afddd04ab8ad748a9f278be7b96306b85cdf2e05db1a678959056
MD5 5d406de575e0a4b8a06de59d4142fb78
BLAKE2b-256 261ba995ee8e784e79e670fa46a730a211ef487d29d9b32afe91d631dfdd5f9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d9c0266fc94b21c78e913da59c5aecb5e61ea8a5986f7cccea294fa77bbe348
MD5 6a684afd48e4d84d4658676e73d8faee
BLAKE2b-256 f78e9f72a4852864d8da83d79d198ab3e0789412dca75e06d3ec54a2481b5ee3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 17b4ba8a04369ecfb6f343638ce9d7105bc365383e35eb6373b673a4e4bbdc5c
MD5 48ec62d4a00db4e0bdcbb04a81d7319b
BLAKE2b-256 b7f4e351e0538dc2cf908d3fa5192b80ed5b58724be658ea0128a0d803fd4cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 7a5e720856f85296b12137ef0f86e08fd74875e31933e6a2f8da4efbe7b6577d
MD5 6876071fd62b6725388fdf7437c42003
BLAKE2b-256 8a2654906dd7f1b98db338a6d9df86317893e7812bb4cdc5153273fffab67b2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 efcfa04c7087d0f7ba079864cece394ab245fc9c166e02f5d8e15fcf855225cb
MD5 d015fa2d70089abb12c1212d358c5f06
BLAKE2b-256 f9c087da1292842a8dc5c70dc9e82f4e79848a992176547f8afdf36f9b5c3d01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f6f263b182b13c9e7d828f26ddae56f79b0da5e88e333ac9cb100d407907394
MD5 737d195522ff4c9e25dc8df5c859bfd3
BLAKE2b-256 f9ba32f53aadc184439aa233f6ca9f84f4489da05c777a3fa4063206c45f8d68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c8742456ce07cc181047e30a9f5e2e497cb5a6099da8c03d536e134a5c5bafa1
MD5 f525b0399015437dc0b02d38a8de00ee
BLAKE2b-256 5a7422f11729182c1766e733ff55c9c9384cb23d2993fe7b9abf05a6577304c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc0b6a4a081cf525e2d7cbb346503aeb6e8ca7eb77e1dee550423922d4b6750e
MD5 20201d2de777fc76026b82129cb7cdd2
BLAKE2b-256 a42494a6ff143c5356ed0f902476f74a7ac397d03fccfbeeda118537b00f1998

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 20526865ae248a257e8a5c4a339068a59131ac6c62809b8919fbff3e5ed16a76
MD5 0eb896120d0c5583ebc8eb274ef56b15
BLAKE2b-256 0acd536d9d47f38bb01c8329061090acd6d1577950d1e3d175adba2b15f69967

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30287c4ce09f41d601f02c25b9bf421aac9759a056875483e6b21bece42954e8
MD5 927fb6fbffa1fcb31322a1ae81f3ed25
BLAKE2b-256 2727b3d650d840f97e4c889aec009852c060e808ea8b755707f089ebf7eccc49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b653e7c46802dd173771f03c814b2653da2d8d9fb05e6f85ef1edadd3e00c84d
MD5 db66bf7b9a229145e28e45bfa9c4ebcd
BLAKE2b-256 5305b4340a54de5f15e8e5d3cf5c2574c279c41e4c56d021382d8ffa747055e0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 082c3e0fb6d2ce0fa64f0af62765dc680a1cc13203eabc4dcc5da7cfe9d57b91
MD5 ce62601366657533247ea8744b841798
BLAKE2b-256 00b682f6283d92c35a35fbb86f328978ae2dde3ecec75638fe96b6c9b35076f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 0362a0f47e466c46df647f89b5d0d8ce3ca267f617362579055a6fb8d420a8b4
MD5 dc4bb0ed26f8d58f1d77d478b804633c
BLAKE2b-256 c976c3518ac8de0c9453cc6733d4045359d63ec1257a4029a23681e75f857b8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 58f79f0c18578a62fa1558202c732c38c3b3ab5befeb26f23f5b4705fbcdeba3
MD5 36289593fab3463a2754c92501282098
BLAKE2b-256 5789d8ee6c71484ed2a3647f13ceb7527845959c8c05a39f2652ce6ab2e05a4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 896b70b32c43bcd10273406d03f765d7f901c419446453c96a79d66595110c71
MD5 2f9cd8baec745a32bb5ebf617f86b7c9
BLAKE2b-256 d8a75ad39fa2b997a9b2055e9d587725124dbbebc57832746516d590eef417bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.4-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ef9c20925febc773526bb78049b957922df9a0ebbb4e4d3f7d7d3e4993d4461a
MD5 bb89557bb195262830c535df6ba37223
BLAKE2b-256 c525f21e98ec2d8eca41d80fa321ec6e7bfeecdf24ecc627ecc5a246cea5b96e

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