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-4.0.0a1.tar.gz
(69.4 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-4.0.0a1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab47d4b45fa9d767988095bd2263de5ed4e284de172edf3b3c7d7d080e24fa9 |
|
MD5 | 966e11447f3cb675a35e403950632933 |
|
BLAKE2b-256 | 7bb7c7d1c0d054ece8d4e9025b3d50c2cc5cfeb5e84da845ed72efbbb8b21360 |