{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"}],"enrichment":{"capability":"Loads JSON configuration files and provides dot-notation access to nested values, with built-in validation and transformation of field types and values.","skillfed_tags":["configuration-management","json-parsing"],"use_cases":["Load and validate application configuration from JSON files with type checking on critical fields like server port and IP address.","Override configuration values via environment variables without modifying the JSON file, useful for containerized deployments.","Transform string config values into Python objects (e.g., timedelta, datetime) during config parsing.","Enforce required vs. optional fields and raise errors when accessing missing required configuration.","Serialize and deserialize config objects to different formats (JSON, msgpack, pickle) for caching or transmission."],"what_it_does":"python-json-config wraps JSON configuration files in a Python object that lets you access nested values using dot notation (config.server.port) instead of dictionary subscripts. It depends on jsonschema for validation and msgpack for binary serialization. The library provides a ConfigBuilder that parses JSON into a Config object, which supports field-level type and value validation, field transformation (e.g., string to datetime), optional/required field enforcement, and environment variable merging. You can also serialize configs back to dict, JSON, or msgpack format.\n\nThe package is aimed at applications that need structured configuration management with validation. It handles nested field access, allows you to define which fields must exist or can be missing, chains custom validators, and can override config values from environment variables by prefix. The library maintains an active repository but has not released a new version since November 2019, so it may lack recent Python or dependency updates.","worth_installing":"Yes, if you need straightforward JSON config management with validation. The low install friction, permissive MIT license, and active repository make it a safe choice. However, the lack of a release since November 2019 means you should verify that the package works with your current Python and dependency versions before committing to it in new projects."},"id":"python-json-config","links":{"html":"https://skillfed.io/packages/python-json-config","md":"https://skillfed.io/packages/python-json-config.md","pypi":"https://pypi.org/project/python-json-config/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2019-11-21","license_spdx":null,"license_treatment":"permissive","name":"python-json-config","python_support":"supports_current","summary":"This library allows to load json configs and access the values like members (i.e., via dots), validate config field types and values and transform config fields."},"popularity":{"monthly_downloads":760545,"position":5129,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.3"}
