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 details)

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 details)

Uploaded Python 3 macOS 10.9+ x86-64

File details

Details for the file crypto_crawler-3.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for crypto_crawler-3.2.6-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4f98bf8d2a128427ed4490440964599120550b11c1a6e0689630a4e198460c20
MD5 122b1918fd7792b0a1870ee004c0991f
BLAKE2b-256 124424bffb29c875fe2723c6a8a0785a9d2486106cc066db3c8bb9ab003792e5

See more details on using hashes here.

File details

Details for the file crypto_crawler-3.2.6-py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: crypto_crawler-3.2.6-py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.8 MB
  • Tags: Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for crypto_crawler-3.2.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 948e6efb70ad986ffe6ab3126877bbe390d26693f985e66808211aa38e907442
MD5 99894b54cd2fe4056458220cad4a3bf3
BLAKE2b-256 7441210daa9519d110d51646994cdabc4e417785aa6aefb596ef22c8430f3781

See more details on using hashes here.

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