
attrs 25.4.0
0
Classes Without Boilerplate
Contents
Classes Without Boilerplate
Stars: 5733, Watchers: 5733, Forks: 415, Open Issues: 145The python-attrs/attrs repo was created 11 years ago and the last code push was 1 weeks ago.
The project is extremely popular with a mindblowing 5733 github stars!
How to Install attrs
You can install attrs using pip
pip install attrs
or add it to a project with poetry
poetry add attrs
Package Details
- Author
- None
- License
- None
- Homepage
- None
- PyPi:
- https://pypi.org/project/attrs/
- Documentation:
- https://www.attrs.org/
- GitHub Repo:
- https://github.com/python-attrs/attrs
Classifiers
Related Packages
Errors
A list of common attrs errors.
Code Examples
Here are some attrs code examples and snippets.
GitHub Issues
The attrs package has 145 open issues on GitHub
- Question: type annotating a
validatorcallback - No way to make instances of different classes equal without rewriting
__eq__()entirely - Fix
optionalvalidator to accept tuples of len > 1 - FAILED tests/test_packaging.py - New contributor needs help
- Replace cached_property on slotted classes with a new descriptor instead of writing
__getattr__ - Support evolving to a subclass (possibly any class)
pythonfix