funcsigs
Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2+
What it is and what it does
funcsigs is a backport of Python 3.3's inspect.signature API to older Python versions. It allows you to introspect function signatures—extracting parameter names, defaults, annotations, and binding arguments to parameters—on Python 2.6, 2.7, and early Python 3 versions that lack native support. The package exports a signature() function that returns a Signature object representing a callable's parameters and return annotation, along with Parameter objects describing each argument and methods like bind() and bind_partial() for argument validation.
This package was most useful during the transition from Python 2 to Python 3, when codebases needed to support both. Modern Python includes inspect.signature natively, making funcsigs obsolete for new projects. The package is abandoned and has not been maintained since its latest release, with no known security vulnerabilities but also no ongoing support.
Use it for:
- Introspect function parameters in Python 2.7 code that needs to validate or document callable signatures.
- Backport signature-based argument validation to legacy Python 3.3–3.5 applications before native support.
- Support older testing or documentation tools that relied on PEP 362 introspection across Python 2 and 3.
- Maintain compatibility in libraries that must support both Python 2 and early Python 3 simultaneously.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python function signature introspection (PEP 362) for Python 2.6, 2.7, and 3.3+, backporting the inspect.signature API from Python 3.3 to older versions.
No. This package is abandoned (last release 2016-04-25) and targets Python versions that are themselves out of support. Modern Python includes inspect.signature natively. Install only if you are maintaining legacy Python 2.6–2.7 or Python 3.3–3.5 code that has no path to upgrade; for any new project or modern codebase, use the built-in inspect module instead.
Install
funcsigs on PyPI
pip
pip install funcsigsuv
uv add funcsigspoetry
poetry add funcsigsInstalling funcsigs
Before you install
Installation is straightforward with no runtime dependencies. However, the package is abandoned—last released 2016-04-25 and unmaintained since. It targets Python 2.6, 2.7, and 3.3–3.5, versions that are themselves long out of support.
License in practice
Licensed under Apache Software License (permissive). No licensing restrictions on use or redistribution.
Quickstart
pip install funcsigs
from funcsigs import signature
def example(a, b=None, *args, **kwargs):
pass
sig = signature(example)
print(sig.parameters)
Designed for Python 2.6, 2.7, and 3.3–3.5; modern Python versions have inspect.signature built-in and should not need this backport.
Verify before relying
- Whether the package works correctly on modern Python versions despite targeting only 2.6–3.5.
- Current state of PyPy compatibility (documentation notes PyPy3 CI was failing at last release).
- Whether any downstream projects still actively depend on this package or if it is purely legacy.
Package facts
| License | ASL (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 3,763 days since the last release |
| First released | |
| Downloads | 4,967,244/month — #2,189 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: funcsigs-1.0.2-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
inspect2Provides the Python 3.6 inspect module API on…
permissive · top 15,000 on PyPI
sigtoolsSigtools provides utilities to inspect and…
permissive · top 5,000 on PyPI
docsigLints Python function and method signatures to…
permissive · top 15,000 on PyPI
entrypoint2Converts Python function signatures and…
permissive · top 15,000 on PyPI
typingProvides type hints and annotations for Python…
permissive · top 5,000 on PyPI
autocommandAutocommand converts a Python function into a…
copyleft · top 5,000 on PyPI
wraptwrapt provides a Python module for building…
permissive · top 100 on PyPI
backports.sslProvides the Python 3.4 ssl module API on older…
permissive · top 15,000 on PyPI
typishTypish provides runtime type checking and…
permissive · top 5,000 on PyPI