[](https://api.travis-ci.org/listen-lavender/asynctask)
Best practice of celery.
## celery app connection setting
asynctask/setting.py
## task connection setting
asynctask/db.py
# Getting started
No example now.
## Installation
To install asynctask, simply:
````bash
$ cd asynctask
$ python setup.py install
````
````bash
$ celery -A asynctask worker --loglevel=info
````
````python
>>> from asynctask.unit.project.test import add, insert
>>> add()
>>> insert()
>>> add.apply_async()
>>> insert.apply_async()
````
or
````python
>>> from asynctask.celery import send_task
>>> send_task('asynctask.unit.project.test.add')
````
````mongo
> use test
> db.resource.find()
````
## Discussion and support
Report bugs on the *GitHub issue tracker <https://github.com/listen-lavender/asynctask/issues*.
Metadata
Release files for asynctask 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asynctask-0.0.5.tar.gz | 5.1 kB | Without provenance | Details for asynctask-0.0.5.tar.gz |
Release files / asynctask-0.0.5.tar.gz
| Download URL | asynctask-0.0.5.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
160d8767a791fd3d106c0531ab7f388df04f6b9e8f0f95658093c6b726824d44
|
|
BLAKE2b-256 checksum How to use checksums |
5cb0637ce342639545ec57877620976e605f1d28bc0a47146255627b8bd363e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for asynctask 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.