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.0b1.tar.gz
(49.4 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-2.0b1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2296385e4fd46f62827bd41f2c64c467cbf4d5743ccf21307034b9d91b6597f8 |
|
MD5 | 8435f947c554eba6b2994be5b726b6b0 |
|
BLAKE2b-256 | 7506d1156b6348b69425f9299d4c9b483235a79ec98f06bc5e7952aa2f05b8fd |