devel/py-attrs 26.1.0 OpenBSD
classes without boilerplate
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Last update
- Commit
a07d43f3a9- Categories
- devel, lang/python
Description
attrs is an MIT-licensed Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols.
You just specify the attributes to work with and attrs gives you:
* a nice human-readable __repr__, * a complete set of comparison methods, * an initializer, * and much more
without writing dull boilerplate code again and again.
This gives you the power to use actual classes with actual types in your code instead of confusing tuples or confusingly behaving namedtuples.
So put down that type-less data structures and welcome some class into your life!
In the other systems
The newest version among them is 26.1.0, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/py-attrs | 26.1.0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-09-03 |
| FreeBSD | devel/py-attrs | 26.1.0 newest | none known | - | [email protected] | - |
| NetBSD | devel/py-attrs | 26.1.0 newest | none known | - | [email protected] | 2026-10-16 |
| DragonFly | devel/py-attrs | 25.3.0 | none known | - | [email protected] | - |
| MidnightBSD | devel/py-attrs | 26.1.0_1 newest | no data | - | [email protected] | 2026-08-07 |
| HardenedBSD | devel/py-attrs | 26.1.0 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-attrs | 26.1.0 newest | no data | - | [email protected] | - |
| OPNsense | devel/py-attrs | 26.1.0 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add py3-attrs
From the ports tree:
cd /usr/ports/devel/py-attrs && make install
Dependencies
Build dependencies 5
Run dependencies 1
Required by 27
- comms/zigpy/py-zigpy
- databases/py-pg_activity
- devel/py-automat
- devel/py-cattrs
- devel/py-hypothesis
- devel/py-jsonschema
- devel/py-matrix-common
- devel/py-test-subtests
- devel/py-trio
- devel/py-twisted
- devel/reuse
- games/pysol
- geo/py-fiona
- geo/py-morecantile
- geo/py-rasterio
- multimedia/yle-dl
- net/magic-wormhole
- net/synapse
- security/boofuzz
- security/py-in-toto
- security/py-service_identity
- textproc/py-referencing
- wayland/libei
- www/py-aiohttp
- www/py-requests-cache
- www/py-treq
- www/py-wapiti_arsenic