Skip to main content

crypto-pair

Python bindings for the crypto-pair library.

Quickstart

Install,

pip3 install crypto-pair
from crypto_pair import normalize_pair

assert normalize_pair('BTCUSDT', 'binance') == 'BTC/USDT'

How to build

On Mac OS X,

conda install --file requirements-dev.txt

rm -rf build crypto-pair-ffi/target
python3 setup.py bdist_wheel

# Need to create a ~/.pypirc file first
twine upload --repository testpypi dist/*
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps crypto-pair

twine upload dist/*

For Linux,

docker run -it --rm -v $(pwd):/project soulmachine/rust:manylinux2014 bash

/opt/python/cp36-cp36m/bin/pip3 install -r requirements-dev.txt
rm -rf build crypto-pair-ffi/target
/opt/python/cp36-cp36m/bin/python3 setup.py bdist_wheel
auditwheel repair dist/*linux*.whl --plat manylinux2014_x86_64
/opt/python/cp36-cp36m/bin/twine upload --repository testpypi wheelhouse/*

Test

python3 setup.py develop
pytest -s

Metadata

Release files for crypto-pair 2.3.11

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

Built distribution (wheel)

Table of built distributions (wheels) for crypto-pair 2.3.11
File Interpreter ABI Platform Actions
crypto_pair-2.3.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for crypto_pair-2.3.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Release files / crypto_pair-2.3.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL crypto_pair-2.3.11-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
21af673fd4eaefe8c289ba3079f20afc4c239bc093a5b856e4746b54c4db3f6f
BLAKE2b-256 checksum
How to use checksums
b2d55b17051c3b49b21ecb5a8419c1f37823149e6044fdb0c0c9bfd4cd64a54f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for crypto-pair 2.3.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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