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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7d0cda538e3d01c4400733b807f78cb11e07e17b710f202a474479d5a914cc0 |
|
MD5 | bae7e075eb2e1d75e328c2035dc2cc7f |
|
BLAKE2b-256 | e9a04d675636191ea8b527c2e913fa141fbaec2ac2723da3b12211b69bec86fb |
Hashes for exabyte_api_client-2021.1.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26fa5249e9ab9bd2f844ade68077b3b4f06080c024e45f0c6053892b9d0847c5 |
|
MD5 | 6a53a8caa8211d659706b17c8e9f5c4a |
|
BLAKE2b-256 | 4e5bd7807e2a3a81cc7b5c024f6cd9da723453f4de7507c2fc2d037a540b595f |