Exabyte Python Client for RESTful API
Project description
This package provides access to Exabyte.io RESTful API.
Installation
We recommend creating a virtual environment before installing:
virtualenv my-virtualenv
source my-virtualenv/bin/activate
Install using pip:
- from PyPI:
pip install exabyte-api-client
- from source code in development mode:
git clone git@github.com:Exabyte-io/exabyte-api-client.git
cd exabyte-api-client
pip install -e .
Examples
exabyte-api-examples repository contains examples for performing most-common tasks in the Exabyte.io platform through its RESTful API in Jupyter Notebook format.
Testing
A Virtualenv environment can be created and the tests run with the included run-tests.sh
script.
To run the unit tests in Python 3, you can:
./run-tests -t=unit
To run the integration tests in Python 2, you can:
./run-tests -p=python3 -t=integration
(assuming you have a python3
binary in your PATH environment).
Note that the integration tests require a web service against which you can direct the live tests. See tests/integration/__init__.py
for the environment variable details you need to set up for the integration tests.
© 2018 Exabyte Inc.
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 exabyte-api-client-2020.10.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653135c438a1079deff99c3bbb828f1f8da2eba6bcb1fde90f40d8afe004e5a3 |
|
MD5 | 95c0105b9763bba7c8d74c04e81b3991 |
|
BLAKE2b-256 | 44981e70dc569d960e42a18675ffae532226c758180c64dc3c7bfcb031c86810 |
Hashes for exabyte_api_client-2020.10.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f97b5c7ddf47f3b9cc6f5fb44e0689bca2b3772df590d78d8a9fa63af08ccb76 |
|
MD5 | 725a8e5d5115ee3e303e6cbc5a6e00f0 |
|
BLAKE2b-256 | 7baf5dcb0113bb814b0f3c57cfcb01ff20da3001555e554add0dd8f1bc1ee772 |