Installation
Pactole is a Python library for managing lottery results.
Requirements
Pactole requires Python 3.10 or newer.
The dependencies are managed by uv.
Install the package
Install the published package with uv:
Or with pip:
Install from source
To install the latest source version directly from GitHub:
Or:
Development setup
Clone the repository:
uv sync installs runtime and development dependencies by default.
Install Git hooks with pre-commit:
Optional: runtime-only environment
If you only need runtime dependencies, exclude the development group:
Optional: pip-based development setup
Still want to use pip?
When creating the environment, make sure Python 3.10+ is used.