Path to this page:
./
devel/py27-attrs,
Attributes without boilerplate
Branch: CURRENT,
Version: 21.4.0nb1,
Package name: py27-attrs-21.4.0nb1,
Maintainer: pkgsrc-usersattrs 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!
This version of the package supports Python 2.
Master sites:
Filesize: 197.108 KB
Version history: (Expand)
- (2023-08-14) Updated to version: py27-attrs-21.4.0nb1
- (2023-04-30) Package added to pkgsrc.se, version py27-attrs-21.4.0 (created)
CVS history: (Expand)
2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247) |
Log message:
*: recursive bump for Python 3.11 as new default
|
2023-04-30 14:59:49 by Thomas Klausner | Files touched by this commit (4) |
Log message:
devel/py27-attrs: import py27-attrs-21.4.0
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!
This version of the package supports Python 2.
|