You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sigtools

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sigtools

Utilities for working with inspect.Signature objects.

4.0.1
pipPyPI
Maintainers
1

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 <https://virtualenv.readthedocs.org/en/latest/virtualenv.html>_::

$ pip install sigtools

Or for a user-wide install::

$ pip install --user sigtools

Keywords

introspection signature

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts