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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

pygridgain_dbapi-9.1.0-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.0.tar.gz.

File metadata

  • Download URL: pygridgain-dbapi-9.1.0.tar.gz
  • Upload date:
  • Size: 442.1 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.0.tar.gz
Algorithm Hash digest
SHA256 5949e3f65a8ef6e37f92c8dc90c8a4d3825f6924a4ea83f6996091e01ef44bfe
MD5 262c837252faa154ed11078c59508b11
BLAKE2b-256 668b7cc29071b8d627636372f06044b444b4dcc0a1c11d66979539aed670d6c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1b6e31563e5559664ee860009720eba3faea52893edc1bc82c8e797ae1abb2bb
MD5 0e22431a307a6dddca86a595d71ff77b
BLAKE2b-256 9ffdc2d58b510451db6227d72fd171b4762937725a59076ca0ba8fd31cddb1cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f9ca67c3909b19babe06065c0b969e91a056ee3af9a49c2f50fb5f927a0cc40
MD5 0b70807ceb7f8c190e0f120f98852630
BLAKE2b-256 71295aae9904c4db3265982bc1a4082538186461974ea19878e1e842ffd3cb89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 c64b06954fb277b2aaa3d46583892add1017411db53f85c12197fd8c585926fd
MD5 1cb444b8040648426846626ba4e6b79b
BLAKE2b-256 f47340986fdc81d13801c00fb36822dfe8a7a65aa526b62838168ab519c4eba0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2b303699e10678373a830219c2e91c7d266834774485ef7f5fe4fc822bf858d0
MD5 c3a1fccc4112c1a9ede53308c7e6fb2c
BLAKE2b-256 eedac8236e5d85044213d5e59c0fc6e9f7e4b2e6c8b1a7e385348ff585ef9cd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0e1f13d6f93e974048fbd2bf99ccf82ca120eb4e8845a3c7e9d0fb901a3d2e65
MD5 b7bdc8570c08b58b8a69068ea637c587
BLAKE2b-256 b1d6e3c4863abc91404a3cff778af5a4fb42ff9f11f94d18e0661c983e3da83b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4df9e63bfb4fcc825d2e3e80213c0a36b69c85dc086de5b1a9397afa31fc2db5
MD5 7db95e06184757775695453f7209ce3c
BLAKE2b-256 5aa5d2ee8b3b9b596926334b483dad447b323cee0cab366310a3637e5772b90f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 95b865cd6616ae6474aafc17ae9c889ee4ff3fc3ca252f9529e1cccedb08fc71
MD5 e2ca9fb9b502f73dd9157a1f371fa866
BLAKE2b-256 917821d9cdab770bb235416ac97b9243b0051861f708352b09177a6fe735ced1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2bdc3c442c285462d2656e1e49f776a6ae4f6edee55f15dc9345f572cb926d41
MD5 3984b1e2003ce0b6f7dbf91a93c3ed44
BLAKE2b-256 e440805f99b6468c678573e5df035e437ae7159c3385bdb92a574a76aa138d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9c1b0c79902c02eba65fa32cc928c2f10879fc24baff923e452ad536428416e7
MD5 e7161b0b25ea3aa8e2e5624e8406ae1d
BLAKE2b-256 5ae7e20c3e1b89cd019964eaab745b88c6457602d182c99114bae40d8457b2ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e3e93bd0e421da8d8061ac626244062e0e5d09cf0c61c47791234fece197c5c
MD5 e4eca55b7f487942e6b99adfa8881db8
BLAKE2b-256 37a8dd9cac43dd526c7217613f1e3ea8c2743c3f9695aa107b19a97601d064b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f566703f4111e004d4cbbac9ced6ec049811cd8ec5e52b751a08412174eb7fe2
MD5 3f769f5dc0436a5b0934b113a02d3347
BLAKE2b-256 60143d0a68dd2ac88f0467c10397ffea3b6073ff47a8edcb5d78201b1c6100f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 2469a1068aa776da30337746bdd844d710a9d9f9c7610f68307949eefd87dd49
MD5 473622fa3c18a09cd0e2f2f4190b4604
BLAKE2b-256 0aaf0c89c042483d95613c0d49e35a1b7bd494e2832bcf47cb91456542033274

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2047e8b25ddfbb0680b93b8a3183330bef951df4682458be59cf2cb16c9439af
MD5 0e725da0dc20e37d838ff96f42755e10
BLAKE2b-256 ad8e4d79d9cf2d01e585b76ad46a86aecff529e84543be41af6c96fb7503396d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e5e3047100caae1aa5dab90b59dd3376ce6e6592e47f07dd7ac05f46b31aa15
MD5 9fac89c17f93c82b32325d4348c5999a
BLAKE2b-256 602ecc92269b11a004809e0574239d12f70f54e98fe24aec556d3e413732b4c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8dd4dd0afe963b7064f01aa5856c2d17a253f7fd090be951cbb46ee17be2d46e
MD5 0a14312a3c53148fdcd08f90dc3a3796
BLAKE2b-256 d36bce8cb69bb1fdcbed5e52213c852c72fdf479f4ffdcb0890870ca1bf6cc3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 22d3d9fc98c1966a44ba9e6674cbf3a766e37691629edfc8c7059cff6612ff14
MD5 6be0279bca4dab568c3ba59a294505e7
BLAKE2b-256 cc2a695cd071fd24d707e743b9a6ee99a7172903089d038492bcffe6610e05cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 64596d1075e1fc9f434b9bee7f031cdd7fb6bf551d64be01a2f02893bb7e09b4
MD5 cabbb8692c4fc6a84d4d4db4f958e967
BLAKE2b-256 e5440aca731c8a9c2cd728cb4fa8841d7336292bb8ee36d000a7200e7d487e11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9648ae93930224907d8c34aedcc8191d4ca683c48c164d88bde0ade6cbcd1b40
MD5 5ffe1d53d1bb02584dcfda4d999022ca
BLAKE2b-256 188d8d584bdb02fab064e5ade522b5adf6e97b10a709e92beebdbb79f5e2070f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 491cd67b9c8597c9f9bdb93d928ae0a9b3f1d14736c66c9c9f07888da557bb95
MD5 c5816c517d2e146c18af7a48e0081424
BLAKE2b-256 02876d8c89179ad58067313ee18ad410c9a122c4a940353e0c6a416a6d89fb3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 d8bb3636538ab8891eaae1c47094cc5fb231534963e447477c985c4c82c1f29c
MD5 c5b4bb905c1b259057f4074f8a633c4b
BLAKE2b-256 f8609e7ab25a27f02c815128a97257e81cddbbc8e01c49b70707daacad369ad9

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