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=python2 -t=integration
(assuming you have a python2
binary in your PATH environment).
Note that the integration tests require a REST API service against which the live tests will run. See tests/integration/__init__.py
for the environment variable details.
© 2020 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-2021.5.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858bfbcadc0da01e8b060e1f6efe8abf11a6392b4624a2d9417980ba2350e379 |
|
MD5 | 0fb6954d532a0893d5bfaf0d4aa8534e |
|
BLAKE2b-256 | f4d605a293427ee2f79d75c86919f5767b0b4021828add38b0680ff1780c695a |
Hashes for exabyte_api_client-2021.5.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de81c9cae8a04e2ead0cca58125c8f55e091cba091a55a342d39d21f7e830ec1 |
|
MD5 | 381831bdbabec625e7693b9f38cd0dca |
|
BLAKE2b-256 | 164476ea0e314a68340dfee436364d1f31784aff0c90fe98c77d06b55db9fbcc |