$npx skillfedfor your agent

coqpit

Simple (maybe too simple), light-weight config management through python data-classes.

With conditionsPyPI Software DevelopmentReleased Dec 2022101.2K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — coqpit-0.0.17-py3-none-any.whl
v0.0.17 · released 2022-12-21 · Python >=3.7.0 · 1 runtime deps: dataclasses

Yes, if you need a minimal, dependency-free config system for ML projects and can tolerate dormant maintenance. The package is stable for its current scope—JSON serialization, nested configs, and CLI parsing work as documented. However, do not use it if you require active maintenance, ongoing Python version support, or a clear license statement. Verify the license in the repository before production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.7.0.
  • Low install friction with only a standard library dependency (dataclasses).
  • However, the package is dormant—last release was 2022-12-21 and no commits for 1332 days—so expect no active maintenance or bug fixes.

License · maintenance · safety

(unclear) — License status is unclear; the package metadata contains no license declaration. Before using in production or distributing, verify the actual license terms in the repository.

last release 2022-12-21 (1332 days) · last repo commit 2024-12-09 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 101,226 downloads/mo, #12,952 on PyPI

Verify before relying

from dataclasses import dataclass
from coqpit import Coqpit

@dataclass
class MyConfig(Coqpit):
    val_a: int = 10
    val_b: str = "example"

config = MyConfig()
config.save_json('config.json')
config.load_json('config.json')
  • Whether the unclear license status has been resolved or clarified in the repository since the last release.
  • Whether the dormant status means the package is stable and complete, or abandoned and at risk of incompatibility with future Python versions.
  • Real-world adoption beyond the cited TTS project and whether active forks or maintained alternatives exist.
Same gist for agents: .md · .json

What it is and what it does

Coqpit is a lightweight configuration library built on Python dataclasses that lets you define structured configs with type hints, default values, and validation. It handles serialization to and from JSON, supports nested and inherited configurations, and can parse values from command-line arguments—useful for machine learning workflows where you need to swap parameters without changing code.

The package intentionally avoids external dependencies, relying only on the standard library's dataclasses module. It's designed for scenarios where you want a schema-driven config file that can be read by other programming languages via JSON, with built-in type checking and the ability to mark fields as mandatory or provide dynamic defaults. The library also supports pretty-printing configs and exporting them to dictionaries for programmatic access.

Use it for

  • Define and validate ML training configs with typed fields, default values, and range constraints for hyperparameter experiments.
  • Save and load experiment configurations to JSON, then share or version-control them independently of code.
  • Override config values from the command line during training runs without modifying the source code or config files.
  • Organize large configs into nested dataclasses for dataset, preprocessing, and model parameters, keeping them maintainable.
  • Enforce that certain config fields are explicitly set before use, catching missing required values early.

Worth the install?

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

With conditions

Yes, if you need a minimal, dependency-free config system for ML projects and can tolerate dormant maintenance.

The package is stable for its current scope—JSON serialization, nested configs, and CLI parsing work as documented. However, do not use it if you require active maintenance, ongoing Python version support, or a clear license statement. Verify the license in the repository before production use.

Install

coqpit on PyPI

Before you install

Low install friction with only a standard library dependency (dataclasses). However, the package is dormant—last release was 2022-12-21 and no commits for 1332 days—so expect no active maintenance or bug fixes.

Requires Python >=3.7.0.

License in practice

License status is unclear; the package metadata contains no license declaration. Before using in production or distributing, verify the actual license terms in the repository.

Quickstart

from dataclasses import dataclass
from coqpit import Coqpit

@dataclass
class MyConfig(Coqpit):
    val_a: int = 10
    val_b: str = "example"

config = MyConfig()
config.save_json('config.json')
config.load_json('config.json')

Verify before relying

  • Whether the unclear license status has been resolved or clarified in the repository since the last release.
  • Whether the dormant status means the package is stable and complete, or abandoned and at risk of incompatibility with future Python versions.
  • Real-world adoption beyond the cited TTS project and whether active forks or maintained alternatives exist.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.7.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
dataclasses
MaintenanceDormant 1,332 days since the last release
Last repo commit
First released
Downloads101,226 / month, #12,952 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3

Evidence: coqpit-0.0.17-py3-none-any.whl

Tags

Capabilities
dataclass config managementJSON config serializationcommand line argument parsingtype-checked configurationnested config inheritanceML experiment configno-dependency config library
Topics
config-managementdataclass-basedml-workflow

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 › “JSON config serialization”

  • coqpitCoqpit provides configuration management through Python dataclasses…
  • coqpit-configCoqpit-config provides lightweight configuration management through…
  • databindDatabind deserializes JSON-like nested data structures into Python…

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 coqpit-config · dataclass-wizard · databind.json · simple-parsing · databind · polyfactory · databind.core · argparse-dataclass · dacite · warchant_dc_schema