kvf
The key-value file format with sections
What it is and what it does
KvF is a configuration file format parser that combines key-value pairs with named sections, using Paradict as its underlying text encoding. It provides a simple API to read and write config files as Python dictionaries, where each section becomes a top-level key mapping to a nested dictionary of settings. The format supports comments, nested data structures (lists and dictionaries), and Paradict's type syntax for explicit data representation.
The package is built on two dependencies—paradict for text serialization and braq for section parsing—and offers four main functions: get_config() and load() for reading files, and put_config() and dump() for writing them. It's designed to be a lightweight alternative to formats like INI or YAML when you need sections with structured nested values.
Use it for:
- Store application settings in a human-readable sectioned format with support for nested lists and dictionaries.
- Parse configuration files that require both section organization and complex data types without JSON overhead.
- Replace simple INI-style configs when you need to represent nested structures like lists of items per section.
- Load and save user preferences organized by feature or module as separate sections in one file.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Reads and writes configuration files in KvF format, a key-value file format with named sections that uses Paradict text encoding.
Yes, if you need a lightweight sectioned config format with Paradict encoding and can tolerate dormant maintenance. The low install friction and permissive license make it suitable for small projects, but the lack of active development and minimal community adoption (1 star, 612 days since release) mean you should expect no bug fixes or feature updates. Use only if the KvF format itself is the right fit for your use case.
Install
kvf on PyPI
pip
pip install kvfuv
uv add kvfpoetry
poetry add kvfInstalling kvf
Before you install
Low install friction with only two runtime dependencies (paradict and braq). Maintenance is dormant—last commit was 2024-12-10 and the project has received no updates since initial release in late 2024, so expect no active support or bug fixes.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects that can accept a permissive license.
Quickstart
import kvf
# Read a config file
my_config = kvf.get_config("/path/to/config.kvf")
# Write a config file
kvf.put_config(my_config, "/path/to/config.kvf")
Requires Python 3.5 or newer.
Verify before relying
- Whether the package handles edge cases like duplicate section names or malformed Paradict syntax gracefully.
- Performance characteristics when parsing large config files.
- Compatibility with all Paradict data types and nested structures beyond the documented examples.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.5) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — paradict, braq |
| Maintenance | dormant — 612 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,054/month — #11,889 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kvf-0.0.3-py3-none-any.whl
Keywords: pyrustic
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
braqBraq is a Python library for parsing and…
permissive · top 15,000 on PyPI
paradictParadict serializes and deserializes Python…
permissive · top 15,000 on PyPI
sharedShared provides a simple file-based data…
permissive · top 15,000 on PyPI
jpropertiesParses and writes Java Property files in…
permissive · top 5,000 on PyPI
ConfigArgParseExtends Python's argparse to parse command-line…
permissive · top 1,000 on PyPI
configobjConfigObj reads, writes, and validates…
permissive · top 5,000 on PyPI
hierarchical-confLoads configuration from YAML files organized…
unclear · top 15,000 on PyPI
ConfigUpdaterConfigUpdater reads and modifies INI…
permissive · top 5,000 on PyPI
simplekvsimplekv provides a unified key-value storage…
permissive · top 15,000 on PyPI
iniconfiginiconfig parses INI configuration files while…
permissive · top 100 on PyPI