backcall
Specifications for callback functions passed in to an API
Decision gist · record as of 2026-08-14
Yes, if you are maintaining a library with a stable callback API and want lightweight signature validation without dependencies. No, if you need active maintenance or are starting a new project—the package is abandoned and there are no recent updates. Consider it for mature, low-change codebases only.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- However, the package is abandoned—last release was 2020-06-09 and no commits since then—so it will not receive bug fixes or maintenance.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
last release 2020-06-09 (2257 days) · last repo commit 2020-06-09 · 19 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,815,737 downloads/mo, #1,216 on PyPI
Alternatives
Verify before relying
from backcall import callback_prototype
@callback_prototype
def handle_ping(sender, delay=None):
pass
callback = handle_ping.adapt(your_callback_function)- Whether the package works correctly with modern Python versions (classifiers list Python 2.7 and Python 3, but no specific version bounds are declared)
What it is and what it does
backcall is a small utility for specifying and enforcing callback function signatures in APIs. When you accept callbacks from users of your library, backcall lets you define a prototype function that describes the expected signature, then automatically adapts incoming callbacks to match it. If a callback has fewer parameters than the prototype, backcall wraps it to discard extras; if it requires more, backcall raises a TypeError at registration time rather than at call time.
The package has no runtime dependencies and installs cleanly. It is designed for library authors who want to evolve their callback APIs without breaking existing user code. However, the project has been abandoned since 2020 with no recent maintenance, so it should only be used in stable, low-change codebases or as a reference for implementing similar validation logic.
Use it for
- Library authors defining stable callback APIs that may evolve over time while maintaining backward compatibility
- Validating event handler signatures before registering them in event systems or plugin frameworks
- Adapting third-party callbacks to match your API's expected parameter list without manual wrapping
- Catching callback signature mismatches early at registration time rather than at runtime
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are maintaining a library with a stable callback API and want lightweight signature validation without dependencies.
No, if you need active maintenance or are starting a new project—the package is abandoned and there are no recent updates. Consider it for mature, low-change codebases only.
Install
backcall on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is abandoned—last release was 2020-06-09 and no commits since then—so it will not receive bug fixes or maintenance.
License in practice
Licensed under BSD (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
Quickstart
from backcall import callback_prototype
@callback_prototype
def handle_ping(sender, delay=None):
pass
callback = handle_ping.adapt(your_callback_function)
Verify before relying
- Whether the package works correctly with modern Python versions (classifiers list Python 2.7 and Python 3, but no specific version bounds are declared)
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,257 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,815,737 / month, #1,216 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3 |
Evidence: backcall-0.2.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “callback function signature validation”
- backcallbackcall lets you define and validate callback function signatures,…
- funcsigsProvides Python function signature introspection (PEP 362) for Python…
- pydantic-function-modelsWraps Python functions to validate their arguments against type hints…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also strict-kwargs · retry2 · reretry · pydantic-function-models · overloading · decopatch · multipledispatch · makefun · sigtools · mypy-strict-kwargs