Skip to main content

A rock-solid cryprocurrency crawler

Project description

crypto-crawler

A rock-solid cryprocurrency crawler.

This is Python wrapper on top of the crypto-crawler crate.

Quickstart

Install,

pip3 install crypto-crawler
from crypto_crawler import MarketType, crawl_trade

crawl_trade("binance", MarketType.spot, ["BTCUSDT", "ETHUSDT"], lambda msg: print(msg))

How to build

On Mac OS X,

conda install --file requirements-dev.txt

rm -rf build crypto-crawler-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-crawler

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-crawler-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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

crypto_crawler-3.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB view hashes)

Uploaded Python 3 manylinux: glibc 2.17+ x86-64

crypto_crawler-3.2.6-py3-none-macosx_10_9_x86_64.whl (3.8 MB view hashes)

Uploaded Python 3 macOS 10.9+ x86-64

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