Need help with beanstalkc?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

earl
450 Stars 111 Forks Apache License 2.0 137 Commits 24 Opened issues

Description

A simple beanstalkd client library for Python

Services available

!
?

Need anything else?

Contributors list

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.

beanstalkc is currently only supported on Python 2 and automatically tested against Python 2.6 and 2.7. Python 3 is not (yet) supported.

Usage

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

>>> import beanstalkc
>>> beanstalk = beanstalkc.Connection(host='localhost', port=14711)
>>> 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-2016 Andreas Bolka, Licensed under the Apache License, Version 2.0.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.