Skip to main content

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: http://sigtools.readthedocs.org

Installing

Within a virtualenv:

$ pip install sigtools

Or for a user-wide install:

$ pip install --user sigtools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sigtools-2.0.1.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

sigtools-2.0.1-py2.py3-none-any.whl (69.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sigtools-2.0.1.tar.gz.

File metadata

  • Download URL: sigtools-2.0.1.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sigtools-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9bc83e0cc17640aef2101add0a8382030b9a29b0ed90b513f21283c673093855
MD5 f67b9d4d1e670c2f594c50ac50303652
BLAKE2b-256 0ebc29248bd3ad5cc14dffa7ce6d26878c186766eb7febebc2720cbbe9a13a60

See more details on using hashes here.

File details

Details for the file sigtools-2.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sigtools-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a1b6881c7002a4739f7a51d56ab90a145448984a8c7bec295e3f40fac59b1588
MD5 78af5bf07e883288c12122dc7aed9b66
BLAKE2b-256 4b2fc878f835de68e5da1eb605b403108fe86458f0f90425224bf3cefdf217e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page