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-1.1a2.tar.gz
(45.6 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-1.1a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 150a881e6bbb60d7c54939cdfe432f5d930dfeb9479dc67097112852f1ca5665 |
|
MD5 | 75b63d479eee18f9153c7bc75f63e22b |
|
BLAKE2b-256 | 98bcf454fe025ffc3740c2c18dbb1895b0dda9d95d83e6ecfc5453202831ba8b |