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.1.tar.gz (443.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.1-cp313-cp313-win_amd64.whl (329.5 kB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.1-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.1-cp312-cp312-win_amd64.whl (329.5 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.1-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.1-cp311-cp311-win_amd64.whl (329.2 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.1-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.1-cp310-cp310-win_amd64.whl (329.2 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.1-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.1-cp39-cp39-win_amd64.whl (329.2 kB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.1-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.1.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.1.1.tar.gz
  • Upload date:
  • Size: 443.2 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.1.tar.gz
Algorithm Hash digest
SHA256 6713a30d841221bad6cfe45521b8d559f5796619760f065acac5ed43da28787b
MD5 62ba9f246efa50bc30b3d7ce0fa72a00
BLAKE2b-256 87abcef6654ccbc2df26f5bf3e06ba811fe88e8eadec6a9d6e152542254ce99e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b96fd0e2a2d6bb3e6220b6cb38bad5ece96b307ba3054307f0a88d2fc1fafb4f
MD5 9a6d266087c98ae47854d5fe481e432b
BLAKE2b-256 9a8b7e60c64e8866ff6ebd145fbe6c7cdc1e4b39bef4fc08b4ff8b7eed34d059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b95f115feb1422aca6bc03b636203cd2e0002668e4fd1933dc3244442853615d
MD5 138117fa65e8ffd192ba5841c3b3a8fb
BLAKE2b-256 e03e0de4e0d8a0f9332bfc6d9200772796409d4cb5a168ba298c3630c82f9fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b39e87db26d9d4b992d2042e9c0c5a96b5e60896ed2117fcfa4c0d849229cf37
MD5 690079491d0aa7f7e94aecdead15eff9
BLAKE2b-256 bcfc95c45059049800a90b023cbabe9b67664b1ed6fd9dcf3517b8f8575bf212

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 80b697183e5087644f937a1a52b73bfcc0278d91ad5234fdc4828e31f1483d68
MD5 d7a40deb1b1b69e1a71f204bb29ad099
BLAKE2b-256 8cd2b6d1b6c7be7d39c79f324194db170f0af76f1f390992359bf2899d3308af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5a81a593950be58404892351c5149f43668b9bf27007f75f41cbd9d1401addab
MD5 4c9b2e16f7c5f189c1d440afd59fba39
BLAKE2b-256 0582e79c432a56ead5f7a0c3d9db3c67935e3cef529e46beb05a1cec6322493f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b54e0cfeba2b61e08a9d4b994eb50bbfdd414e8aa38d3a2028651d99c7765ec2
MD5 197d8ea0b6511ea7f22ee5a86e96d175
BLAKE2b-256 148926fd87af4da1acdcc7b4b901e95f088b4bd04593bf8e2c843e84150a650e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c30448ca59b53bda13d6437f4b12220ab58435ce741d95b65071a0f63c2096cc
MD5 9c2608942ceb5ce1b649438d28f4ea8b
BLAKE2b-256 1c2bd468c1914e3027dcece3df53d91f61b8a86e64ffaf343a7701a288232aae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 969577e7c3de8591f4979a72d06f44f24bc3488dacec8eb14919663b1378e2e4
MD5 222367d3f21c3da85707462fa948c3d9
BLAKE2b-256 ef140e8cd11292ba12be989611d628ecac655914ad88dd74b16d3bb859d3234c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8a4ab3eb3eb168bf57465aa52a586295a001845ee48a42f32a3cc8d2517ad8f7
MD5 8a9c2b2a7def9f3437aa47bb9bca102f
BLAKE2b-256 a9b1720c3ed4eee7eb0b6ffdf29c70a8370d3c49252bd94e450be0faf4e59b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4a8f3788abe229d7233bb594fa184b99356e654822dfb98b6c98ee003a3e1d7
MD5 cca1bfd5c0993ccb75e15261ba7e53a2
BLAKE2b-256 37e97f93e8616a34e59b39184ce0dc90e906708ea2b4906b4ec164cbc8a8cd51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 9d62d41929d1b04f96724488b37937ddc19323777eb9d5c173479dfc937ad508
MD5 238a68eacdf69b4e1ed599c10405dd91
BLAKE2b-256 24ef5752d32eddd6d486f9bbf4bfe5d5490bdda871fb085fef393ccdebb48521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 eb1f948495fdf2dcfbd8e29c33de6c8029bfc3bc5957d60aeb4242bca9116c93
MD5 d614e2d33ec5243dc08de806c90baa90
BLAKE2b-256 e7506529d5efab99de19382a91ed6a36b892df85dc265a11ccbd9cf8a0e2ec74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 32f359790b6a18262d68fa305ff5e9131608a1e1287dc4ac42e306ecf39c0a85
MD5 0f5fe073c34019914e8597f8cdf432e7
BLAKE2b-256 1491162b1e9adf9dd2d0bb4c16b0eb9978cdef57d9f3df0101fcf0c69044b1e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c05d97efec5438e17406d7d7346272bcbf7c220b0205692f28107cc007decdb
MD5 c0b2596c0159cbf27cca936bcc46d5f0
BLAKE2b-256 162369d99a325d20ab810b960324c606b5225714b4a4c4e163348fd573bac23c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 1f162ec7edf53b6b4a2e66c02599382f4e64551d2655f66aff6b023b8783561b
MD5 cfa9c102dc4bc8cd09c7375cb12d564a
BLAKE2b-256 c37df6dec128ff490c126af770c598c5e887eb541e4aa600fa86cc0565c7c986

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b622e33d7401e058be675def6b124ee6bb820d354ff12eb253c5ab614bf6fa8
MD5 61709cea615b411b85eeaa63b971661c
BLAKE2b-256 e0c9efc6872403f2bbb26ce125af7b2910e5a36b8008fe7cb95b38ffe6244256

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 51f90ff2570128aa5f4ed0d5f801a38e8b9bb8f8179282f0d4cf5e8e542e8470
MD5 8c2cdb008b1731cc2be93eac74c43b19
BLAKE2b-256 472f15989a4cd67bf58693b67bdec092b5f3f6cff42ff005088ca0e44f1aeafd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 761c57aa4c0981a1c303ba3098fac21395f66587b02305bc4fd0b80413d0a97e
MD5 c18c67bc8e09e773d9d311dc64367d9b
BLAKE2b-256 1e991f9a48b4fdc08e8ec054ecb0ffa67df2bfbea393a1e97b04038a4f196fdd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b7e574a0ea2e9844dec5cc4070b2a0f2011b1aedec1a0cb15ce3aca5feeb764e
MD5 de5b31671581de88fbe085e599452621
BLAKE2b-256 d4860eb6ef46dabdcfbdddea1907dba79a72e79a012df2603cee1a8e8c281297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.1-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 67c890f7a9012e9f25748738bd63fba57d7302f6e2b02503d8c32114c875be2f
MD5 dcb501f22a232fc0ea11c36f3d90f090
BLAKE2b-256 9bed80effebd4a50b024f3ac4530cc3490b56a4f215b7960e933ad7c907634f3

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