A client for beanstalkd: the simple, fast work queue
Project description
Installation
Greenstalk supports Python 3.5 and later. It’s available on the Python Package Index and can be installed by running:
$ pip install greenstalk
Quickstart
>>> import greenstalk
>>> queue = greenstalk.Client(host='127.0.0.1', port=11300)
>>> queue.put('hello')
1
>>> job = queue.reserve()
>>> job.id
1
>>> job.body
'hello'
>>> queue.delete(job)
>>> queue.close()
Resources
Project details
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
Greenstalk-0.4.0.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for Greenstalk-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd193e4d2deb418784ef2d8d4b6f288936d263a36e664067d5ee11f8ff97b5b |
|
MD5 | df48ac09e3abc9de2f379aa5f263a1ee |
|
BLAKE2b-256 | 61a54ff85dd139caa0337eda31695c8088d59f5b57f1662c8532412e93b809cf |