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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

greenstalk-2.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: greenstalk-2.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for greenstalk-2.1.1.tar.gz
Algorithm Hash digest
SHA256 e89b7694ddabbd69562bfe11140fdac1afc9fedcbe2edf6464eaf7c355533ef8
MD5 3cf85352edcdd37f6a9436fec705b730
BLAKE2b-256 7ba76801d5406383bdd68f4f469c8629970e68998bd4810c139eb57f783a695f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: greenstalk-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for greenstalk-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e4d9bb1734efe99f3103cfba9feb89c0e4039a35fbf31c754356c259dbb7b545
MD5 bdeb2f5e5c50df8cdb06c315bc130a90
BLAKE2b-256 7434083c11283eacdebfd9bbfb6fdc30d115d40988edf5f418b835298ebddfed

See more details on using hashes here.

Supported by

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