{"full_name":"python-attrs/attrs","owner":"python-attrs","name":"attrs","shard":"1","url":"https://github.com/python-attrs/attrs","description":"Python Classes Without Boilerplate","homepage":"https://www.attrs.org/","topics":["python","boilerplate","classes","oop","attributes"],"tag_pages":["boilerplate","oop","python"],"language":"Python","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/25880274?v=4","created_at":"2015-01-27T15:01:01Z","pushed_at":"2026-11-14T16:02:56Z","metrics":{"stars":5863,"forks":518,"watchers":57,"issues":799,"prs":846,"releases":27,"issues_open":136,"issues_closed":663,"prs_open":41,"prs_closed":147,"prs_merged":658,"discussions":0},"growth":{"day":{"stars":1,"forks":1,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[5862,5863,5863,5863,5863,5862,5863],"forks":[513,514,518,517,517,517,518],"watchers":[null,57,57,57,57,57,57],"issues_open":[null,136,136,136,136,136,136],"prs_open":[null,37,39,39,39,39,41]},"boards":{},"same_owner":[],"issues":[{"number":220,"title":"Class variables","comments":51,"created_at":"2017-07-22T09:59:29Z"},{"number":795,"title":"pyright support via dataclass transforms","comments":27,"created_at":"2021-04-23T21:03:45Z"},{"number":342,"title":"Post-Init-Only arguments","comments":23,"created_at":"2018-02-01T09:46:10Z"},{"number":637,"title":"Option to \"partially override\" an attribute from a parent class?","comments":21,"created_at":"2020-04-06T17:32:30Z"},{"number":424,"title":"Add function to \"instantiate\" __annotations__-derived 'attr.ib's.","comments":19,"created_at":"2018-08-13T20:16:41Z"},{"number":85,"title":"eval-less implementation, preliminary to browser support","comments":19,"created_at":"2016-09-10T00:25:53Z"},{"number":146,"title":"Generalizing ad-hoc attribute callbacks","comments":18,"created_at":"2017-02-12T06:57:39Z"},{"number":357,"title":"Self documentation - current state","comments":17,"created_at":"2018-03-15T10:14:14Z"}],"discussions":[],"latest_release":{"name":"26.1.0","tag":"26.1.0","published_at":"2026-03-19T14:21:42Z","body":"## Highlights\r\n\r\nThe main outward change here only affects people using field transformers, but it should be a nice quality of life improvement!\r\n\r\n*Full changelog below!*\r\n\r\n\r\n## Special Thanks\r\n\r\nThis release would not be possible without my generous sponsors! Thank you to all of you making sustainable maintenance possible! If *you* would like to join them, go to <https://github.com/sponsors/hynek> and check out the sweet perks!\r\n\r\n\r\n### Above and Beyond\r\n\r\n[Variomedia AG](https://www.variomedia.de/) (@[variomedia](https://github.com/variomedia)), [Tidelift](https://www.tidelift.com/) (@[tidelift](https://github.com/tidelift)), [Kraken Tech](https://kraken.tech) (@[kraken-tech](https://github.com/kraken-tech)), [Privacy Solutions GmbH](https://privacy-solutions.org) (@[privacy-solutions](https://github.com/privacy-solutions)), [FilePreviews](http://filepreviews.io/) (@[filepreviews](https://github.com/filepreviews)), [Ecosystems](https://ecosyste.ms) (@[ecosyste-ms](https://github.com/ecosyste-ms)), [TestMu AI Open Source Office (Formerly LambdaTest)](https://www.lambdatest.com) (@[LambdaTest-Inc](https://github.com/LambdaTest-Inc)), [Doist](https://doist.com/) (@[Doist](https://github.com/Doist)), Daniel Fortunov (@[asqui](https://github.com/asqui)), and Kevin P. Fleming (@[kpfleming](https://github.com/kpfleming)).\r\n\r\n\r\n### Maintenance Sustainers\r\n\r\n[Buttondown](https://buttondown.com) (@[buttondown](https://github.com/buttondown)), [Christopher Dignam](https://christopher.xyz) (@[chdsbd](https://github.com/chdsbd)), Magnus Watn (@[magnuswatn](https://github.com/magnuswatn)), [David Cramer](https://cra.mr) (@[dcramer](https://github.com/dcramer)), [Rivo Laks](https://rivolaks.com) (@[rivol](https://github.com/rivol)), [Polar](https://polar.sh) (@[polarsource](https://github.com/polarsource)), [Mike Fiedler](https://miketheman.dev) (@[miketheman](https://github.com/miketheman)), Duncan Hill (@[cricalix](https://github.com/cricalix)), Colin Marquardt (@[cmarqu](https://github.com/cmarqu)), [Pieter Swinkels](https://blog.journeythatcounts.nl) (@[swinkels](https://github.com/swinkels)), Nick Libertini (@[libertininick](https://github.com/libertininick)), [Brian M. Dennis](https://bmdphd.info/) (@[crossjam](https://github.com/crossjam)), Celebrity News AG (@[celebritynewsag](https://github.com/celebritynewsag)), [The Westervelt Company](https://westervelt.com) (@[westerveltco](https://github.com/westerveltco)), [Sławomir Ehlert](https://slafs.net) (@[slafs](https://github.com/slafs)), Mostafa Khalil (@[khadrawy](https://github.com/khadrawy)), [Filip Mularczyk](https://fmularczyk.pl) (@[mukiblejlok](https://github.com/mukiblejlok)), Thomas Klinger (@[thmsklngr](https://github.com/thmsklngr)), [Andreas Poehlmann](https://poehlmann.io) (@[ap--](https://github.com/ap--)), [August Trapper Bigelow](https://atbigelow.com) (@[atbigelow](https://github.com/atbigelow)), [Carlton Gibson](https://noumenal.es/) (@[carltongibson](https://github.com/carltongibson)), and [Roboflow](https://roboflow.com) (@[roboflow](https://github.com/roboflow)).\r\n\r\n\r\n\r\n## Full Changelog\r\n\r\n### Backwards-incompatible Changes\r\n\r\n- Field aliases are now resolved *before* calling `field_transformer`, so transformers receive fully populated `Attribute` objects with usable `alias` values instead of `None`. The new `Attribute.alias_is_default` flag indicates whether the alias was auto-generated (`True`) or explicitly set by the user (`False`). [\\#1509](https://github.com/python-attrs/attrs/issues/1509)\r\n\r\n### Changes\r\n\r\n- Fix type annotations for `attrs.validators.optional()`, so it no longer rejects tuples with more than one validator. [\\#1496](https://github.com/python-attrs/attrs/issues/1496)\r\n- The `attrs.validators.disabled()` contextmanager can now be nested. [\\#1513](https://github.com/python-attrs/attrs/issues/1513)\r\n- Frozen classes can set `on_setattr=attrs.setters.NO_OP` in addition to `None`. [\\#1515](https://github.com/python-attrs/attrs/issues/1515)\r\n-","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}