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.1.18.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20760e4c9cda3ac645999cb3c0cf137b5f0f80b05620d597cf3b26c5a622a8b7 |
|
MD5 | 52aca141a50130ea469b6f9543f06edf |
|
BLAKE2b-256 | dd862c0aa672211a4f7d29e33ca3eec288da8e0797d9f77b44201caeaeecf71b |
Hashes for exabyte_api_client-2021.1.18.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6490c4e42ea89ed87cabbdf1a61221c820e60601aebe02ba90f91cc7437aca4c |
|
MD5 | c63ab3a54d683a7972896805795872b0 |
|
BLAKE2b-256 | 4a6c7a1e8a3ed9e2209c2d70d9872d9b36a7cc32dda6a042958939dd536763fd |