BSD Ports

devel/py-attrs 26.1.0 NetBSD

Attributes without boilerplate

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
98aee4881b
License
mit
Categories
devel, python
Package size
106.1 KiB, 669.2 KiB installed

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

SystemPortVersion
NetBSDdevel/py-attrs26.1.0
FreeBSDdevel/py-attrs26.1.0
OpenBSDdevel/py-attrs26.1.0
DragonFlydevel/py-attrs25.3.0
MidnightBSDdevel/py-attrs26.1.0_1
HardenedBSDdevel/py-attrs26.1.0
GhostBSDdevel/py-attrs26.1.0
OPNsensedevel/py-attrs26.1.0

Install

Binary package:

pkgin install py311-attrs

From pkgsrc:

cd /usr/pkgsrc/devel/py-attrs && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6426.1.0
NetBSD 10.1 aarch6426.1.0
SmartOS / illumos x86_6426.1.0
macOS 15 arm6426.1.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-attrs-26.1.0, py313-attrs-26.1.0, py314-attrs-26.1.0

Commit history 1

DateCommitCreditsLog message
98aee4881b adam py-attrs: forget Python 3.10