Define fields in python classes. Easily.
-
Updated
Nov 6, 2023 - Python
Define fields in python classes. Easily.
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 :).
Add a description, image, and links to the attr topic page so that developers can more easily learn about it.
To associate your repository with the attr topic, visit your repo's landing page and select "manage topics."