fhconfparser
Provides a config language independent way to read a config file.
Decision gist · record as of 2026-08-14
Yes, if you need to support multiple config formats without writing format-specific code. The low install friction and permissive license make it a safe choice. However, be aware that maintenance is dormant—last release was 933 days ago—so consider whether you need active support or can tolerate a stable, unchanging library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; package is tested on Python 3.8 and 3.11.
- Low friction install with only two lightweight runtime dependencies (attrs and tomli).
- Dormant maintenance status—last release was 933 days ago, though the repository remains active with a recent commit on 2024-12-01.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2024-01-24 (933 days) · last repo commit 2024-12-01
0 known vulnerabilities (OSV.dev, 2026-08-14) · 365,612 downloads/mo, #7,208 on PyPI
Alternatives
Verify before relying
pip install fhconfparser
from fhconfparser import FHConfParser
parser = FHConfParser('config.toml')
config_data = parser.read()- Whether the unified interface handles nested structures and type conversions consistently across all three formats.
- Performance characteristics when parsing large configuration files.
- Error handling and reporting quality for malformed config files in each supported format.
What it is and what it does
FHConfParser provides a single API to read configuration files regardless of whether they are written in INI, TOML, or JSON format. Instead of writing separate parsing logic for each format, you pass a file path and get back the parsed configuration data in a consistent structure. This is useful for tools that need to support multiple config formats—like linters or configuration management utilities—without duplicating parsing code.
The package wraps format-specific libraries (notably tomli for TOML) and attrs for data handling, keeping the dependency footprint small. It's marked as Production/Stable and supports Python 3.8 through 3.12, though development has slowed significantly.
Use it for
- Build a linting tool that accepts configuration in INI, TOML, or JSON without duplicating parser logic.
- Create a CLI application that auto-detects and reads config files in any of the three supported formats.
- Migrate a project's configuration from one format to another by reading with a single parser.
- Write a configuration validation layer that works uniformly across multiple file formats.
- Simplify testing by loading test fixtures from config files in whichever format is most convenient.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to support multiple config formats without writing format-specific code.
The low install friction and permissive license make it a safe choice. However, be aware that maintenance is dormant—last release was 933 days ago—so consider whether you need active support or can tolerate a stable, unchanging library.
Install
fhconfparser on PyPI
Before you install
Low friction install with only two lightweight runtime dependencies (attrs and tomli). Dormant maintenance status—last release was 933 days ago, though the repository remains active with a recent commit on 2024-12-01.
Requires Python 3.8 or later; package is tested on Python 3.8 and 3.11.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install fhconfparser
from fhconfparser import FHConfParser
parser = FHConfParser('config.toml')
config_data = parser.read()
Verify before relying
- Whether the unified interface handles nested structures and type conversions consistently across all three formats.
- Performance characteristics when parsing large configuration files.
- Error handling and reporting quality for malformed config files in each supported format.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8,<4.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesattrstomli |
| Maintenance | Dormant 933 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 365,612 / month, #7,208 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: SecurityTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: fhconfparser-2024.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “unified ini toml json reader”
- fhconfparserReads configuration files in INI, TOML, or JSON format through a…
- anyconfigLoads, dumps, and merges configuration files in multiple formats…
- bestconfigLoads configuration from multiple file formats (.yaml, .json, .ini,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ihm · configparser2 · INITools · pyconfigurator · python-hcl2 · anyconfig · iniconfig · click-configfile · iniparse · maison