celery-types


Namecelery-types JSON
Version 0.22.0 PyPI version JSON
download
home_pagehttps://github.com/sbdchd/celery-types
SummaryType stubs for Celery and its related packages
upload_time2024-01-25 00:10:56
maintainer
docs_urlNone
authorSteve Dignam
requires_python>=3.9,<4.0
license
keywords celery kombu vine amqp billiard django_celery_results types mypy stubs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # celery-types [![PyPI](https://img.shields.io/pypi/v/celery-types.svg)](https://pypi.org/project/celery-types/)

Type stubs for celery related projects:

- [`celery`](https://github.com/celery/celery)
- [`django-celery-results`](https://github.com/celery/django-celery-results)
- [`amqp`](http://github.com/celery/py-amqp)
- [`kombu`](https://github.com/celery/kombu)
- [`billiard`](https://github.com/celery/billiard)
- [`vine`](https://github.com/celery/vine)
- [`ephem`](https://github.com/brandon-rhodes/pyephem)

## install

```shell
pip install celery-types
```

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

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

## dev

### initial setup

```shell
# 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

```shell
poetry config virtualenvs.in-project true
poetry install

# run formatting, linting, and typechecking
s/lint

# build and publish
poetry publish --build
```

## related

- <https://github.com/sbdchd/django-types>
- <https://github.com/sbdchd/djangorestframework-types>
- <https://github.com/sbdchd/mongo-types>
- <https://github.com/sbdchd/msgpack-types>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sbdchd/celery-types",
    "name": "celery-types",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "celery,kombu,vine,amqp,billiard,django_celery_results,types,mypy,stubs",
    "author": "Steve Dignam",
    "author_email": "steve@dignam.xyz",
    "download_url": "https://files.pythonhosted.org/packages/57/0a/f7d6089e39b43528d74f99f3f58b9900fe76894e8208ec4f22ffa71e4a73/celery_types-0.22.0.tar.gz",
    "platform": null,
    "description": "# celery-types [![PyPI](https://img.shields.io/pypi/v/celery-types.svg)](https://pypi.org/project/celery-types/)\n\nType stubs for celery related projects:\n\n- [`celery`](https://github.com/celery/celery)\n- [`django-celery-results`](https://github.com/celery/django-celery-results)\n- [`amqp`](http://github.com/celery/py-amqp)\n- [`kombu`](https://github.com/celery/kombu)\n- [`billiard`](https://github.com/celery/billiard)\n- [`vine`](https://github.com/celery/vine)\n- [`ephem`](https://github.com/brandon-rhodes/pyephem)\n\n## install\n\n```shell\npip install celery-types\n```\n\nYou'll also need to monkey patch `Task` so generic params can be provided:\n\n```python\nfrom celery.app.task import Task\nTask.__class_getitem__ = classmethod(lambda cls, *args, **kwargs: cls) # type: ignore[attr-defined]\n```\n\n## dev\n\n### initial setup\n\n```shell\n# install poetry (https://python-poetry.org/docs/)\ncurl -sSL https://install.python-poetry.org | python3 -\n# install node\n# install yarn\nnpm install --global yarn\n\n# install node dependencies\nyarn\n```\n\n### regular development\n\n```shell\npoetry config virtualenvs.in-project true\npoetry install\n\n# run formatting, linting, and typechecking\ns/lint\n\n# build and publish\npoetry publish --build\n```\n\n## related\n\n- <https://github.com/sbdchd/django-types>\n- <https://github.com/sbdchd/djangorestframework-types>\n- <https://github.com/sbdchd/mongo-types>\n- <https://github.com/sbdchd/msgpack-types>\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Type stubs for Celery and its related packages",
    "version": "0.22.0",
    "project_urls": {
        "Homepage": "https://github.com/sbdchd/celery-types",
        "Repository": "https://github.com/sbdchd/celery-types"
    },
    "split_keywords": [
        "celery",
        "kombu",
        "vine",
        "amqp",
        "billiard",
        "django_celery_results",
        "types",
        "mypy",
        "stubs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4fcab9ed137f6a7a54746cb27410e475f6b375dbb9e20f8c2d3317186d0a63e",
                "md5": "36086aee958cff31f6a38e43f53b75f0",
                "sha256": "79a66637d1d6af5992d1dc80259d9538869941325e966006f1e795220519b9ac"
            },
            "downloads": -1,
            "filename": "celery_types-0.22.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36086aee958cff31f6a38e43f53b75f0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 41166,
            "upload_time": "2024-01-25T00:10:54",
            "upload_time_iso_8601": "2024-01-25T00:10:54.300252Z",
            "url": "https://files.pythonhosted.org/packages/b4/fc/ab9ed137f6a7a54746cb27410e475f6b375dbb9e20f8c2d3317186d0a63e/celery_types-0.22.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "570af7d6089e39b43528d74f99f3f58b9900fe76894e8208ec4f22ffa71e4a73",
                "md5": "6f63dae65e85588eadc1f7a6b7fd0fcc",
                "sha256": "0ecad2fa5a6eded0a1f919e5e1e381cc2ff0635fe4b21db53b4661b6876d5b30"
            },
            "downloads": -1,
            "filename": "celery_types-0.22.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6f63dae65e85588eadc1f7a6b7fd0fcc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 26654,
            "upload_time": "2024-01-25T00:10:56",
            "upload_time_iso_8601": "2024-01-25T00:10:56.102544Z",
            "url": "https://files.pythonhosted.org/packages/57/0a/f7d6089e39b43528d74f99f3f58b9900fe76894e8208ec4f22ffa71e4a73/celery_types-0.22.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-25 00:10:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sbdchd",
    "github_project": "celery-types",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "celery-types"
}
        
Elapsed time: 0.18205s