Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Very simple asynchronous tasks for Python.

Project Description

Very Simple Asynchronous Tasks

A small library that allows asynchronous tasks to be executed. Useful for web applications when you need a task to run in the background. The API is modelled loosely on Celery. The library makes use of the Python multiprocessing library to run tasks in the background.

Example

Install the library

pip install vsat

Create and run task.

In [1]: from vsat.task import task

In [2]: from vsat.worker import WorkerPool

In [3]: worker_pool = WorkerPool.init(num_workers=1)

In [4]: @task
   ...: def my_function(arg1):
   ...:     return arg1 * arg1
   ...:

In [5]: worker_pool.start()

In [6]: result = my_function.apply_async(2)

In [7]: print result.get_result(block=True)
4
Release History

Release History

This version
History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
vsat-0.0.8.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting