Skip to main content

Type stubs for Celery and its related packages

Project description

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 uv (https://docs.astral.sh/uv/)
curl -LsSf https://astral.sh/uv/install.sh | sh

regular development

uv sync
# run formatting, linting, and typechecking
s/lint

or

uv run ruff check --fix
uv run ruff format
uv run basedpyright typings tests
uv run mypy tests
# build and publish
uv build && uv publish

pre-commit

The project uses pre-commit for code quality checks:

# install pre-commit hooks
uv run prek install

# run all checks manually
uv run prek run --all-files

tooling

related

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

celery_types-0.24.0.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

celery_types-0.24.0-py3-none-any.whl (60.5 kB view details)

Uploaded Python 3

File details

Details for the file celery_types-0.24.0.tar.gz.

File metadata

  • Download URL: celery_types-0.24.0.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for celery_types-0.24.0.tar.gz
Algorithm Hash digest
SHA256 c93fbcd0b04a9e9c2f55d5540aca4aa1ea4cc06a870c0c8dee5062fdd59663fe
MD5 ae6d9ae9327acce566f935d5d1227265
BLAKE2b-256 72252276a1f00f8ab9fc88128c939333933a24db7df1d75aa57ecc27b7dd3a22

See more details on using hashes here.

File details

Details for the file celery_types-0.24.0-py3-none-any.whl.

File metadata

  • Download URL: celery_types-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 60.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for celery_types-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a21e04681e68719a208335e556a79909da4be9c5e0d6d2fd0dd4c5615954b3fd
MD5 a1615dd9af2ac54ab9239478faaf19a7
BLAKE2b-256 3a7e3252cba5f5c9a65a3f52a69734d8e51e023db8981022b503e8183cf0225e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page