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.0.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for greenstalk-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c98242080200e9bbe6dbf004a77cb429b5f253df261072ea3ca600f095d8d38d |
|
MD5 | 9637491ffadf964f8fbe7fe92425491f |
|
BLAKE2b-256 | bfcc5452fde6f2efc63d5321b8131f4efc1591d6f5e09079690c82d1b81dac82 |