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:


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.

Files for sigtools, version 2.0.3
Filename, size File type Python version Upload date Hashes
Filename, size sigtools-2.0.3.tar.gz (53.7 kB) File type Source Python version None Upload date Hashes View
Filename, size sigtools-2.0.3-py2.py3-none-any.whl (69.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page