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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 14.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 14.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 14.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 14.0+ ARM64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.9macOS 14.0+ ARM64

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

File metadata

  • Download URL: pygridgain-dbapi-9.1.0rc2.tar.gz
  • Upload date:
  • Size: 442.2 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.0rc2.tar.gz
Algorithm Hash digest
SHA256 a58c0dae3ef1d12634cd6b21fec55ef791e68a5fe7bb1e4db92a38ce2bc49475
MD5 4e66c2fbdeb06a3eb5243367eec3f37b
BLAKE2b-256 657df3846726a4a11e9e732d0cb8a815627caea26b38a100fdbc4caf37694c2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 936a11ba17f9e82d06b93c0160045f577d176c9ac2ce88757510bee0106c251a
MD5 5c7509ff3c9eba8608a2f1ad6d4694c4
BLAKE2b-256 87aaeb361599c6ff854f565942e98ba25939078ddc4f624b16f925de9aa188d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f40beaf2fbab65de007dd3053f8dea63d5872b410cd4155140b6fd9cdcdf3296
MD5 5929eb9ceb1a59e6f881ab69a07d3394
BLAKE2b-256 2080e852e8e7c6741a80d2a0e5e0652de53cbfb74cd22c7b5e1c36cd46de7165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 b8f86679d72861309d107ca49d69fec586ee564101fb6d06820da33381dff855
MD5 d28b90dd860834e8a536786214cdc4ba
BLAKE2b-256 e2f367df9c811cc4595103c821282daae71514b704de25058ce253f81c80f15e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp313-cp313-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 ed4c52dbf93fc98b1bc02418dcfb879e086b6ea4bad11e5c84aa4ff98a21797a
MD5 57e26c19b905eba58b35008eb221bfbe
BLAKE2b-256 2255351d9c4e3883c8faa556b3306d660eafff3cd8ac93cc1731f1f79327710f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 de473d57da0977fa731d63174d8409b54f9b4bb3c86843edc0f45a0981157f6c
MD5 123d35a63ed496af728bbcab37cce548
BLAKE2b-256 4530063fd961a106fb57110505658b243f346915b95f9f13fb9f639eadb60475

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c25ae26e275f650a62ea135c08d59794d1fd1612dbe06062340798e3891a7e5
MD5 50d8acecc66d1cd3cd61c134f3800b59
BLAKE2b-256 adfcde67f799a27ccc1c6b0cc720f16d298f4ee648648ff5472d2280f2768857

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 6fa2466c7301937aae515831350969ccff2bb7ac068f7c8c2d3f8376e601feae
MD5 48d69485ab1c03e7b3205e11ae59d8b4
BLAKE2b-256 0dda4593a1b88734846d6581bee1010b454ee02b6ca28504461fcb73e1d411de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp312-cp312-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 03a2b591df4622506856582a97cb6770ee40f8c3ebcb3b12d9d775d36a26b065
MD5 c1b02a9bc0a545a9dcd4d939ae387921
BLAKE2b-256 1251af30c2dc8251417ab00e67fe06055673e9e54c1a411c88fd40c1c8d39c2b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 49cc4b03797bcd1875d0349807e0ebb42aa710d1254f19c4f44dfa654aaeab3a
MD5 7a055cf9bfbbf97d5e85ed518f1803e0
BLAKE2b-256 9a8dc79414cf06c45e0799da841153b256942d23f177da04c2ab531987ff99e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab4cc7a5521e140b706680ae115c80e6378e87658c8d334a05c34f5922b68e39
MD5 97bff8ea73c9cf9b7bec3ff84dc31579
BLAKE2b-256 a68cde392b5d5a9148f8eb7c6641e97f967685190ee8160b2e0c6b9c89648d3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 8ca988b1bf22e33143dbbac17cc83b2c6d5754789e82f76fc02d627515145e24
MD5 d44ee491401d0a2b60a7258f53ef5fd5
BLAKE2b-256 daa72a5cb36e50eae955e8ccf0db8d2932ffe3de05855e2eaedf0e931f9fd00b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp311-cp311-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 f62411b9d841bfcaa2e8df908449a1b1bae340d3c6d669a3b564789516ea435d
MD5 16a6d85a4901c36a8254a8cf62824bc7
BLAKE2b-256 27f9b08e5a1fa895bc7c9eb33183735ee6d492eae5dcb21c9c0c33790833ebab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 21d6b02a150f108da380cfbc4acfc1bc6ddc18ab124d16b727c999394574ee48
MD5 5ae8e140c6b95e9ea58af8ccdc3b7f02
BLAKE2b-256 d29cf54bd7eda6935405772797a06b781f6ae0c4c423a16fed14d7faa6cea8e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1767a9f9951c3186491c855d7d7b76732c5d445c32c3c79690124bc11fd3eeaf
MD5 e17df5de2305cf075af6de79cdfe21ac
BLAKE2b-256 bba81c405bfcae7bdfcb55e29b6c6c2ed0a91bb85909e504468302567e9beb44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 cca04d23d1535d2d039b3c2c0e4815c9d7615d000139fc9595eb38f766ce9e41
MD5 b1dece4dbcb3018c889d98a9f12fccda
BLAKE2b-256 d8ab03bd9bad52214aa17d786802071f49ad100e50dc5da4c1f418c5def133ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp310-cp310-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 989453d2b4fb6d8af2330ee6c453fb8d6ee0d831189de6612799ec14efc811dc
MD5 cdcf3395fc650610345fa13ba796b5e5
BLAKE2b-256 a8d1f5be013c8388f2fe17bd6a9058e7a777cdcc27343e996da63554b3c31ec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2a92bbb76797a077fa7fdc95a35ee0d5fddb227310f8ba2ed70d9fbb9618e541
MD5 6ab23db5e5425d1fd5b6d1e05a0fcb96
BLAKE2b-256 38bc0243814edc33b96378b130a45b23065ac386c67a21f045252bd51e9740d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2083fec84c6891ae425624400b6eb0d427a5731637307ce06d8f700cb2ba0ae
MD5 9b90750c03ad61e4124c999a4f1fee87
BLAKE2b-256 8c65c5cb1fd6852926f1e8d86f4f1d9205a367f8888146f461c7bfe9161dc779

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp39-cp39-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 398f1a68c64e6c2974537f87de2e096a79fecf5d960c1c6e7191658deb9a9c90
MD5 90a1d83dfb4477efdab7056f10b850e1
BLAKE2b-256 8c62c370772fdf55362ef68da1181fd6c4d9224ec5bab31fdf3421aaa721463c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pygridgain_dbapi-9.1.0rc2-cp39-cp39-macosx_13_0_x86_64.whl
Algorithm Hash digest
SHA256 a0bc28120b8e1a2d77568569ea27bf55b94e49992243623d94217f8c957210d7
MD5 8f1acc5601a985e5bf66390217c17343
BLAKE2b-256 6255666a73df94f08c4f2f2521bb9c80078f7869cdc07f58bad11c85dc561ca6

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