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
>>> c = greenstalk.Client(host='127.0.0.1', port=11300)
>>> c.put('hello')
1
>>> jid, body = c.reserve()
>>> jid
1
>>> body
'hello'
>>> c.delete(jid)
>>> c.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.3.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for Greenstalk-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9011f5c185be5489807ca80155c29381ad4bcaff047644ab443fd2a6741bfcf8 |
|
MD5 | b4cee41046261b840d6fa229b12cd9a6 |
|
BLAKE2b-256 | a2d2198a5b25c2ee8e743964749d6cf5070123c1b2b299ee44aa7a503fbc4db4 |