wip/py-namedlist 1.7 NetBSD
Similar to namedtuple, but instances are mutable
- System
- NetBSD
- Repository
- pkgsrc-wip
- Maintainer
- [email protected]
- License
- apache-2.0
- Categories
- wip, devel, python
Description
namedlist provides 2 factory functions, namedlist.namedlist and namedlist.namedtuple. namedlist.namedtuple is similar to collections.namedtuple, with the following differences:
* namedlist.namedtuple supports per-field default values. * namedlist.namedtuple supports an optional default value, to be used by all fields that do not have an explicit default value.
namedlist.namedlist is similar, with this additional difference:
* namedlist.namedlist instances are mutable.
Install
From pkgsrc-wip (no binary package):
cd /usr/pkgsrc/wip/py-namedlist && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.