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: https://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.3.tar.gz
(53.7 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-2.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf515fde41bc340b7b27614b290e7f5227b6ab3053c4e8922bc2f9bcad3249d7 |
|
MD5 | f7f25f2a4ad7edfbc8ac2e605b979767 |
|
BLAKE2b-256 | 393e35b12f4997c7aef0ac0df59edcece9d58c359eca1bc37ef0cf8f90001d14 |