ApertureDB Python SDK
Project description
ApertureDB Client Python Module
This is the Python SDK for building applications with ApertureDB.
This comprises of utilities to get sata in and out of ApertureDB in an optimal manner. A quick getting started guide is useful to start building with this SDK. For more concrete examples, please refer to:
Installing in a custom virtual enviroment
pip install aperturedb[complete]
or an installation with only the core part of the SDK
pip install aperturedb
A complete reference of this SDK is available on the offical ApertureDB Documentation
Development setup
The recommended way is to clone this repo, and do an editable install as follows:
git clone https://github.com/aperture-data/aperturedb-python.git
cd aperturedb-python
pip install -e .[dev]
Running tests
The tests are inside the test
dir.
All the tests can be run with:
export GCP_SERVICE_ACCOUNT_KEY=<content of a GCP SERVICE ACCOUNT JSON file>
bash run_test.sh
Running specefic tests can be accomplished by invoking it with pytest as follows:
cd test && docker compose up -d && PROJECT=aperturedata KAGGLE_username=ci KAGGLE_key=dummy coverage run -m python -m pytest test_Session.py -v --log-cli-level=DEBUG
Reporting bugs
Any error in the functionality / documentation / tests maybe reported by creating a github issue.
Development guidelines
For inclusion of any features, a PR may be created with a patch, and a brief description of the problem and the fix. The CI enforces a coding style guideline with autopep8 and a script to detect trailing white spaces.
If a PR encounters failures, the log will describe the location of the offending line with a description of the problem.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aperturedb-0.4.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2adc727651cf11282d44f412575b7a6b31beb1fd298fe2105a5fe8382e80b81 |
|
MD5 | 5d6622578986d7d22cf6ef08eff0e098 |
|
BLAKE2b-256 | 026635f46e265eb9ee9506dc2c93c399b2f1d6eacb3b186ac2ba07ab74e6ce57 |