skip to navigation
skip to content

Not Logged In

reg 0.2

Generic functions. Clever registries and lookups

Latest Version: 0.6

Reg: Clever Registries and Lookups

Reg is a Python library that provides generic function support to Python. It help you build powerful registration and configuration APIs for your application, library or framework.

Documentation.

CHANGES

0.2 (2013-12-19)

  • If a generic function implementation defines a lookup argument that argument will be the lookup used to call it.
  • Added reg.mapply(). This allows you to call things with more keyword arguments than it accepts, ignoring those extra keyword args.
  • A function that returns None is not assumed to fail, so no fallback to the original generic function is triggered anymore.
  • An optional precalc facility is made available on Matcher to avoid some recalculation.
  • Implement a specific PredicateMatcher that matches a value on predicate.

0.1 (2013-10-28)

  • Initial public release.
 
File Type Py Version Uploaded on Size
reg-0.2.zip (md5) Source 2013-12-19 48KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 110 downloads in the last week
  • 949 downloads in the last month