Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple beanstalkd client library for Python
Python
branch: wip-doc-rtfd

This branch is 7 commits ahead, 41 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
test
LICENSE
README.mkd
beanstalkc.py
setup.py

README.mkd

beanstalkc

beanstalkc is a simple beanstalkd client library for Python. beanstalkd is a fast, distributed, in-memory workqueue service.

beanstalkc depends on PyYAML, but there are ways to avoid this dependency. See Appendix A of the tutorial for details.

beanstalkc is pure Python, and is compatible with eventlet and gevent.

Usage

Here is a short example, to illustrate the flavor of beanstalkc:

>>> import beanstalkc
>>> beanstalk = beanstalkc.Connection(host='localhost', port=11300)
>>> beanstalk.put('hey!')
1
>>> job = beanstalk.reserve()
>>> job.body
'hey!'
>>> job.delete()

For more information, see the tutorial, which will explain most everything.

License

Copyright (C) 2008-2011 Andreas Bolka, Licensed under the Apache License, Version 2.0.

Something went wrong with that request. Please try again.