skillfed

celery-stubs

celery stubs

celery-stubs v0.1.3 538.4K downloads/30d#6,114 on PyPI5
Permissive license MIT License Abandoned released

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-stubs

uv

uv add celery-stubs

poetry

poetry add celery-stubs

Installing 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

Development Status :: 3 - AlphaProgramming Language :: Python :: 3

Tags

celery type stubscelery mypy supportcelery type hintsstatic type checking celerycelery typingcelery type annotations
type-stubsmypyabandoned

More Quality Assurance packages