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==3.0.0

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.15.tar.gz (444.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.0.15-cp313-cp313-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pygridgain_dbapi-9.0.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.15-cp312-cp312-win_amd64.whl (330.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pygridgain_dbapi-9.0.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.15-cp311-cp311-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pygridgain_dbapi-9.0.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.15-cp310-cp310-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pygridgain_dbapi-9.0.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pygridgain_dbapi-9.0.15-cp39-cp39-win_amd64.whl (329.8 kB view details)

Uploaded CPython 3.9Windows x86-64

pygridgain_dbapi-9.0.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

File details

Details for the file pygridgain_dbapi-9.0.15.tar.gz.

File metadata

  • Download URL: pygridgain_dbapi-9.0.15.tar.gz
  • Upload date:
  • Size: 444.2 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.15.tar.gz
Algorithm Hash digest
SHA256 8f4d11eef7b63ead94747da2d045c01d56311d32b6f710f65444c8f4601bed82
MD5 82c3e991f52d4d955550c9e273379768
BLAKE2b-256 60433394eddc4a31508f06f87e5af940b50178dd81f29beac897c217acc2f781

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 52de01696c1ac8d4d9b3f50b1fe71c060fa83f5f9954f075fc7897b4b39eefc9
MD5 a8b494f0e5a1cd9b1442c66b1999ebcd
BLAKE2b-256 e8627e9a03bb8e66b8e9ffaf8b54775a75e44f1f93d760bf0ad5030f1bedfdd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b21508cf47366b84b5d0daafe1d62102b934c6f53ab420af7a6b2e3920a5a53d
MD5 58bc56f48a636b4d43ad5b12e2257071
BLAKE2b-256 85bd1fd1bf2019110f6b8f4e6de3a484e35d6f7a0735bf6af771b0bc040f593d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f5d959ee19aec0a1dfff88e1df2d0e0e14dae1cf5c59252489d0230676fe16eb
MD5 196e0d5215a2a1dd843c8e68977d1dd6
BLAKE2b-256 6b94465348f616cac8e8daeee06b1553666a223601886f3c81b1043d48584ec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c3e3cb978fd9dd4292e85c7a5034a33c23078361e76b14d9d6e625f98174d7c5
MD5 71e43aa2ba63e536c446f5a182991f47
BLAKE2b-256 67b855863553ef38eebad8b3ee90bcf5e1e52d2f4877b6238c3d5c91ca07c634

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9f4afa2e1db6b9f8edaf750b2325dbea5297474fdc389ffeb4db58f3dd050b9c
MD5 6b459d71c100d930e81fee8f71d6dd99
BLAKE2b-256 b13a23ac307d92b63cd2e31887ac637597c206bb5db00794f6d1f5143fd4d2df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1af25e183a7e74f1a4aef0eef130980ddc624af6516876bd2e08cdec19c2b5a8
MD5 d691d19656952171921e471237d99278
BLAKE2b-256 4cdd5027b304190e7ddc288f73096eb82f032100bbd9141a48aa0ba9f72f9269

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 00a0bd2e8ee8f130737f9e70073494e19f3de5d6d8993909db3a663964c6fbdb
MD5 4f7505e91bfe0c67faf99b2f71c154b7
BLAKE2b-256 f29a2adea722e6f7e068f2b166e4514d6b772ee2ec679ac3e72e13d554635b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3959b30343cc0caf4fde00618ed9f713c6000394f2bfbcb3bebe0509baac854d
MD5 dba7613dbc89d2fd2b60918145a018bc
BLAKE2b-256 17cb50d3926cdc5cee6e0142379cf6700fa3b336890f88a2f11eea349b9cf554

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ca3220be669b040f31f0836cb2e6190cd37687ca6f9eb08791d0dcf1b52a3133
MD5 5db7fb9e3405f72f3719d2f530a39079
BLAKE2b-256 3c32b397e2882d42c7bb8bdf57afd3bc093465b2b66e7ecf4d5ec234b45c4fd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.0.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e5d309435c2997e1badc6024d1b54516e6b59a3e7ace75839cce490256a2d46
MD5 47c810a1f9a79b6e740e35b916b00c64
BLAKE2b-256 1dab71b9011cd256abfd4a41c61ab2a35c5979777a70a6d9962089dce4eca106

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