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

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.18.0.tar.gz (23.8 kB view details)

Uploaded Source

Built Distribution

celery_types-0.18.0-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file celery-types-0.18.0.tar.gz.

File metadata

  • Download URL: celery-types-0.18.0.tar.gz
  • Upload date:
  • Size: 23.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.8 Darwin/21.5.0

File hashes

Hashes for celery-types-0.18.0.tar.gz
Algorithm Hash digest
SHA256 4048d7c59d2ce26127d32c2799b776d1b23a3de699eb6e6e9df1b8136dfe950f
MD5 15a2033dece63429baed2f8f0508b95e
BLAKE2b-256 5fcad4f5c596ed80b585ae6aab0d4bfe3c309d5bee133e4754cfa4bedae3334d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: celery_types-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.8 Darwin/21.5.0

File hashes

Hashes for celery_types-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93c0d25f2779bf5c985dabc4c2985d7eac8be43d1b2c05668e73973d6714f560
MD5 60ffa1ba11270b20321517385f5b2c10
BLAKE2b-256 3d9179209b3b2696ac910fc0e29a66adac4fd508b8617c8037165813efac38bb

See more details on using hashes here.

Supported by

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