attrs
Define Python objects with readable fields and input validation.
python-attrs · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Build a small inventory record with a name and a quantity.
What we tested
23.2.0. Created a valid sample object and confirmed a missing numeric value was rejected.