Skip to main content

A Python client for the beanstalkd work queue

Project description

Greenstalk on PyPI

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


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.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

greenstalk-2.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file greenstalk-2.1.0.tar.gz.

File metadata

  • Download URL: greenstalk-2.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for greenstalk-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a731ca15bc3b03dfffc438db08c96d0c4e8ce5f472403573e40a1939791c12a7
MD5 2a8850dcb1f2f9d9a3346a22c6528ad3
BLAKE2b-256 9ac2204e113523315c9efe7e857b97bf0bb0892c3f944e733203168f29032e5d

See more details on using hashes here.

File details

Details for the file greenstalk-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: greenstalk-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for greenstalk-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1bd9ed6803edc27ae7d85ccc83e3b09a8c5c4cb5beb65c7ec8c38f6eff318b
MD5 329f19080620c1db76f8619bc2ee836d
BLAKE2b-256 bea9e0958942f5861bf444decef040e149e252e14547aa1ecd429c8144be32e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page