Skip to main content

OpenHexa SDK

Project description

OpenHexa Python SDK

Running the examples

Clone the repo and install the dependencies, including the ones required to run the examples:

git checkout https://github.com/BLSQ/openhexa-sdk-python.git
pip install ".[examples]"

Run a pipeline:

cd examples/pipelines/logistic_stats
python pipeline.py -c '{"deg":"qfxEYY9xAl6","periods":["2022Q1","2022Q2"]}'

Or using a config file:

cd examples/pipelines/logistic_stats
python pipeline.py -f example_conf.json

Development & testing

Install the SDK in editable mode:

pip install -e ".[dev]"

Run the tests using pytest:

pytest

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

openhexa.sdk-0.1.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

openhexa.sdk-0.1.1-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

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