{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"}],"enrichment":{"capability":"Reads typed configuration from multiple sources (environment variables, INI files) with IDE autocomplete support and zero runtime dependencies.","skillfed_tags":["configuration-management","type-hints","environment-variables"],"use_cases":["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."],"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.\n\nThe 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\u20133.7 requires typing_extensions.","worth_installing":"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."},"id":"typed-config","links":{"html":"https://skillfed.io/packages/typed-config","md":"https://skillfed.io/packages/typed-config.md","pypi":"https://pypi.org/project/typed-config/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-04-02","license_spdx":null,"license_treatment":"permissive","name":"typed-config","python_support":"supports_current","summary":"Typed, extensible, dependency free configuration reader for Python projects for multiple config sources and working well in IDEs for great autocomplete performance."},"popularity":{"monthly_downloads":84788,"position":13973,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.3"}
