typer-config
Utilities for working with configuration files in typer CLIs.
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, no known vulnerabilities, and a clear use case for typer users managing complex CLIs. The MIT license poses no restrictions. Install if you build typer applications with many parameters or want to let users configure them via files.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with a single runtime dependency (typer).
- Active maintenance status with recent release.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions.
last release 2026-03-01 (166 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 307,080 downloads/mo, #7,780 on PyPI
Alternatives
Verify before relying
pip install typer-config
import typer
from typer_config import use_yaml_config
app = typer.Typer()
@app.command()
@use_yaml_config()
def main(foo: str):
print(foo)
if __name__ == "__main__":
app()- Whether optional dependencies (YAML, TOML, Dotenv libraries) are automatically installed or must be specified separately.
- Performance characteristics when loading large configuration files.
- Support for nested or complex configuration structures beyond simple key-value pairs.
What it is and what it does
typer-config is a decorator-based utility library that extends typer CLI applications with configuration-file support. Instead of passing many command-line options every time you run a CLI tool, you can write those parameters once in a YAML, TOML, JSON, or Dotenv file and reference it with a single --config parameter. The package provides decorators like @use_yaml_config, @use_toml_config, @use_json_config, and @use_dotenv_config that inject a --config option into your typer command, plus a generic @use_config decorator for custom loaders.
The package depends only on typer and works with modern Python versions (3.10 through 3.14). Optional dependencies for specific file formats can be installed separately, so you only add what you need. It's designed for typer applications with many parameters where repeatedly typing long command lines becomes impractical.
Use it for
- Replace repetitive multi-option CLI invocations with a single config file reference for complex tools.
- Store environment-specific settings (dev, staging, prod) in separate YAML or TOML files for the same CLI.
- Let non-technical users configure CLI tools by editing a simple configuration file instead of memorizing command syntax.
- Manage dotenv-based configuration for CLI tools that read from environment files.
- Prototype CLI parameter sets and reuse them across multiple runs without retyping.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, no known vulnerabilities, and a clear use case for typer users managing complex CLIs. The MIT license poses no restrictions. Install if you build typer applications with many parameters or want to let users configure them via files.
Install
typer-config on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (typer). Active maintenance status with recent release.
Requires Python 3.10 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions.
Quickstart
pip install typer-config
import typer
from typer_config import use_yaml_config
app = typer.Typer()
@app.command()
@use_yaml_config()
def main(foo: str):
print(foo)
if __name__ == "__main__":
app()
Verify before relying
- Whether optional dependencies (YAML, TOML, Dotenv libraries) are automatically installed or must be specified separately.
- Performance characteristics when loading large configuration files.
- Support for nested or complex configuration structures beyond simple key-value pairs.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyper |
| Maintenance | Actively maintained 166 days since the last release |
| First released | |
| Downloads | 307,080 / month, #7,780 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: typer_config-1.5.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 › “typer config file”
- typer-configAdds configuration-file support to typer CLI applications, letting…
- maisonMaison reads configuration settings from files like pyproject.toml…
- sphinxcontrib-typerA Sphinx extension that auto-generates documentation for Typer CLI…
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 typer-injector · jsonargparse · typer-cli · sphinxcontrib-typer · typer-slim · django-typer · yaml-config · lib-layered-config · vyper-config