Skip to content

Installation

Requirements

  • Python 3.9 or higher
  • pip or uv package manager

Install from PyPI

The easiest way to install kalshi-py is from PyPI:

pip install kalshi-py

Install with uv

If you're using uv (recommended):

uv add kalshi-py

Install from source

To install the latest development version:

git clone https://github.com/APTy/kalshi-py.git
cd kalshi-py
pip install -e .

Dependencies

kalshi-py has the following dependencies:

  • httpx>=0.23.0,<0.29.0 - HTTP client
  • attrs>=22.2.0 - Data classes
  • python-dateutil>=2.8.0,<3 - Date parsing
  • cryptography>=41.0.0 - RSA-PSS signatures

Next Steps