celery-types 0.23.0


pip install celery-types

  Latest version

Released: Mar 03, 2025


Meta
Author: Steve Dignam
Requires Python: >=3.9,<4.0

Classifiers

Programming Language
  • Python :: 3
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12

celery-types PyPI

Type stubs for celery related projects:

install

pip install celery-types

You'll also need to monkey patch Task so generic params can be provided:

from celery.app.task import Task
Task.__class_getitem__ = classmethod(lambda cls, *args, **kwargs: cls) # type: ignore[attr-defined]

dev

initial setup

# install poetry (https://python-poetry.org/docs/)
curl -sSL https://install.python-poetry.org | python3 -
# install node
# install yarn
npm install --global yarn

# install node dependencies
yarn

regular development

poetry config virtualenvs.in-project true
poetry install

# run formatting, linting, and typechecking
s/lint

# build and publish
poetry publish --build

related

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras: None
Dependencies:
typing-extensions (<5.0.0,>=4.9.0)