Skip to main content

wecatch asynctask

Project description

# asynctask
[![Build Status](https://api.travis-ci.org/listen-lavender/asynctask.svg?branch=master)](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*.

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

asynctask-0.0.2.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file asynctask-0.0.2.tar.gz.

File metadata

  • Download URL: asynctask-0.0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asynctask-0.0.2.tar.gz
Algorithm Hash digest
SHA256 698233fab3aff2f263ce93655e9ad68c7f1a2ed12766f2b0e0dd3519044413e5
MD5 c5b528c6c95d1833add0c39765864794
BLAKE2b-256 0fc20b518023316d52d451e780648fbb8ebca511da32cba4e4515d944effba31

See more details on using hashes here.

Supported by

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