Skip to main content

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 specific 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 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

aperturedb-0.4.37.tar.gz (118.9 kB view details)

Uploaded Source

Built Distribution

aperturedb-0.4.37-py3-none-any.whl (131.4 kB view details)

Uploaded Python 3

File details

Details for the file aperturedb-0.4.37.tar.gz.

File metadata

  • Download URL: aperturedb-0.4.37.tar.gz
  • Upload date:
  • Size: 118.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for aperturedb-0.4.37.tar.gz
Algorithm Hash digest
SHA256 0a67142b8bd7e40929ac8a822bc87708ff4fc8aaeb050c9f540ff8e094383f79
MD5 f4469c0a6a0c14d0cadc94db0265d55a
BLAKE2b-256 444a4a30dcb8a3ad1b3af1391f921d52b6e36cf5d0153fe90ee7095807586366

See more details on using hashes here.

File details

Details for the file aperturedb-0.4.37-py3-none-any.whl.

File metadata

  • Download URL: aperturedb-0.4.37-py3-none-any.whl
  • Upload date:
  • Size: 131.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for aperturedb-0.4.37-py3-none-any.whl
Algorithm Hash digest
SHA256 09ed89796774d82a8ed336060f51f85410c2ae9f97f5f4213a3a51b9184ad75f
MD5 1f82e2e95d2ed719f65b20036373d06c
BLAKE2b-256 41e80396372b102c66daa78d6ede8e236775e5008ac618cc2b14e233dcfab079

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page