Utilities for working with 3.3's inspect.Signature objects.
Project description
The sigtools python library provides:
Decorators to specify keyword-only parameters, annotations and positional-only parameters, even on python2: sigtools.modifiers
Decorators to specify how *args, **kwargs are handled, in a way that can be introspected: sigtools.specifiers
Function combination routines that preserve signatures: sigtools.wrappers
Functions to manipulate signature objects likewise: sigtools.signatures
The documentation can be found at Read The Docs: http://sigtools.readthedocs.org
Installing
Within a virtualenv:
$ pip install sigtools
Or for a user-wide install:
$ pip install --user sigtools
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sigtools-0.1a5.tar.gz
(23.3 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-0.1a5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb46122134c56aa0d3017dff085eebe033d0e8ee8da8a11f2d060484397e774 |
|
MD5 | 5a6aa8ddf4354457e47546b5f5c10be1 |
|
BLAKE2b-256 | 26e4096b477185eed35138e105bb720a13f1d2d2b4352792e8cb32b63ed73833 |