Skip to main content

Python SDK for the VALR REST API

Project description

Python SDK for the VALR REST API

  • Free software: MIT license

Installation

pip install valr-python

You can also install the in-development version with:

pip install https://github.com/jonathanelscpt/valr-python/archive/master.zip

Authentication

Authenticating to the VALR API requires a valid API Key from the VALR exchange.

Documentation

To use the project:

from valr_python import Client

c = Client(api_key='api_key', api_secret='api_secret')
try:
    res = c.get_market_summary()
    print(res)
except Exception as e:
    print(e)

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.0.0 (2019-12-27)

  • Alpha-only. Not released on PyPI.

0.1.0 (2019-12-29)

  • Initial PyPi release

0.1.1 (2019-12-31)

  • corrected build error issue in setup.py

0.1.2 (2019-12-31)

  • Updated readme and documentation

0.1.3 (2020-01-02)

  • Fixed defect with empty body signed signatures

  • Updated class importing

  • Added additional docstrings and unit tests

0.1.4 (2020-01-04)

  • Streamlined ordering api calls with decorators

  • Added typing support

  • Re-worked class design internals to support later async expansion

  • Fixed bugs with str ‘None’ insertion with f-strings

  • Expanded unit tests to cover all api endpoints for synchronous client

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

valr-python-0.1.4.tar.gz (21.9 kB view hashes)

Uploaded Source

Built Distribution

valr_python-0.1.4-py2.py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 2 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