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

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.1.14-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.14-cp313-cp313-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

pygridgain_dbapi-9.1.14-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.14-cp312-cp312-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.1.14-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.14-cp312-cp312-macosx_14_0_arm64.whl (227.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

pygridgain_dbapi-9.1.14-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.14-cp311-cp311-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.1.14-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.14-cp311-cp311-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

pygridgain_dbapi-9.1.14-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.14-cp310-cp310-win_amd64.whl (194.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.1.14-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.14-cp310-cp310-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

pygridgain_dbapi-9.1.14-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.14-cp39-cp39-win_amd64.whl (194.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.1.14-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.14-cp39-cp39-macosx_14_0_arm64.whl (227.6 kB view details)

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.14-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.14.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.1.14.tar.gz
  • Upload date:
  • Size: 489.6 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.14.tar.gz
Algorithm Hash digest
SHA256 b50399d5d1cf97b85cc59744cf30536981148867d0778030a026a468f03910ff
MD5 7f6c0e4c31c0640b11b6527bf1deda5a
BLAKE2b-256 db7405d2f2cf5a2e12ec16883634b463d5805a6e3232a79e9f7a5644ab0c791c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2557431ea4dc4d2ff76294e9736a4f418ad79685deb82e2a1835b7ebf747ead0
MD5 ade8461360561f98e122b96132bcffa3
BLAKE2b-256 d850b7626740f6201bba1458400a0794be9f3a904855c195a5e3652a1befec16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a96de2f7b935f951beaff7d3de7fbcce3dc7f45b911cbc1c1ef41818e1dafc9
MD5 4aac3376f9c2981da280135e1daa5306
BLAKE2b-256 5ecfd307490ae45a735b6f11b306dd4f8f31c170fba0438e6684abbfbf8ae6b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c20f9fda7194457037589d0344e8731f8e4a35808fe56e88cee9e2a7ff92ec85
MD5 55a41383333e07852be45656ad8916cb
BLAKE2b-256 cc0289ceace17b71fcd04da45ceb9f0c8d69cbd65c22b43c9df8e29205cd9873

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 37b707984056a6a2e0d03e46042ed4795efe511b1c117258ebe84fadb68b473a
MD5 9423908f0bc85ebcaf9aa113a69fb27b
BLAKE2b-256 057f1acb55a23aaf4c3e964b34d4b650ee6bf1e0b5fbfe1738c3c3c88b20b5c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3f7ab34af4c9f46b605dee82b294071e3012256a3bcb1528c6065c46289eae81
MD5 cc6971a91e45552787150f8c86395278
BLAKE2b-256 44f0985911fb70ec6158f42e58b98fe2d6841907cf2e04936a58ecef77fb6637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7493f9ed266a84389c52f2db99ec1a60f08e1e584d2a5a1734d9e5ee59a8f4c
MD5 c40170344f49bf2a977d281c895b1cae
BLAKE2b-256 a95a638ba588299cbbff242b1846d7bad82b1814b1e8401783bdd9ea840f21f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 2bbb5de1be16b9d0f9e22723152fc3ef1f62f5b2a19be0705e3d7d4bdab30725
MD5 36275dcff59295302c352be8b7a09277
BLAKE2b-256 a68ee6963ab11a3e15c1e66159a3b743e6a2c6f6ab4c8c95ad2069d2b195d6ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 abbd2fe1d0aba81e2dd9a0ba57038c0a04cf3954e31209befd2e5787e320351b
MD5 1397787e4686c01b7d2240ba5a9ccaed
BLAKE2b-256 b66456efea8a8ba7e2b7a14da0a8b5c2a1b47bbdeca8daa83ae2c2468f2f1ebb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5e8deea7c5a40e1d9f9cd74039dd44bbbb31f573c59e5124ff39159727b275f5
MD5 beac264d07a0801f4c7a7fbb42716219
BLAKE2b-256 066a44861846793488f476ef47d796ae170f25f5661a188158b32f4eef5db5ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 20a28e1d5481f034b23b65f77103a23a7bb1862482aa69040f4ddac76c34fd30
MD5 a33997916fd11fbee2e8f00bc200e19d
BLAKE2b-256 a5c44ad7d44cc1baff57633008f06cfbc6b7a0a566a38d50266d9ece0367a2dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 474ee8ec1572a71767485dfb47d89ad285254269bd2d8c5b7e3e933e0088a952
MD5 d1c605a79af9d9a86b365fa6df0e79da
BLAKE2b-256 be0614256decf629f9fc0f48bdb023f2cb80493311270c257eeb39b5d30c6eb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 dc8704712c5ac6e5640be4c24d08fff756a8ccd7eec27157063532f0dd24dadb
MD5 9a308c92b8f7028a80956139f20cbdec
BLAKE2b-256 23874fb2e7ae53d8f1440162b8525abe8a5f1c4ea1e4b20159333df0cfb7df2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b32eccb437c483d98cacca286d398076930c0bf3bf13a67d2a71e640f0919336
MD5 ea395288b2daa9c22c2a3ca8b6d10725
BLAKE2b-256 ea50875e540afd081e28778593d1f0d50c39415b20cad70c4e7221cf0de62e34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a88b204d2e2a2e9de82c719405f4d75d6e9aa8ef74243e3d9bf334fbdc8b178a
MD5 2bc52097c3a8320b5267a5f490940564
BLAKE2b-256 8e23aa420709cc3e5074b2a309a64b4963eec7e1eb3a9881adf0eb685c682f4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 305e7c2cdde5d51c2d6ad6a06124922b1d4907895b106d12b268a92656bbdb52
MD5 9298bf1de9af4e234e577d94c32631c2
BLAKE2b-256 10a1a9ca6b7fd45e01a3a013db0ddb5032441dda7ce2363babbbcb8d3748b279

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90e197f5a8813a18a1d3bf0d5aa5d08d30b0c8d899912804ddcfc5b7a67fbff0
MD5 bb37e4d955d2bb3b591c706e5e7a18e1
BLAKE2b-256 16221bcd14135c118c655372953006057e2f6cc6824cdbed72d469e465ddf851

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ce1b6c1c7db656993157282c329f249453408b757cc7999fcd89b5ce988475d3
MD5 c32e7f8879ca0efb725218d2668e85c1
BLAKE2b-256 eba2adb1a9b93bca455c02e5e8c05ae8b57b6755e82d0eea40b38fde53b1453f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 587887411038732419681264ed960b20941a9c87a9d2cf527e359d699dc990f6
MD5 ec622711659c743f3b06a9e930ebe716
BLAKE2b-256 2835419464169c6aedc5bc087fee55cdc339650729471044695bef89fdcabe06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d229bba90a212ea1732b4f193b981067d83cc20b398f63af8a7001a5015e4f8f
MD5 a8d54f48e3a691bb8963bfe2b656ba8c
BLAKE2b-256 b10cb35d10ee1ed150b38f34fe0afb0c8d0064c5f0849061039d4fe5e621b9a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.14-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f8f9952b82b300c7d145d09d62e40bf2dab30b35cdaaa1c7938576ae66e333ed
MD5 22531b811499d7b2d4607de2d9afe5fb
BLAKE2b-256 f2401d7c5f986029b72590fe251eb8802764bc8d92e27ae13f5e8ed9b853107b

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