Skip to main content

A tool that turns any yaml or json configs into tui

Project description

ConfigUI

CI PyPI version Python License

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

ConfigUI screenshot

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 (with tomlkit).
  • Read-only mode — inspect configs without accidental edits (-r flag).
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

configui-1.0.1.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

configui-1.0.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file configui-1.0.1.tar.gz.

File metadata

  • Download URL: configui-1.0.1.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for configui-1.0.1.tar.gz
Algorithm Hash digest
SHA256 62f7173046c3d44bb3f754ad501f7ee8720fefc7f87ef22302f172758e16552b
MD5 9fa355c209562092bc8137fbed5b32bc
BLAKE2b-256 ea94b007474ac342a7b3817b406f24a63d8dd8a879ffe5453266f7d58b1947d0

See more details on using hashes here.

File details

Details for the file configui-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: configui-1.0.1-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.14

File hashes

Hashes for configui-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76235a2f850fc88becfe03d2f100d7b0e1d336e214e940b16afc52dcb2970437
MD5 f1b3c7792f6c36eada7e9183733dde55
BLAKE2b-256 b3795eb766f7c8769837631a7c2759eeedf15d870bfbb00dbad74a5934889b9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page