Spravka

raw JSON →
0.0.14 verified Sat May 09 auth: no python

Spravka is a tool for auto-generating Python project boilerplate and configuration files. Version 0.0.14 is the latest. Release cadence is irregular. It is designed to scaffold project structure, pyproject.toml, CI/CD, and other common files based on user prompts.

pip install spravka
error ModuleNotFoundError: No module named 'spravka'
cause Package not installed or installed in wrong Python environment.
fix
Run pip install spravka in the correct virtual environment.
error TypeError: __init__() got an unexpected keyword argument 'template'
cause Incorrect or outdated constructor arguments; API changed between versions.
fix
Refer to current documentation; use Spravka() without arguments, then configure via methods.
breaking Spravka may overwrite existing files (e.g., pyproject.toml) without warning. Always run in a clean directory or version-controlled environment.
fix Use a temporary directory or back up existing files before running.
gotcha Spravka requires an interactive terminal for prompts. It may fail if run in a non-interactive environment (e.g., CI/CD without TTY).
fix Provide answers via stdin using a here-doc or use the programmatic API with pre-populated config.

Minimal setup to auto-generate a project structure and configuration.

from spravka import Spravka
spravka = Spravka()
spravka.generate()