debtcollector
A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.
Decision gist · record as of 2026-08-14
Yes, if you maintain a library or framework and need to deprecate APIs gradually. The low friction, permissive license, and active maintenance make it a straightforward choice. Not needed for applications that don't expose public APIs or for one-off scripts.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a single lightweight dependency (wrapt).
- Active maintenance with a recent release; supports current Python versions (3.10–3.13).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions.
last release 2026-03-24 (143 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,490,307 downloads/mo, #3,845 on PyPI
Alternatives
Verify before relying
pip install debtcollector
import debtcollector.deprecation
# Use deprecation decorators or helpers to emit warnings
# when deprecated functions or classes are called- Specific deprecation patterns and decorator/helper API surface not detailed in the excerpt.
- Whether the library is actively used in production OpenStack projects or primarily for internal use.
What it is and what it does
Debtcollector is a library for managing technical debt through Python deprecation patterns. It wraps the standard warnings module to emit DeprecationWarning, PendingDeprecationWarning, and similar signals to library users about upcoming API changes, allowing you to retire old code paths gradually without breaking existing code.
The library is designed for library and framework maintainers who need to signal breaking changes to their users over time. It depends only on wrapt and has been maintained since 2015 as part of the OpenStack project. It supports modern Python versions and carries no known security vulnerabilities.
Use it for
- Signal upcoming removal of a function or class parameter to library users over multiple releases.
- Warn developers when they use an old API that will be replaced with a new one in a future version.
- Gradually retire internal APIs in a large codebase while giving dependent teams time to migrate.
- Document and enforce deprecation timelines for breaking changes in a framework or SDK.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you maintain a library or framework and need to deprecate APIs gradually.
The low friction, permissive license, and active maintenance make it a straightforward choice. Not needed for applications that don't expose public APIs or for one-off scripts.
Install
debtcollector on PyPI
Before you install
Low install friction with a single lightweight dependency (wrapt). Active maintenance with a recent release; supports current Python versions (3.10–3.13).
Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions.
Quickstart
pip install debtcollector
import debtcollector.deprecation
# Use deprecation decorators or helpers to emit warnings
# when deprecated functions or classes are called
Verify before relying
- Specific deprecation patterns and decorator/helper API surface not detailed in the excerpt.
- Whether the library is actively used in production OpenStack projects or primarily for internal use.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagewrapt |
| Maintenance | Actively maintained 143 days since the last release |
| First released | |
| Downloads | 1,490,307 / month, #3,845 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed |
Evidence: debtcollector-3.1.0-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 › “deprecation warnings library”
- debtcollectorDebtcollector provides Python deprecation patterns and strategies…
- deprecationProvides decorators to automate deprecation warnings, update…
- deprecation-aliasProvides a wrapper around the deprecation library to mark and manage…
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 futurist · deprecation · deprecat · zope.deprecation · Deprecated · pyDeprecate · griffe-warnings-deprecated · legacy-api-wrap · flake8-deprecated · zope.deferredimport