$npx skillfedfor your agent

prime-pydantic-config

Pydantic-driven CLI with TOML/YAML config file support for ML

Worth itPyPI Application FrameworksReleased Jul 2026344.2K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — prime_pydantic_config-0.4.2-py3-none-any.whl
v0.4.2 · released 2026-07-20 · Python >=3.10 · 1 runtime deps: pydantic

Yes, with caution. The package solves a real problem—bridging Pydantic models and CLI/file-based config—with a clean API and low install friction. However, it is very new, has minimal adoption, and lacks a declared license. Use it for internal or experimental projects; verify the license and test thoroughly before production deployment.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.10.
  • Optional TOML and YAML support requires extras installation.
  • Low friction; pure Python wheel with only pydantic as a runtime dependency.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is available. Verify the repository's license before adopting in proprietary or restricted contexts.

last release 2026-07-20 (25 days) · last repo commit 2026-07-20 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 344,221 downloads/mo, #7,377 on PyPI

Verify before relying

pip install prime-pydantic-config

from prime_pydantic_config import cli, BaseConfig

class Config(BaseConfig):
    lr: float = 1e-4
    batch_size: int = 32

config = cli(Config)
  • Whether the package is production-ready given its recent first release and low repository star count.
  • Exact scope of TOML and YAML support and whether they require external dependencies when installed via extras.
  • Whether discriminated unions and validation aliases work as documented with all Pydantic versions.
Same gist for agents: .md · .json

What it is and what it does

prime-pydantic-config wraps Pydantic models to generate a CLI that accepts configuration from files (TOML, YAML, JSON) and command-line arguments, with file values as defaults and CLI args taking precedence. It handles nested config groups via dotted paths, boolean flags with negation, lists, dicts, optional sub-configs, discriminated unions, and validation aliases—all with auto-generated help text sourced from field descriptions and docstrings.

The package is designed for ML training scripts and similar applications where configuration needs to be flexible, composable, and human-readable. It depends only on pydantic and offers optional extras for TOML and YAML parsing. The CLI is built directly from your Pydantic model definition, so no separate schema or argument parser code is needed.

Use it for

  • Configure ML training scripts with nested groups (model, data, optimizer) via CLI, TOML, or YAML files.
  • Load a base config from a file and override specific fields from the command line without re-specifying unchanged values.
  • Support multiple config variants (e.g., different optimizers) using discriminated unions, switchable by a CLI flag.
  • Migrate legacy config keys to new paths transparently using Pydantic validators, keeping old CLI flags working.
  • Generate self-documenting help text from Pydantic field descriptions and model docstrings without manual flag definitions.

Worth the install?

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

Worth it

Yes, with caution.

The package solves a real problem—bridging Pydantic models and CLI/file-based config—with a clean API and low install friction. However, it is very new, has minimal adoption, and lacks a declared license. Use it for internal or experimental projects; verify the license and test thoroughly before production deployment.

Install

prime-pydantic-config on PyPI

Before you install

Low friction; pure Python wheel with only pydantic as a runtime dependency. Active maintenance with recent releases.

Requires Python >=3.10. Optional TOML and YAML support requires extras installation.

License in practice

License status is unclear—no SPDX identifier or raw license text is available. Verify the repository's license before adopting in proprietary or restricted contexts.

Quickstart

pip install prime-pydantic-config

from prime_pydantic_config import cli, BaseConfig

class Config(BaseConfig):
    lr: float = 1e-4
    batch_size: int = 32

config = cli(Config)

Verify before relying

  • Whether the package is production-ready given its recent first release and low repository star count.
  • Exact scope of TOML and YAML support and whether they require external dependencies when installed via extras.
  • Whether discriminated unions and validation aliases work as documented with all Pydantic versions.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pydantic
MaintenanceActively maintained 25 days since the last release
Last repo commit
First released
Downloads344,221 / month, #7,377 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: prime_pydantic_config-0.4.2-py3-none-any.whl

Tags

Capabilities
pydantic cli config parsertoml yaml json config loadercommand line argument pydanticconfig file cli mergenested config groups clipydantic basemodel cli
Topics
cli-builderconfig-managementml-training

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 › “pydantic cli config parser”

  • prime-pydantic-configBuilds a command-line interface from Pydantic models, loading and…
  • tyrotyro generates command-line interfaces and configuration objects…
  • argdanticBuilds typed command-line interfaces by combining argparse with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Application Frameworks packages

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
textual Worth it
PyPI · Application Frameworks · released Jun 2026

Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.

Install it if you're developing CLI tools, dashboards, or interactive terminal applications.

MITpure Python
443.6Mdownloads / 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
mcp Worth it
PyPI · Application Frameworks · released Jul 2026

Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.

Install it if you need to build or connect to servers.

MITpure Python · 3.10+
319.3Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo

See also pylint-pydantic · config-parser · pydantic-compat · argdantic · pydantic-argparse · bump-pydantic · pydantic_yaml · pydantic_core · pyaml-env · datacontract-specification