A tool that turns any yaml or json configs into tui
Project description
ConfigUI
Turn YAML, JSON, and TOML configuration files into a terminal user interface (TUI) — no IDE required.
Installation
# Install from PyPI
uv tool install configui
# Or with pip
pip install configui
Quickstart
configui path/to/config.yaml
Open a configuration file in the interactive TUI editor. Edit values, toggle booleans, navigate nested structures — everything stays type-aware. Try it with the sample configs in samples/:
configui samples/training_config.yaml
configui samples/training_config.json
configui samples/training_config.toml
configui path/to/config.yaml -r # Read-only mode
Features
- Type-aware editing — booleans become checkboxes, numbers get numeric inputs, nested objects become collapsible sections.
- Multi-format — YAML (with comment preservation via
ruamel.yaml), JSON, and TOML (withtomlkit). - Read-only mode — inspect configs without accidental edits (
-rflag). - Save or Save As — overwrite the original or write to a new path.
- Comment preservation — your YAML and TOML comments stay intact.
Supported Formats
| Format | Library | Comments preserved |
|---|---|---|
| YAML | ruamel.yaml | ✅ |
| JSON | stdlib json | ❌ (not supported by format) |
| TOML | tomlkit | ✅ |
Development
uv tool install hatch
hatch run release # fmt → typing → test with coverage
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file configui-1.0.0.tar.gz.
File metadata
- Download URL: configui-1.0.0.tar.gz
- Upload date:
- Size: 44.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35fe87d6c2cf0711f1fa0222b4c6e57d7489458d976f72f175be7291d969951e
|
|
| MD5 |
275d81b7f0aea0c60340530a5ae1d92a
|
|
| BLAKE2b-256 |
c7df6517503ea893124879585f6eef45613fec4adad12ed920f8734e0e13de0e
|
File details
Details for the file configui-1.0.0-py3-none-any.whl.
File metadata
- Download URL: configui-1.0.0-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f81922d5c90a1cc19b37c2e9bd449ad2ede4d5abecf5a359857ad22324a07e9
|
|
| MD5 |
ce6d9f84acbc17b867b70961c6bc71b1
|
|
| BLAKE2b-256 |
75cf89f150494c948ab2540aa6bd9a2204d8af9f7937353ef54d19b12472dbd2
|