Utilities for working with 3.3's 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-1.0.tar.gz
(34.0 kB
view hashes)
Built Distribution
sigtools-1.0-py2.py3-none-any.whl
(50.1 kB
view hashes)
Close
Hashes for sigtools-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c5d2688672b662c50071b537153220303ebc67f66f4da2d387a4abafb8267a9 |
|
MD5 | 457eec279f5d9ef0236f3208ee9034f3 |
|
BLAKE2b-256 | de50100fa1051d3d4b7ad91ac8637259dccb976f762e9353cdaba0ffc2a5d07d |