Utilities for working with inspect.Signature objects.
Project Links
Meta
Author: Yann Kaiser
Requires Python: >=3.6
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
License
- OSI Approved :: MIT License
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3.4
- Python :: 3.5
- Python :: 3.6
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
Topic
- Software Development :: Libraries :: Python Modules
The sigtools python library provides:
sigtools.signature to resolve function signatures, taking into account parameters added or removed by decorators.
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
4.0.1
Oct 13, 2022
4.0.1a1
Oct 12, 2022
4.0.0
Jul 14, 2022
4.0.0a2
Jul 14, 2022
4.0.0a1
Jul 03, 2022
3.0.0rc4
Feb 19, 2022
3.0.0rc2
Feb 19, 2022
2.0.3
Sep 19, 2021
2.0.2
Jun 05, 2018
2.0.1
Sep 04, 2016
2.0
Jul 03, 2016
2.0b1
May 29, 2016
1.1a3
Feb 28, 2016
1.1a2
Feb 08, 2016
1.0
May 19, 2015
0.1b3
Feb 20, 2015
0.1b2
Feb 08, 2015
0.1b1
Jan 11, 2015
0.1a5
Aug 15, 2014
0.1a4
Aug 14, 2014
0.1a3
Dec 26, 2013
0.1a2
Oct 20, 2013
0.1a0
Sep 29, 2013