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.
Release files for greenstalk 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| greenstalk-2.1.1.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| greenstalk-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / greenstalk-2.1.1.tar.gz
| Download URL | greenstalk-2.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e89b7694ddabbd69562bfe11140fdac1afc9fedcbe2edf6464eaf7c355533ef8
|
|
BLAKE2b-256 checksum How to use checksums |
7ba76801d5406383bdd68f4f469c8629970e68998bd4810c139eb57f783a695f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / greenstalk-2.1.1-py3-none-any.whl
| Download URL | greenstalk-2.1.1-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4d9bb1734efe99f3103cfba9feb89c0e4039a35fbf31c754356c259dbb7b545
|
|
BLAKE2b-256 checksum How to use checksums |
7434083c11283eacdebfd9bbfb6fdc30d115d40988edf5f418b835298ebddfed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|