crypto-pair-2.3.9


توضیحات

Normalize cryptocurrency trading pairs
ویژگی مقدار
سیستم عامل -
نام فایل crypto-pair-2.3.9
نام crypto-pair
نسخه کتابخانه 2.3.9
نگهدارنده []
ایمیل نگهدارنده []
نویسنده soulmachine
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/soulmachine/crypto-pair-py
آدرس اینترنتی https://pypi.org/project/crypto-pair/
مجوز -
# crypto-pair Python bindings for the [crypto-pair](https://github.com/soulmachine/crypto-crawler-rs/tree/main/crypto-pair) library. ## Quickstart Install, ```bash pip3 install crypto-pair ``` ```python from crypto_pair import normalize_pair assert normalize_pair('BTCUSDT', 'binance') == 'BTC/USDT' ``` ## How to build On Mac OS X, ```bash 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, ```bash 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 ```bash python3 setup.py develop pytest -s ```


نیازمندی

مقدار نام
- milksnake


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl crypto-pair-2.3.9:

    pip install crypto-pair-2.3.9.whl


نصب پکیج tar.gz crypto-pair-2.3.9:

    pip install crypto-pair-2.3.9.tar.gz