{"added":null,"apiVersion":1,"behindSince":null,"buildDepends":[],"categories":["devel","python"],"comment":"Python attributes without boilerplate","compare":"/compare/py312-attrs/index.json","dependentCount":null,"description":"attrs is an MIT-licensed Python package with class decorators\nthat ease the chores of implementing the most common attribute-related\nobject protocols:\n\n\u003e\u003e\u003e import attr\n\u003e\u003e\u003e @attr.s\n... class C(object):\n...     x = attr.ib(default=42)\n...     y = attr.ib(default=attr.Factory(list))\n\u003e\u003e\u003e i = C(x=1, y=2)\n\n(If you don't like the playful attr.s and attr.ib, you can also use their\nno-nonsense aliases attr.attributes and attr.attr).\n\nYou just specify the attributes to work with and attrs gives you:\n\n    a nice human-readable __repr__,\n    a complete set of comparison methods,\n    an initializer,\n    and much more\n\nwithout writing dull boilerplate code again and again.","flavors":[],"html":"https://daemonports.org/dragonfly/devel/py-attrs/","kind":"port","lastUpdate":null,"license":["MIT"],"maintainer":"sunpoet@FreeBSD.org","name":"py311-attrs","newest":false,"newestVersion":"26.1.0","noVulnData":false,"origin":"devel/py-attrs","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/py-attrs","path":"/devel/py-attrs/","system":"FreeBSD","version":"26.1.0"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/py-attrs","path":"/openbsd/devel/py-attrs/","system":"OpenBSD","updated":"2026-09-03","version":"26.1.0"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/py-attrs","path":"/netbsd/devel/py-attrs/","system":"NetBSD","updated":"2026-10-16","version":"26.1.0"},{"maintainer":"ports@MidnightBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-attrs","path":"/midnightbsd/devel/py-attrs/","system":"MidnightBSD","updated":"2026-08-07","version":"26.1.0_1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-attrs","path":"","system":"HardenedBSD","version":"26.1.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-attrs","path":"","system":"GhostBSD","version":"26.1.0"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/py-attrs","path":"","system":"OPNsense","version":"26.1.0"}],"packages":null,"pkgName":"py311-attrs-25.3.0","related":null,"repository":"DPorts","requiredBy":["databases/pg_activity","devel/nox","devel/py-aiorpcX","devel/py-aiorpcX-legacy","devel/py-attrs-strict","devel/py-cattrs","devel/py-cattrs23","devel/py-check-wheel-contents","devel/py-clldutils","devel/py-flake8-bugbear","devel/py-frictionless","devel/py-glom","devel/py-hypothesis","devel/py-jschema-to-python","devel/py-jsonlines","devel/py-jsonschema","devel/py-jsonschema3","devel/py-livemark","devel/py-lsprotocol","devel/py-matrix-common","devel/py-outcome","devel/py-parver","devel/py-pytest-mypy","devel/py-pytest-nunit","devel/py-pytest-subtests","devel/py-pytest4","devel/py-qcs-api-client","devel/py-ramlfications","devel/py-referencing","devel/py-sarif-om","devel/py-scantree","devel/py-twisted","devel/py-usort","devel/py-xarray-simlab","devel/py-xsdata-attrs","devel/pytype","finance/electrum","games/pysolfc","graphics/py-fiona","graphics/py-rasterio","graphics/py-ueberzug","mail/py-aiosmtpd","mail/py-flanker","net-im/py-matrix-synapse","net/py-aiohttp-socks","net/py-magic-wormhole","net/py-trio","net/py-zeep","print/py-ufolib2","science/py-asdf","science/py-cfgrib","science/py-eccodes","security/cowrie","security/py-muacrypt","security/py-service-identity","sysutils/kleene-cli","sysutils/py-mqttwarn","sysutils/py-ploy","www/py-aiohttp","www/py-autobahn","www/py-requests-cache","www/py-requests-cache0","www/py-requests-cache93","www/py-treq"],"requiredByCount":64,"runDepends":["lang/python311"],"status":null,"system":"dragonfly","systemLabel":"DragonFly","version":"25.3.0","versions":null,"vulnerabilities":null,"www":"https://www.attrs.org/en/stable/"}
