Installation
How to install the DFlow Python SDK
Installation
Requirements
- Python 3.10 or higher
- A Solana wallet (for trading operations)
Package Managers
pip
uv (Recommended)
poetry
Dependencies
The SDK automatically installs the following dependencies:
solana- Solana Python SDKsolders- Solana data structureshttpx- Modern HTTP clientwebsockets- WebSocket supportpydantic- Data validation and serialization
Verify Installation
Environment Configuration
Development vs Production
The SDK defaults to development environment, which requires no API key:
API Keys
For production or higher rate limits, set your API key:
Next Steps
Now that you have the SDK installed, check out the Quickstart Guide to start building.