beanstalkm
beanstalkm is a client library for beanstalkd, a fast, distributed, in‑memory work queue service.
beanstalkm supports Python 2.7 and Python 3.6+.
Usage
Here is a short example, to illustrate the flavor of beanstalkm:
from beanstalkm import Client, DEFAULT_TUBE
beanstalk = Client()
message = beanstalk({"say": "hey!"})
message.send()
beanstalk.queue.watch(DEFAULT_TUBE)
message = beanstalk.reserve(timeout=0, drop=False)
print(message.body)
message.delete()
or:
import beanstalkm
beanstalk = beanstalkm.Client(host="127.0.0.1", port=11300)
message = beanstalk.put({"say": "hey!"})
beanstalk.queue.watch(beanstalkm.DEFAULT_TUBE)
message = beanstalk.reserve(timeout=0, drop=True)
print(message.body)
For more information, see the tutorial, which explains most everything.
License
Copyright (C) 2017 MCode GmbH, Licensed under the GNU AFFERO GENERAL PUBLIC LICENSE.
Metadata
Release files for beanstalkm 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| beanstalkm-1.0.0.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| beanstalkm-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 61.6 kB
Release files / beanstalkm-1.0.0.tar.gz
| Download URL | beanstalkm-1.0.0.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d83d70157fd5d40f4899c13497c6c82017aa75eb7da8c01b453f2374b5750eae
|
|
BLAKE2b-256 checksum How to use checksums |
10bf50db8ff27c398802027b8c81e690d18e21f83de4bb78019983b80588d7fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Release files / beanstalkm-1.0.0-py3-none-any.whl
| Download URL | beanstalkm-1.0.0-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d7a73a264957bc97f69d381610c60a5aef79f4c6c746e4d1ae72fd943fc260e
|
|
BLAKE2b-256 checksum How to use checksums |
8f96f941bc737c40d211ca142d6ca5c39c874aca3b97b834efd14a339f55729a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|