prettyconfi
Schema-driven configuration wizard for CLI and web.
Define your configuration flow once as TOML schemas, run it as interactive CLI prompts or export as JSON Schema for web forms.
Install
pip install prettyconfi # core (web-only)
pip install prettyconfi[cli] # with interactive CLI prompts
Quick Start
import prettyconfi
from pathlib import Path
# Load and merge schemas
schemas = prettyconfi.load_schemas([Path("base.toml"), Path("app.toml")])
composed = prettyconfi.compose(schemas)
# Interactive CLI
runner = prettyconfi.CLIRunner(composed)
answers = runner.run()
# Save results
prettyconfi.to_env(answers, Path("output.env"))
Schema Format
schema_version = 1
schema_name = "my-app"
[[fields]]
key = "APP_PORT"
type = "port"
default = 8080
label = "Application Port"
required = true
[[fields]]
key = "DB_HOST"
type = "str"
default = "localhost"
label = "Database Host"
when = { key = "USE_DB", truthy = true }
License
MIT
Metadata
Release files for prettyconfi 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prettyconfi-0.2.0.tar.gz | 20.1 kB | Without provenance | Details for prettyconfi-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prettyconfi-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for prettyconfi-0.2.0-py3-none-any.whl |
Total release size: 33.0 kB
Release files / prettyconfi-0.2.0.tar.gz
| Download URL | prettyconfi-0.2.0.tar.gz |
|---|---|
| Size | 20.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7558130917ff59d4fca40e57b1ea3a94b1b2144b1214f7b3269e72f01a93063
|
|
BLAKE2b-256 checksum How to use checksums |
ab4c878b4ee7f1cdd60f21f95e74a71a79c367fb7337c0b188a0eaf678705ed1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / prettyconfi-0.2.0-py3-none-any.whl
| Download URL | prettyconfi-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a556ea900b15a04ad8347ea2ef69ac4fedc6cd4c0d4b799509455339f42888b
|
|
BLAKE2b-256 checksum How to use checksums |
1e93a381c6bee6b58604eed82539dba64b45ada04eaf88b8801c531de9b1f5b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for prettyconfi 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.