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-2022.1.9.post0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ca80dd8d1cc6a6dcaf96de0653807d33c5ef327cdcd023ffb1076413cf5c48 |
|
MD5 | 6632e9dd4d3960450ed858c77f9e6956 |
|
BLAKE2b-256 | d75fdda3e664ab08b98b4f6a2a333fcb1eb42710787380e0509794a95644e2a2 |
Hashes for exabyte_api_client-2022.1.9.post0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba1e9f9cf1f2332e213c349e2845bf73cbdef933bd14bfa58e13c35155b6c6b1 |
|
MD5 | 377419783edfd94b012835fa18d0efb9 |
|
BLAKE2b-256 | d8a88b706177494a51d725c505ac51a8a6168351f7939fe2d0cbd311f2bf720e |