Skip to main content

Exabyte Python Client for RESTful API

Project description

PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exabyte-api-client-2024.2.2.post1.tar.gz (17.6 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page