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.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for greenstalk-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 845c19deda0869ae7e851a07c5868a23aa0ebfbe1427e4fcfa7149e0a11dd0d6 |
|
MD5 | 4f12b8341c8c76e4bca337620abc595d |
|
BLAKE2b-256 | 45b9148ea7996ba498b7ea7c3bfdabed0282d5949844adea606271848b3d7a01 |