sigtools 4.0.1


pip install sigtools

  Latest version

Released: Oct 13, 2022

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

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

Extras:
Dependencies:
attrs