
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
GridGain 9 DB API Driver.
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
This way is more suitable for developers, or if you install the client from zip archive.
pygridgain_dbapi_path
pygridgain_dbapi_path
folderpip 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
.
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:
For building universal wheels
(binary packages) for Linux, just invoke script ./scripts/create_distr.sh
.
Windows building requirements:
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.
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
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
Running tests themselves:
$ pytest
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.
FAQs
GridGain 9 DB API Driver
We found that pygridgain-dbapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.