Type stubs for Celery and its related packages
Project description
celery-types 
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
Release history Release notifications | RSS feed
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.23.0.tar.gz
(31.5 kB
view details)
Built Distribution
File details
Details for the file celery_types-0.23.0.tar.gz
.
File metadata
- Download URL: celery_types-0.23.0.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/24.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
402ed0555aea3cd5e1e6248f4632e4f18eec8edb2435173f9e6dc08449fa101e
|
|
MD5 |
cd99b706cf001c2b839ed91ec279a0db
|
|
BLAKE2b-256 |
e9d10823e71c281e4ad0044e278cf1577d1a68e05f2809424bf94e1614925c5d
|
File details
Details for the file celery_types-0.23.0-py3-none-any.whl
.
File metadata
- Download URL: celery_types-0.23.0-py3-none-any.whl
- Upload date:
- Size: 50.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.8 Darwin/24.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0cc495b8d7729891b7e070d0ec8d4906d2373209656a6e8b8276fe1ed306af9a
|
|
MD5 |
05f9a419d6e8a78908f62cb258d78c99
|
|
BLAKE2b-256 |
6f8b92bb54dd74d145221c3854aa245c84f4dc04cc9366147496182cec8e88e3
|