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.1.tar.gz
(53.0 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-2.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1b6881c7002a4739f7a51d56ab90a145448984a8c7bec295e3f40fac59b1588 |
|
MD5 | 78af5bf07e883288c12122dc7aed9b66 |
|
BLAKE2b-256 | 4b2fc878f835de68e5da1eb605b403108fe86458f0f90425224bf3cefdf217e0 |