A Python 3 client for the beanstalkd work queue
Project description
Greenstalk is a small and unopinionated Python client library for communicating with the beanstalkd work queue. The API provided mostly maps one-to-one with commands in the protocol.
Quickstart
>>> import greenstalk
>>> client = greenstalk.Client(('127.0.0.1', 11300))
>>> client.put('hello')
1
>>> job = client.reserve()
>>> job.id
1
>>> job.body
'hello'
>>> client.delete(job)
>>> client.close()
Documentation is available on Read the Docs.
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-2.0.2.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file greenstalk-2.0.2.tar.gz
.
File metadata
- Download URL: greenstalk-2.0.2.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebde5fc9ecf986f96f6779fd6d15a53f33d432c52a2e28012e100a99ee154a4 |
|
MD5 | 93223b4c150a43923a97a5c5c594e2b3 |
|
BLAKE2b-256 | db0629afb306dbbe3c1ea95cfd08d506135a498db7556c3fb01d5f47cdfd0366 |
File details
Details for the file greenstalk-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: greenstalk-2.0.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6acf8a180da5ab687f3181603106385dcbec5457c3d7f8083b158aaf2cc9315d |
|
MD5 | 8f1f09c046cc17b06a939181b34d6473 |
|
BLAKE2b-256 | c8c628349d5ceee5536162f2d3ce6da5ba9feb53e790c0280efae83abc40840b |