A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).
boilerplate code-generator class property properties attribute constructor fields contracts auto enforce setter type-hints typechecking pep484 getter runtime-typechecking autoargs autoprops attr
- Updated
Apr 19, 2021 - Python