attrs==26.1.0
# Classes Without Boilerplate
$ pip install attrs
downloads/wk
0
license
—
version
26.1.0
python
>=3.9
What is attrs?
attrs is a Python package that simplifies class definition by automatically generating common methods like `__init__`, `__repr__`, and `__eq__` based on declared attributes. Developers use it to reduce boilerplate code when creating data classes while maintaining type hints and validation capabilities.
Links
Keywords