MyClassargs
MyClassargs is a lightweight Python library that provides a declarative approach to defining constructor arguments for classes. It aims to reduce boilerplate by centralizing argument validation, normalization, and attribute binding in a single schema.
Core concepts include a declarative argument schema where each parameter declares its name, type, default value,
Design and implementation typically rely on a metaclass or class decorator that generates an __init__ method
Usage pattern: declare a class with an argument schema, then instantiate by passing keyword arguments that
Relation to other tools: MyClassargs sits between dataclasses and validation-focused libraries such as pydantic, offering lightweight