devel/py-multimethod 1.12 DragonFly
Multiple argument dispatching
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- APACHE20
- Categories
- devel, python
- Package size
- 26.3 KiB, 122.6 KiB installed
Description
Multimethod provides a decorator for adding multiple argument dispatching to functions. The decorator creates a multimethod object as needed, and registers the function with its annotations.
There are several multiple dispatch libraries on PyPI. This one aims for simplicity and speed. With caching of argument types, it should be the fastest pure Python implementation possible.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-multimethod | 1.12 |
| FreeBSD | devel/py-multimethod | 2.1 |
| HardenedBSD | devel/py-multimethod | 2.1 |
| GhostBSD | devel/py-multimethod | 2.0.2 |
Install
Binary package:
pkg install py311-multimethod
From DPorts:
cd /usr/dports/devel/py-multimethod && make install clean
Dependencies
Run dependencies 1
No port depends on this one.