./devel/py-characteristic, Python attributes without boilerplate

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 14.3.0nb1, Package name: py310-characteristic-14.3.0nb1, Maintainer: pkgsrc-users

characteristic 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 characteristic
gives you any or all of:

* a nice human-readable __repr__,
* a complete set of comparison methods,
* immutability for attributes,
* and a kwargs-based initializer (that cooperates with your existing
one and optionally even checks the types of the arguments)

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!


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 26.36 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2018-07-15 12:38:45 by Adam Ciarcinski | Files touched by this commit (1) | Package updated
Log message:
py-characteristic: updated HOMEPAGE, added USE_LANGUAGES
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-04-20 09:28:58 by Thomas Klausner | Files touched by this commit (4)
Log message:
Import py34-characteristic-14.3.0 as devel/py-characteristic.

characteristic 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 characteristic
gives you any or all of:

* a nice human-readable __repr__,
* a complete set of comparison methods,
* immutability for attributes,
* and a kwargs-based initializer (that cooperates with your existing
  one and optionally even checks the types of the arguments)

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!