maison
Read settings from config files
Decision gist · record as of 2026-08-14
Yes, if you need to read and validate user configuration files in a Python package or CLI tool. The low install friction, permissive license, and straightforward API make it practical. However, the aging maintenance status (309 days since last release) means you should verify the package still meets your needs and be prepared to maintain a fork if critical issues arise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low install friction with a pure-Python wheel and five lightweight runtime dependencies.
- Maintenance status is aging—last release was 309 days ago—so expect slower response to issues.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.
last release 2025-10-09 (309 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,183,641 downloads/mo, #4,253 on PyPI
Alternatives
Verify before relying
pip install maison
from maison import UserConfig
config = UserConfig(package_name="acme")
if config.values["enable_useful_option"]:
# use the config value- Whether pydantic validation is optional or required for typical use cases
- Performance characteristics when caching large or deeply nested config files
- Exact behavior when multiple config files define conflicting keys
What it is and what it does
Maison is a configuration file reader designed for Python packages and command-line tools. It loads settings from files like pyproject.toml or .ini files in a user's directory, with optional validation and built-in caching. The package exposes a UserConfig class that retrieves configuration values by package name, making it straightforward to let users customize tool behavior through standard config files.
The library supports multiple config file types and optional merging of settings across files. It is fully typed and tested. Runtime dependencies are loguru, platformdirs, tomli, typer, and typing-extensions. The package requires Python 3.9 or later.
Use it for
- Load tool settings from pyproject.toml so users can configure behavior without command-line flags
- Read and validate configuration from .ini or other config files with optional validation
- Cache config file contents to avoid repeated disk reads in long-running applications
- Merge settings from multiple config files to support layered configuration strategies
- Build CLI tools that respect user preferences stored in standard config locations
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read and validate user configuration files in a Python package or CLI tool.
The low install friction, permissive license, and straightforward API make it practical. However, the aging maintenance status (309 days since last release) means you should verify the package still meets your needs and be prepared to maintain a fork if critical issues arise.
Install
maison on PyPI
Before you install
Low install friction with a pure-Python wheel and five lightweight runtime dependencies. Maintenance status is aging—last release was 309 days ago—so expect slower response to issues.
Requires Python 3.9 or later.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.
Quickstart
pip install maison
from maison import UserConfig
config = UserConfig(package_name="acme")
if config.values["enable_useful_option"]:
# use the config value
Verify before relying
- Whether pydantic validation is optional or required for typical use cases
- Performance characteristics when caching large or deeply nested config files
- Exact behavior when multiple config files define conflicting keys
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesloguruplatformdirstomlitypertyping-extensions |
| Maintenance | Aging 309 days since the last release |
| First released | |
| Downloads | 1,183,641 / month, #4,253 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.9 |
Evidence: maison-2.0.2-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 › “read config files”
- maisonMaison reads configuration settings from files like pyproject.toml…
- vyper-configVyper provides a unified configuration system for Python applications…
- pytoolconfigPytoolconfig reads and manages configuration for Python tools from…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pytoolconfig · Flake8-pyproject · pytest-env · fhconfparser · INITools · setoptconf · everett · typed-config · python-decouple · bestconfig