sigtools: utilities to manipulate callable objects’ signatures
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
Metadata
Release files for sigtools 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sigtools-4.0.0.tar.gz | 71.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sigtools-4.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 147.8 kB
Release files / sigtools-4.0.0.tar.gz
| Download URL | sigtools-4.0.0.tar.gz |
|---|---|
| Size | 71.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cc84a0ba56e34b7f15e433744268f10e0c4a76d6bfece89cecc1a1ca91138b6
|
|
BLAKE2b-256 checksum How to use checksums |
06e9a6854bd2921dcbfb448a11cbee3110ae3d44b2a6808dc00d57fbdc458496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / sigtools-4.0.0-py2.py3-none-any.whl
| Download URL | sigtools-4.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 76.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7d7bfd43b9f49b3df3093b7c2b304797e8472d0966cba68cd0862f460d936da3
|
|
BLAKE2b-256 checksum How to use checksums |
22d43f9f3a896c80210f77928ae6e2865a34de357131639c82a17009f1a31a38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|