fmtconv
Convert between JSON, YAML, TOML, and INI config formats from the command line.
Install
pip install fmtconv-cli
Usage
# Convert between formats
fmtconv to-yaml config.json
fmtconv to-json config.yaml
fmtconv to-toml config.json
fmtconv to-ini config.json
cat config.yaml | fmtconv to-json
# Auto-detect format
fmtconv detect config.yaml # → yaml
# Validate
fmtconv validate config.json # → Valid JSON
# Pretty-print in place
fmtconv prettify messy.json
# Write to file
fmtconv to-yaml config.json -o config.yaml
# Sort keys
fmtconv to-json config.yaml --sort-keys
# Machine-readable output
fmtconv detect config.yaml --json # → {"format": "yaml"}
Commands
| Command | Description |
|---|---|
to-json |
Convert to JSON |
to-yaml |
Convert to YAML |
to-toml |
Convert to TOML |
to-ini |
Convert to INI |
detect |
Auto-detect format |
validate |
Check if input is valid |
prettify |
Pretty-print in same format |
All commands accept a file argument or stdin, and support --json for machine-readable output.
For AI Agents
See SKILL.md for agent-optimized documentation.
License
MIT
Metadata
Release files for fmtconv-cli 0.1.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 |
|---|---|---|---|---|
| fmtconv_cli-0.1.0.tar.gz | 5.1 kB | Without provenance | Details for fmtconv_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fmtconv_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for fmtconv_cli-0.1.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / fmtconv_cli-0.1.0.tar.gz
| Download URL | fmtconv_cli-0.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7a4b68c49def9507128045f7c3baf6d8c688444e106d98c81ddaa5b5ea280d3
|
|
BLAKE2b-256 checksum How to use checksums |
768a8d688d51dee60b2d1db6ee978577e5dadb4fba9ed0bc4531c1c206be601d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / fmtconv_cli-0.1.0-py3-none-any.whl
| Download URL | fmtconv_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78599caaa32185a272151d5c40e8cf7f6085e8af22f62397808182c63f70b6cd
|
|
BLAKE2b-256 checksum How to use checksums |
fea7d93d3177b2a0d07d42ab12d3b99a54e2cf49ecef9926c1c99101a7d68138
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for fmtconv-cli 0.1.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.