A Python 3 client for the beanstalkd 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
Getting Started
>>> 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()
Documentation
Documentation is available on Read the Docs.
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.5.2.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for greenstalk-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 911ae372973603d9aa79c71369bafcd6549a732225f837d06abf14af45cb6a8d |
|
MD5 | 41e548c24bb912ca9355be596fcd5ac3 |
|
BLAKE2b-256 | f52e2d55c093491dfeb90d4f1deac526d42b651139b1e8e1675f0d5cbf712d16 |