Skip to main content

A Python 3 client for the beanstalkd work queue

Project description

https://secure.travis-ci.org/mayhewj/greenstalk.svg?branch=master https://codecov.io/github/mayhewj/greenstalk/coverage.svg?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

Getting Started

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

Documentation

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
greenstalk-0.5.2-py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel py3 Jun 29, 2018
greenstalk-0.5.2.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Jun 29, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page