This repository contains YAML files with official information on state, county and municipal jurisdictions, such as county government, city councils and school boards.
- Python 3.12 or higher
- uv (for dependency and environment management)
-
Install uv (if not already installed):
brew install uv # or curl -LsSf https://astral.sh/uv/install.sh | sh
-
Create and activate a virtual environment:
uv venv .venv source .venv/bin/activate -
Install dependencies:
uv sync --all-extras
To run the main script:
uv run python main.pyTo install development dependencies (for testing, linting, etc):
uv sync --all-extrasRun tests with:
uv run pytestRun linter with:
uv run ruff .- Runtime:
pydantic>=2.11.9 - Development:
polars>=1.33.1,pytest>=8.4.2,ruff>=0.13.2
For more details on using uv, see docs/setup_uv.md.