Skip to main content

py-crypto

PyPI version

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.

Metadata

Release files for py-crypto 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-crypto 0.0.4
File Size Uploaded
py-crypto-0.0.4.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-crypto 0.0.4
File Interpreter ABI Platform
py_crypto-0.0.4-py2-none-any.whl Python 2 none any Details

Total release size: 16.0 kB

Release files / py-crypto-0.0.4.tar.gz

Download URL py-crypto-0.0.4.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
811c32c38712c30d692ee337ba6d72375019b63797951f14a6cb2f24c65e4fc9
BLAKE2b-256 checksum
How to use checksums
7a9c86ba1dce99987179ba16e67c2fbed741ccc6c18bdee95e1e218bf194cd96
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / py_crypto-0.0.4-py2-none-any.whl

Download URL py_crypto-0.0.4-py2-none-any.whl
Size 10.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
34ae5c8aee65c13027bfb66dfb56ca9b424a04d01dd0cc2c4e53f152b4091b1a
BLAKE2b-256 checksum
How to use checksums
27dc2a27283982cb522a30bbb69939b27614d0b82454d5722ed0971be5a94896
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page