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.17

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.0.17.tar.gz (444.3 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.0.17-cp313-cp313-win_amd64.whl (330.3 kB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.13macOS 13.0+ x86-64

pygridgain_dbapi-9.0.17-cp312-cp312-win_amd64.whl (330.3 kB view details)

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.12macOS 13.0+ x86-64

pygridgain_dbapi-9.0.17-cp311-cp311-win_amd64.whl (329.9 kB view details)

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.11macOS 13.0+ x86-64

pygridgain_dbapi-9.0.17-cp310-cp310-win_amd64.whl (329.9 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.10macOS 13.0+ x86-64

pygridgain_dbapi-9.0.17-cp39-cp39-win_amd64.whl (329.9 kB view details)

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.0.17-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.0.17.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.0.17.tar.gz
  • Upload date:
  • Size: 444.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for pygridgain-dbapi-9.0.17.tar.gz
Algorithm Hash digest
SHA256 b0c1708d9300c650894bc08aa9296fa0e0e968257e768d9f84bd818c396d7180
MD5 3028298cea3398565689c995d5692d38
BLAKE2b-256 7ba90dd5f8fcd5fcc0f43d76ef0985abc004962465a8c64e2ed1bb61bbc8ed9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cfa67fb18c8d8e9c7f0f40a496abb0473259d564a0d4fdaefbff4cd764f559cb
MD5 649ad2b35851e55cfcaa28bcff7f885b
BLAKE2b-256 4a17676161728e5f8454757373a3f15f2ac1f10d4b5abecb28f4c440d08784ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9f94d075d52f8fcdc280ed827d086bd2a8df9f53919c1fcb810a71e2133e9529
MD5 20e62eef5412798ae74d15f6b1becd43
BLAKE2b-256 91b7c313a38f02f33f17aff2611fa505806940d803e835c700d79337608883ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dd59d25b8bcca0d709adb77800a0550432ac5b1a65e8df88e555eeec8b5bffb5
MD5 543ee9a2db3c63896470a5dbfed16827
BLAKE2b-256 3d4334edf342fd058eb6b248adc6a7b3d3e6b4804811abdf56bd23892db6f248

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 79ff2abad6e5fce055c83d544821a5a7392bf84b19436ddbf64eeb87f43f4897
MD5 c7da835443adb5b507ac9dfcb968784b
BLAKE2b-256 87e19b7a1694b60f6fd410e71ae6316e092f1600e4055cbf3b7fa81f1b4302dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 74580b50bdbeceeecdfc17f7e368ca12ad2e19471d039267aa1dd155af1991cf
MD5 bbbda686ecbe36625477a09f6a52948d
BLAKE2b-256 91c1f48bfe43b5e79041f842383829d147b0c17c24f93134a8ca42ddcedff739

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29ac4bcdbd5f6d2a1282575ef0aad8e0d363a0c03d8e1c157a9319783878256f
MD5 6d174dda2868aa9504717c650b537def
BLAKE2b-256 75131929d61504049129ba648938d9dc611c0a7b8347f7ebf54ce9945701734e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 036bcf60c5c15c70da15294ad678d5196808caf1637a14784be1837834c7f99e
MD5 66d61514e059ea74cf055b35e5095f6b
BLAKE2b-256 0c8ccfbf273aae84bd0c75356461c66b548da2126aec890642c4be42266cc95c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 0b5c465941c157ca7805a2b31bdb8b4f036633371e735f0ec4454c664553c1c1
MD5 2920bdb69237eb6e31f66b752377361c
BLAKE2b-256 a8547d2a973681a1d6b98b67594ce400780ff84200b4210ab0a0fba08bae946a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3bc40c001fd5665ee6736d956dc23db71b96db8b8f3e1e3cc241749be1c1fd85
MD5 787ccbb8946c034cc6c7d75e2dddc87f
BLAKE2b-256 7e171af549a38c259a3495b821e0a3ac2c8e94f502bb96ceaa4649c0ca6d1266

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79d3af2641e67b29f994ed4ad23126e52957d40768b01cbe815c7579421f7cab
MD5 dfa44828946db98afd87ceef721d30ab
BLAKE2b-256 11e0e399982999efe028f92c11ef0b276c8ed79f1ad90d30b28694d369497869

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6ed97d6f7d76efe7b63fa6224a0e0767075682694a17db0a3f77eb78bb002a8f
MD5 3fd30144e19e463c1528a97e88ca5b0c
BLAKE2b-256 8414cd934b2198f14f14ad6b75d95530e2c10c9e034b201829178d3d9548f64a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 049d82c8cb421e9d7125d0f96cd29945e0c2b8d34faafa2bb4b0905dc9d259c1
MD5 b2050d49d93a9a2fdcc87c740117255f
BLAKE2b-256 bcfccfd0b7cf2eae7d63e8b0c4acefdf1cba61779e9332a49a78c9f47a92e1bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d5c49943fc032ffeee1bf779a9ea6a4d68161c59ef502a4f613d30a7766e82fd
MD5 907656f34fff784ecd4f8e65abbd4b8a
BLAKE2b-256 b5b616f77f23e2e53513a5b5da74bb05da50136f1149db74a92dc4fc424f6486

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e39a454d6e6501330a4801404f3075998be99eef8690399ae5340323b8672a8
MD5 24f04d7429a2e29bb5fcb5da9690abd2
BLAKE2b-256 51b09f9e75d679f8b4ae59a345eff95fa38168972e6622f5884865a5205ebfea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f81619e2f46d06bd2c2cc225b1a8a9b9ad03d8032949ab73741d863d2a036887
MD5 c3c2f068813ad372aeb7aec3d5e702cf
BLAKE2b-256 5fa524111678cef27261b4969bdee8043dc3239b7f7c5189d34bb441c3340eba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 c0a7d5059232f67a45412f97a2e790dfcbbb1e511919649fc6d7302fb9cf5193
MD5 13b905b465d0b387462a37ec1a8da63a
BLAKE2b-256 d6aa258cc2e84bcd9a165732a4d944580f64b86ccbb102bedf61ac87f4689551

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d44868447312caf41701097e23520541f39bd0bd257c1165d62a593d3f4c9256
MD5 01eafec46fdc1d7e7a081662e3ef99a0
BLAKE2b-256 1a1c892ff1e0d4747a92b4099124c55601d710a06ed24e9ed553dc3a5e161fbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 862c298a0413178d9e5d596e61ca03b988c9269e76694bf11a72ffc49a56c196
MD5 a6d1f37f473868482817e2d9e364ce76
BLAKE2b-256 738004a151d72cf2169d4fe9fec365f735d95be26017d906f8c68877c698666f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 da6e10ada64949eddf72e2da4546f49e4108410242fec44d60e5d5977cd851eb
MD5 a415ff58106e5899f8776ff0cc431ccb
BLAKE2b-256 415f9cb748255ce9bcfeda3fd0f3c5424218805ccfa6fb30601a7dc1c16262f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.17-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 90eb50bd587fcecbb4fdd7f1ee8673dfd2a24a2f7dbecca9c132107bfb878dc1
MD5 e63702a4eff5d0a3d92f6dac757e489a
BLAKE2b-256 df9c9bbabc4d532a8a8e281a3c5cc3f4e61bb65cb70b16597dec6185b8a43412

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