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.1.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for greenstalk-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48f451389b2100156c9e3d62c540d4cc2f995b981e4803e6926b09b7f9864f2 |
|
MD5 | af1b12c19d6d3a7c0f29625f4322ac8e |
|
BLAKE2b-256 | 9da6075fba18c48d815f03b02f86dccd8ab4dd35f01120f4d6dfa1925aced453 |