dramatiq 1.3.0
pip install dramatiq==1.3.0
Newer version available (1.18.0)
Released:
Background Processing for Python 3.
Navigation
Unverified details
These details have not been verified by PyPIMeta
- License: GNU Lesser General Public License v3 or later (LGPLv3+)
- Author: Bogdan Popa
- Requires: Python >=3.5
Classifiers
- License
- Programming Language
- Topic
Project description
<img src="https://dramatiq.io/_static/logo.png" align="right" width="131" />
# dramatiq
[](https://travis-ci.org/Bogdanp/dramatiq)
[](https://codeclimate.com/github/Bogdanp/dramatiq/test_coverage)
[](https://codeclimate.com/github/Bogdanp/dramatiq/maintainability)
[](https://badge.fury.io/py/dramatiq)
[](http://dramatiq.io)
[](https://discuss.dramatiq.io)
*A fast and reliable distributed task processing library for Python 3.*
<hr/>
**Changelog**: https://dramatiq.io/changelog.html <br/>
**Community**: https://discuss.dramatiq.io <br/>
**Documentation**: https://dramatiq.io
<hr/>
## Installation
If you want to use it with [RabbitMQ]
pipenv install 'dramatiq[rabbitmq, watch]'
or if you want to use it with [Redis]
pipenv install 'dramatiq[redis, watch]'
## Quickstart
Make sure you've got [RabbitMQ] running, then create a new file called
`example.py`:
``` python
import dramatiq
import requests
import sys
@dramatiq.actor
def count_words(url):
response = requests.get(url)
count = len(response.text.split(" "))
print(f"There are {count} words at {url!r}.")
if __name__ == "__main__":
count_words.send(sys.argv[1])
```
In one terminal, run your workers:
dramatiq example
In another, start enqueueing messages:
python example.py http://example.com
python example.py https://github.com
python example.py https://news.ycombinator.com
Check out the [user guide] to learn more!
## License
dramatiq is licensed under the LGPL. Please see [COPYING] and
[COPYING.LESSER] for licensing details.
[COPYING.LESSER]: https://github.com/Bogdanp/dramatiq/blob/master/COPYING.LESSER
[COPYING]: https://github.com/Bogdanp/dramatiq/blob/master/COPYING
[RabbitMQ]: https://www.rabbitmq.com/
[Redis]: https://redis.io
[user guide]: https://dramatiq.io/guide.html
# dramatiq
[](https://travis-ci.org/Bogdanp/dramatiq)
[](https://codeclimate.com/github/Bogdanp/dramatiq/test_coverage)
[](https://codeclimate.com/github/Bogdanp/dramatiq/maintainability)
[](https://badge.fury.io/py/dramatiq)
[](http://dramatiq.io)
[](https://discuss.dramatiq.io)
*A fast and reliable distributed task processing library for Python 3.*
<hr/>
**Changelog**: https://dramatiq.io/changelog.html <br/>
**Community**: https://discuss.dramatiq.io <br/>
**Documentation**: https://dramatiq.io
<hr/>
## Installation
If you want to use it with [RabbitMQ]
pipenv install 'dramatiq[rabbitmq, watch]'
or if you want to use it with [Redis]
pipenv install 'dramatiq[redis, watch]'
## Quickstart
Make sure you've got [RabbitMQ] running, then create a new file called
`example.py`:
``` python
import dramatiq
import requests
import sys
@dramatiq.actor
def count_words(url):
response = requests.get(url)
count = len(response.text.split(" "))
print(f"There are {count} words at {url!r}.")
if __name__ == "__main__":
count_words.send(sys.argv[1])
```
In one terminal, run your workers:
dramatiq example
In another, start enqueueing messages:
python example.py http://example.com
python example.py https://github.com
python example.py https://news.ycombinator.com
Check out the [user guide] to learn more!
## License
dramatiq is licensed under the LGPL. Please see [COPYING] and
[COPYING.LESSER] for licensing details.
[COPYING.LESSER]: https://github.com/Bogdanp/dramatiq/blob/master/COPYING.LESSER
[COPYING]: https://github.com/Bogdanp/dramatiq/blob/master/COPYING
[RabbitMQ]: https://www.rabbitmq.com/
[Redis]: https://redis.io
[user guide]: https://dramatiq.io/guide.html
Project details
Unverified details
These details have not been verified by PyPIMeta
- License: GNU Lesser General Public License v3 or later (LGPLv3+)
- Author: Bogdan Popa
- Requires: Python >=3.5
Classifiers
- License
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters https://pypi.org/project/dramatiq/1.3.0/#files
Showing 1 of 1 file.
File details
Details for the file dramatiq-1.3.0.tar.gz
.
File metadata
- Download URL: dramatiq-1.3.0.tar.gz
- Upload date:
- Size: 59.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8cdd06aad34580d26a560c6788d5362dec874ed0a1a775059114fce4fd6b6b64
|
|
MD5 |
5ab818f48cf1b38d8e204ff9be8b36ca
|
|
BLAKE2b-256 |
ab144b312a734f6cfd7975776a33058e407da4cd9e83e8882d71f7fdc747325e
|
File details
Details for the file dramatiq-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: dramatiq-1.3.0-py3-none-any.whl
- Upload date:
- Size: 82.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1803721ba7ebbf745a4e8a9a0e91361d2110b656d76b2f5c5eacdf336d3fd723
|
|
MD5 |
2bff1c130665d70c2c6f65b688165721
|
|
BLAKE2b-256 |
6b33f57b83250f31cacc4e590419c5924b4c6898349ad20527c15e6172c5c538
|