Skip to main content

sigtools: utilities to manipulate callable objects’ signatures

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

Metadata

Release files for sigtools 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sigtools 1.0
File Size Uploaded
sigtools-1.0.tar.gz 34.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sigtools 1.0
File Interpreter ABI Platform
sigtools-1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 84.2 kB

Release files / sigtools-1.0.tar.gz

Download URL sigtools-1.0.tar.gz
Size 34.0 kB
Tags Source
SHA-256 checksum
How to use checksums
34122ddeb7d0560b59781b8187794da439270af84b19748454d4c6cb9b29d697
BLAKE2b-256 checksum
How to use checksums
636f90dfda221c3c046d002ce122a553bd5dfdfc94cdb9cee8e638c030925fbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sigtools-1.0-py2.py3-none-any.whl

Download URL sigtools-1.0-py2.py3-none-any.whl
Size 50.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6c5d2688672b662c50071b537153220303ebc67f66f4da2d387a4abafb8267a9
BLAKE2b-256 checksum
How to use checksums
de50100fa1051d3d4b7ad91ac8637259dccb976f762e9353cdaba0ffc2a5d07d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page