A Python 3 client for the beanstalkd work queue
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.
>>> 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.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
greenstalk-2.0.0.tar.gz (6.3 kB view hashes)
Hashes for greenstalk-2.0.0-py3-none-any.whl