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-3.0.0rc2.tar.gz
(57.6 kB
view hashes)
Built Distribution
Close
Hashes for sigtools-3.0.0rc2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0456c16dcc6f08ab09b8eb2cddd6b46a67483e151eed7d4685440aa5ef6caf99 |
|
MD5 | a93c72d4be5da413a8a87c5ec1f11be2 |
|
BLAKE2b-256 | e9f36423c70cb5795cdcf212c977b1b93851ecd4ed9442d5db60ac5fb2505b49 |