BSD Ports

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

SystemPortVersion
DragonFlydevel/py-multimethod1.12
FreeBSDdevel/py-multimethod2.1
HardenedBSDdevel/py-multimethod2.1
GhostBSDdevel/py-multimethod2.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.