ZConfig
Structured Configuration Library
Decision gist · record as of 2026-08-14
Yes, if you need structured, schema-driven configuration with type validation and custom conversion routines. The package is stable, has no dependencies, and supports current Python versions. The aging maintenance status (266 days since last release) is not a blocker given the mature, stable nature of the library, but review the Zope Public License 2.1 if proprietary use is a concern. Not necessary if ConfigParser or simpler alternatives meet your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last release was 266 days ago—but the package remains actively supported on current Python versions (3.10 through 3.14) with no known vulnerabilities.
License · maintenance · safety
ZPL-2.1 (unclear) — Licensed under Zope Public License 2.1, which is OSI-approved but less commonly encountered than MIT or Apache 2.0. The license treatment is marked unclear in the fact sheet, so review the full license text if proprietary use or redistribution is a concern.
last release 2025-11-21 (266 days) · last repo commit 2025-11-21 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 215,204 downloads/mo, #9,405 on PyPI
Alternatives
Verify before relying
pip install ZConfig
from ZConfig import configureLoggers
configureLoggers('''
level INFO
PATH STDOUT
format %(levelname)s %(name)s %(message)s
''')- Whether the XML schema language and conversion function binding model are suitable for your specific configuration complexity.
- Performance characteristics when loading large or deeply nested configuration hierarchies.
- Compatibility with third-party packages that provide ZConfig schema components via entry points.
What it is and what it does
ZConfig is a configuration library designed for applications that need more structure and type safety than Python's standard ConfigParser. It uses XML-based schemas to define configuration structure, data types, and validation rules. Schemas can import components from Python packages, allowing configuration objects to be arbitrarily complex with values verified against custom constraints. This separation of schema definition from configuration loading makes it well-suited to configuration-intensive applications where multiple packages need to contribute configuration support.
The library is particularly known for its logging configuration support, which integrates directly with Python's logging framework. It supports multiple format styles (classic, format, template, safe-template), custom log handlers, and parameters like delay and encoding. ZConfig has been in active development since 2005 and currently supports Python 3.10 through 3.14, with no known security vulnerabilities.
Use it for
- Configure Python logging with hierarchical handlers, formatters, and custom styles defined in a schema.
- Build configuration systems for multi-package applications where each package contributes schema components.
- Define typed, validated configuration files with custom conversion functions for application-specific data types.
- Separate configuration schema definition from configuration loading in complex applications.
- Generate documentation for configuration schemas using the built-in Sphinx extension.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need structured, schema-driven configuration with type validation and custom conversion routines.
The package is stable, has no dependencies, and supports current Python versions. The aging maintenance status (266 days since last release) is not a blocker given the mature, stable nature of the library, but review the Zope Public License 2.1 if proprietary use is a concern. Not necessary if ConfigParser or simpler alternatives meet your needs.
Install
zconfig on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last release was 266 days ago—but the package remains actively supported on current Python versions (3.10 through 3.14) with no known vulnerabilities.
Requires Python 3.10 or later.
License in practice
Licensed under Zope Public License 2.1, which is OSI-approved but less commonly encountered than MIT or Apache 2.0. The license treatment is marked unclear in the fact sheet, so review the full license text if proprietary use or redistribution is a concern.
Quickstart
pip install ZConfig
from ZConfig import configureLoggers
configureLoggers('''
level INFO
PATH STDOUT
format %(levelname)s %(name)s %(message)s
''')
Verify before relying
- Whether the XML schema language and conversion function binding model are suitable for your specific configuration complexity.
- Performance characteristics when loading large or deeply nested configuration hierarchies.
- Compatibility with third-party packages that provide ZConfig schema components via entry points.
Package facts
| License | ZPL-2.1 unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 266 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 215,204 / month, #9,405 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Zope Public LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development |
Evidence: zconfig-4.3-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 › “schema-driven configuration”
- ZConfigZConfig is a schema-driven configuration library that parses…
- dydanticDynamically generates Pydantic models from JSON schemas at runtime,…
- xsdataxsdata generates Python dataclasses from XML schemas, WSDL, DTD, and…
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 zope.configuration · config · zope.schema · zope.structuredtext · DocumentTemplate · hierarchical-conf · zope.browsermenu · lazr.config · zope.exceptions · zope.contenttype