Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for asynctask, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size asynctask-0.0.5.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page