Installation

Requirements

  • Python 3.10+

  • pip (or uv for development)

Install from PyPI

pip install cryptobot-python

Install optional extras only when needed:

pip install "cryptobot-python[webhook]"
pip install "cryptobot-python[docs]"

Verify Installation

from cryptobot import CryptoBotClient
print(CryptoBotClient)

Install from Source

git clone https://github.com/ragnarok22/cryptobot_python.git
cd cryptobot_python
uv sync

For documentation tooling:

uv sync --extra docs

For local webhook development with FastAPI/Uvicorn:

uv sync --extra webhook

Development Setup

uv sync
make lint
make test

Common Pitfalls

  • Use cryptobot-python as the package name in pip install.

  • Keep mainnet and testnet tokens separate.

  • Store tokens in environment variables instead of source code.