Skip to main content

Onedata REST file API client

Project description

OnedataFileRESTClient

Build status Version

OnedataFileRESTClient is a Python client to the Onedata file REST API Onedata REST API.

Installing

You can install OnedataFileRESTClient from PyPI as follows:

pip install onedatafilerestclient

Building and running tests manually

virtualenv -p /usr/bin/python3 venv
. venv/bin/activate

# Install tox
pip install -r requirements-dev.txt

# Run flake8 check
tox -c tox.ini -e flake8

# Run yapf format check
tox -c tox.ini -e yapf

# Run mypy typing check
tox -c tox.ini -e mypy

# Run PyFilesystem test suite (requires preexisting K8S Onedata deployment in default namespace)
tox -c tox.ini -e tests

Running tests automatically

virtualenv -p /usr/bin/python3 venv
. venv/bin/activate

./ct_run.py --verbose --image onedata/pybuilder:v2 --onenv-config tests/test_env_config.yaml --no-clean -s --suite flake8 --suite yapf --suite mypy --suite tests

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

onedatafilerestclient-21.2.4rc2.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

onedatafilerestclient-21.2.4rc2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

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