A cryptocurrency trading library for Python with current support for Binance and Bittrex.
Project description
py-crypto
About
py-crypto is an open-source, cryptocurrency trading library for Python. This library is ideal for developers who wish to be able to interact with API endpoints of multiple cryptocurrency exchanges at once without wanting to write code specific to each. Simply specify which exchange you would like to interact with by name, along with your API credentials, as shown in the Example section below. Currently, the library offers API support for the following exchanges: Binance and Bittrex.
Installation
The source code is currently hosted on GitHub at https://github.com/gokulk04/py-crypto
The latest released version is also available for download via pip:
pip install py-crypto
Example
import pycrypto.client as pyc
BINANCE_API_KEY = "MY_BINANCE_API_KEY"
BINANCE_API_SECRET = "MY_BINANCE_API_SECRET"
binance = pyc.Client(pyc.Exchange.BINANCE, BINANCE_API_KEY, BINANCE_API_SECRET)
binance.get_all_balances()
Documentation
For further details on py-crypto's usage, please refer to its documentation.
License
This project is licensed under the terms of the MIT license and can be viewed here.
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
Built Distribution
File details
Details for the file py-crypto-0.0.4.tar.gz
.
File metadata
- Download URL: py-crypto-0.0.4.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811c32c38712c30d692ee337ba6d72375019b63797951f14a6cb2f24c65e4fc9 |
|
MD5 | a48a14e639f8eed931bfb9225d7451bc |
|
BLAKE2b-256 | 7a9c86ba1dce99987179ba16e67c2fbed741ccc6c18bdee95e1e218bf194cd96 |
File details
Details for the file py_crypto-0.0.4-py2-none-any.whl
.
File metadata
- Download URL: py_crypto-0.0.4-py2-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ae5c8aee65c13027bfb66dfb56ca9b424a04d01dd0cc2c4e53f152b4091b1a |
|
MD5 | bbea94044330681755807ec7952a3194 |
|
BLAKE2b-256 | 27dc2a27283982cb522a30bbb69939b27614d0b82454d5722ed0971be5a94896 |