python-json-config
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.
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- Low install friction with only two runtime dependencies (jsonschema and msgpack).
- Maintenance status is active with a recent commit in June 2026, though the latest release was in November 2019.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2019-11-21 (2458 days) · last repo commit 2026-06-23 · 22 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 760,545 downloads/mo, #5,129 on PyPI
Alternatives
Verify before relying
pip install python-json-config
from python_json_config import ConfigBuilder
builder = ConfigBuilder()
config = builder.parse_config('config.json')
port = config.server.port- Whether the package is actively maintained for new features or only receives critical fixes (last release was November 2019).
- Performance characteristics when handling large or deeply nested configuration files.
What it is and 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.
The 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
python-json-config on PyPI
Before you install
Low install friction with only two runtime dependencies (jsonschema and msgpack). Maintenance status is active with a recent commit in June 2026, though the latest release was in November 2019.
Requires Python 3.6 or later.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install python-json-config
from python_json_config import ConfigBuilder
builder = ConfigBuilder()
config = builder.parse_config('config.json')
port = config.server.port
Verify before relying
- Whether the package is actively maintained for new features or only receives critical fixes (last release was November 2019).
- Performance characteristics when handling large or deeply nested configuration files.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesjsonschemamsgpack |
| Maintenance | Actively maintained 2,458 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 760,545 / month, #5,129 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: PyPy |
Evidence: python_json_config-1.2.3-py2.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 › “environment variable config override”
- python-json-configLoads JSON configuration files and provides dot-notation access to…
- hierarchical-confLoads configuration from YAML files organized by environment,…
- confuseConfuse is a YAML configuration library that handles defaults, type…
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 config-parser · mo-dots · orjson · environs · jsonasobj2 · fastapi-cors · pytest-fixture-config · bestconfig · pytest-dotenv · cabina