$npx skillfedfor your agent

typed-config

Typed, extensible, dependency free configuration reader for Python projects for multiple config sources and working well in IDEs for great autocomplete performance.

Worth itPyPI Software DevelopmentReleased Apr 202484.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — typed_config-2.0.3-py3-none-any.whl
v2.0.3 · released 2024-04-02 · Python >=3.6.0

Yes. typed-config is a solid, low-friction choice for applications that need typed configuration with IDE support and multi-source fallback. The zero runtime dependencies, MIT license, and stable API make it safe to adopt. Dormant maintenance is not a concern given the package's narrow, well-defined scope and lack of known vulnerabilities. Install it if you want type-safe config without heavy frameworks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 3.6 or above required; Python 3.6–3.7 also requires typing_extensions (not automatically installed).
  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is dormant (last release 2024-04-02, 864 days ago), but the repository remains active and the package is stable enough for production use.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and open-source projects without restriction.

last release 2024-04-02 (864 days) · last repo commit 2024-04-02 · 25 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,788 downloads/mo, #13,973 on PyPI

Verify before relying

pip install typed-config

# config.py
from typedconfig import Config, key, section
from typedconfig.source import EnvironmentConfigSource

@section('database')
class AppConfig(Config):
    host = key(cast=str)
    port = key(cast=int)

config = AppConfig()
config.add_source(EnvironmentConfigSource())
config.read()

# main.py
from config import config
print(config.host, config.port)
  • Whether typing_extensions is automatically installed for Python 3.6–3.7 or requires manual setup
  • Performance characteristics when reading from network-based config sources
  • Whether hierarchical config supports arbitrary nesting depth or has practical limits
Same gist for agents: .md · .json

What it is and what it does

typed-config is a configuration reader that maps environment variables and INI files into typed Python classes, enabling IDE autocomplete and type checking on config values. You define your configuration schema as decorated classes with typed keys, then add one or more config sources (environment, INI file, etc.) in priority order. The package reads values lazily on first access and caches them, or you can call read() upfront to fail fast if required values are missing.

The core design emphasizes type information: by specifying a cast function on each key, you get both runtime parsing and IDE type hints. It supports hierarchical configs via group_key, custom section and key names, optional parameters, and defaults. There are no runtime dependencies for Python 3.8+, though Python 3.6–3.7 requires typing_extensions.

Use it for

  • Load database credentials from environment variables with fallback to a shared INI file, with type-safe access in your application code.
  • Define a multi-level config hierarchy (database, algorithm, logging) as nested classes and read from multiple sources with clear precedence.
  • Validate and parse config values at startup with read() to catch missing required settings before the app starts serving requests.
  • Use IDE autocomplete to discover available config keys while writing application code, avoiding string-based lookups.
  • Build a 12-factor-app-compliant configuration system that prioritizes environment variables over checked-in defaults.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

typed-config is a solid, low-friction choice for applications that need typed configuration with IDE support and multi-source fallback. The zero runtime dependencies, MIT license, and stable API make it safe to adopt. Dormant maintenance is not a concern given the package's narrow, well-defined scope and lack of known vulnerabilities. Install it if you want type-safe config without heavy frameworks.

Install

typed-config on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant (last release 2024-04-02, 864 days ago), but the repository remains active and the package is stable enough for production use.

Python 3.6 or above required; Python 3.6–3.7 also requires typing_extensions (not automatically installed).

License in practice

MIT license is permissive; you can use this package freely in commercial and open-source projects without restriction.

Quickstart

pip install typed-config

# config.py
from typedconfig import Config, key, section
from typedconfig.source import EnvironmentConfigSource

@section('database')
class AppConfig(Config):
    host = key(cast=str)
    port = key(cast=int)

config = AppConfig()
config.add_source(EnvironmentConfigSource())
config.read()

# main.py
from config import config
print(config.host, config.port)

Verify before relying

  • Whether typing_extensions is automatically installed for Python 3.6–3.7 or requires manual setup
  • Performance characteristics when reading from network-based config sources
  • Whether hierarchical config supports arbitrary nesting depth or has practical limits

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6.0
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 864 days since the last release
Last repo commit
First released
Downloads84,788 / month, #13,973 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTyping :: Typed

Evidence: typed_config-2.0.3-py3-none-any.whl

Tags

Capabilities
typed configuration readerconfig management with type hintsenvironment and file configIDE autocomplete configmulti-source configurationPython config parsingstructured config classes
Topics
configuration-managementtype-hintsenvironment-variables

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 › “typed configuration reader”

  • typed-configReads typed configuration from multiple sources (environment…
  • PyStaticConfigurationLoads, validates, and reads configuration from multiple file formats…
  • maisonMaison reads configuration settings from files like pyproject.toml…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

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.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

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.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

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.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

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.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

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.

permissive licensepure Python
323.3Mdownloads / mo

See also python-decouple · bestconfig · mypy-boto3-appconfig · environ-config · click-configfile · commented-configparser · envparse · ovos-config · typish · dynaconf