celery-stubs
celery stubs
What it is and what it does
celery-stubs is a type stub package that provides type annotations for Celery. It allows developers using mypy or other static type checkers to catch type errors in Celery code at development time rather than at runtime. The package depends on mypy and typing-extensions.
The package is in alpha status and has been abandoned since late 2023, with no active maintenance. It was last released on 2023-02-10 and the repository is archived. While it carries no known security vulnerabilities, its lack of maintenance means it may not reflect recent Celery API changes.
Use it for:
- Enable mypy type checking on Celery task definitions and worker code in existing projects
- Catch type mismatches in Celery task signatures and return types before runtime
- Integrate Celery into a type-safe Python codebase that uses static type checking
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for Celery to enable static type checking with mypy on Celery code.
Yes, but with caution: install only if you need type stubs for Celery in an existing codebase and are comfortable with an abandoned package that will not receive updates. The low install friction and permissive license make it safe to try, but verify compatibility with your Celery version.
Install
celery-stubs on PyPI
pip
pip install celery-stubsuv
uv add celery-stubspoetry
poetry add celery-stubsInstalling celery-stubs
Before you install
Installation is straightforward with low friction, but the package is archived and abandoned as of late 2023, with no commits or maintenance for over a year.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions.
Quickstart
pip install celery-stubs
import celery
from celery import Celery
app = Celery()
Verify before relying
- Whether these stubs remain compatible with current Celery versions and their type coverage
- Whether mypy and typing-extensions have minimum or maximum version constraints
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — mypy, typing-extensions |
| Maintenance | abandoned — 1,281 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 538,358/month — #6,114 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: celery_stubs-0.1.3-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
celery-batchesCelery Batches provides a Task class that…
permissive · top 15,000 on PyPI
celery-typesProvides type stubs for Celery and related…
permissive · top 5,000 on PyPI
celeryCelery is a distributed task queue that lets…
permissive · top 1,000 on PyPI
pylint-celeryA Pylint plugin that improves static analysis…
copyleft · top 15,000 on PyPI
celery_oncePrevents duplicate execution and queuing of…
permissive · top 15,000 on PyPI
pytest-celerypytest-celery is the official pytest plugin for…
permissive · top 5,000 on PyPI
sqlalchemy-celery-beatProvides a SQLAlchemy-backed scheduler for…
permissive · top 15,000 on PyPI
tenant-schemas-celeryIntegrates Celery task queuing with…
permissive · top 15,000 on PyPI
dvc-taskdvc-task queues and runs background jobs from…
permissive · top 5,000 on PyPI
opentelemetry-instrumentation-celeryAdds distributed tracing and observability to…
permissive · top 5,000 on PyPI