Skip to main content

A client for beanstalkd: the simple, fast work queue

Project description

https://secure.travis-ci.org/mayhewj/greenstalk.png?branch=master

Installation

Greenstalk supports Python 3.5 and later. It’s available on the Python Package Index and can be installed by running:

$ pip install greenstalk

Quickstart

>>> import greenstalk
>>> c = greenstalk.Client(host='127.0.0.1', port=11300)
>>> c.put('hello')
1
>>> jid, body = c.reserve()
>>> jid
1
>>> body
'hello'
>>> c.delete(jid)
>>> c.close()

Resources

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-0.3.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

Greenstalk-0.3.0-py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 3

Supported by

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