$npx skillfedfor your agent

chz

chz is a library for managing configuration

With conditionsPyPI Software DevelopmentReleased Nov 20251.1M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — chz-0.4.0-py3-none-any.whl
v0.4.0 · released 2025-11-24 · Python >=3.11 · 1 runtime deps: typing-extensions

Yes, if you're building CLI tools or applications that need structured, validated configuration. The low install friction, permissive license, and active maintenance make it a solid choice. The aging status and lack of classifiers suggest it's stable but not rapidly evolving—suitable for production use when your Python version is 3.11+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later.
  • Low install friction with a single lightweight dependency (typing-extensions).
  • The package is aging but actively maintained, with a recent commit on 2025-11-24 and no archived status.

License · maintenance · safety

permissive license (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2025-11-24 (263 days) · last repo commit 2025-11-24 · 237 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,119,778 downloads/mo, #4,341 on PyPI

Verify before relying

pip install chz

from chz import Config

class MyConfig(Config):
    name: str
    debug: bool = False

config = MyConfig.from_cli()
  • Whether the library's immutability guarantees are enforced at runtime or are type-level only.
  • Performance characteristics when handling large configuration objects or deeply nested structures.
  • Compatibility with popular config file formats (YAML, TOML, JSON) beyond what the serialization docs suggest.
Same gist for agents: .md · .json

What it is and what it does

chz is a configuration management library from OpenAI that lets you define configuration objects declaratively and parse them from the command line with full type checking and validation. It provides an object model with immutability, field-level control, and built-in help generation for CLI discoverability. The library handles serialization and deserialization, supports partial application and presets for shared configuration, and integrates post-initialization hooks for custom logic.

You use chz by defining a configuration class with typed fields, then calling methods to parse from CLI arguments or load from serialized form. It's designed to replace ad-hoc argparse or environment-variable handling with a declarative, type-safe alternative that catches configuration errors early.

Use it for

  • Define and parse command-line tool configuration with automatic type validation and help text generation.
  • Build reusable configuration presets or templates that can be partially applied and shared across applications.
  • Validate and deserialize configuration from multiple sources (CLI, files, environment) into a single typed object model.
  • Create CLI tools with built-in discoverability where help and error messages are generated from the configuration schema.

Worth the install?

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

With conditions

Yes, if you're building CLI tools or applications that need structured, validated configuration.

The low install friction, permissive license, and active maintenance make it a solid choice. The aging status and lack of classifiers suggest it's stable but not rapidly evolving—suitable for production use when your Python version is 3.11+.

Install

chz on PyPI

Before you install

Low install friction with a single lightweight dependency (typing-extensions). The package is aging but actively maintained, with a recent commit on 2025-11-24 and no archived status.

Requires Python 3.11 or later.

License in practice

MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install chz

from chz import Config

class MyConfig(Config):
    name: str
    debug: bool = False

config = MyConfig.from_cli()

Verify before relying

  • Whether the library's immutability guarantees are enforced at runtime or are type-level only.
  • Performance characteristics when handling large configuration objects or deeply nested structures.
  • Compatibility with popular config file formats (YAML, TOML, JSON) beyond what the serialization docs suggest.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
typing-extensions
MaintenanceAging 263 days since the last release
Last repo commit
First released
Downloads1,119,778 / month, #4,341 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: chz-0.4.0-py3-none-any.whl

Tags

Capabilities
configuration management librarycommand line argument parsingconfig validation and type checkingdeclarative configuration objectscli config management
Topics
cli-toolsconfig-managementtype-safe

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 › “configuration management library”

  • chzchz is a configuration management library that handles command-line…
  • fiddleFiddle is a Python-first configuration library that lets you define…
  • lazr.configlazr.config lets you define configuration schemas and validate…

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 mixbox · colcon-core · envier · lazr.config · app-model · parsy · environ-config · zope.security · pytoolconfig · typing-json