Utilities for working with 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-2.0.tar.gz
(52.3 kB
view hashes)
Built Distribution
sigtools-2.0-py2.py3-none-any.whl
(69.1 kB
view hashes)
Close
Hashes for sigtools-2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47627f866a100d6ac01e990776084283751cd89a8f34b46599d23b3e0c74c1f4 |
|
MD5 | a2ec8603a6431fe4d9b323f271008739 |
|
BLAKE2b-256 | 3f808982280cd99d04e681ca39d6bddbba2fd60ba07b0ab98a302a0f519e6f1b |