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


Release history Release notifications

This version
History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

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.1-py3-none-any.whl (7.7 kB) Copy SHA256 hash SHA256 Wheel py3 Feb 28, 2018
greenstalk-0.5.1.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Feb 28, 2018

Supported by

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