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-1.0.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for greenstalk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e9fe944ec520c445820b846ca38c3341913c2a3a28840c0e2dd059f3355730e |
|
MD5 | 6cb2c727ad7a95c0b352cbd60c3691d9 |
|
BLAKE2b-256 | 97e61fdb04198b26fe5e5bba3d50f74a09114a3ea4d903f814e8b8f751d16f6e |