Skip to content

A simple beanstalkd client library for Python

License

Notifications You must be signed in to change notification settings

bosondata/beanstalkc

This branch is 25 commits ahead of, 7 commits behind earl/beanstalkc:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8fdc74d · Nov 9, 2018
May 10, 2015
Nov 9, 2018
Apr 16, 2012
Apr 16, 2012
Oct 3, 2015
Nov 23, 2008
Dec 22, 2015
Mar 2, 2017
Nov 18, 2013
Jul 24, 2014
Apr 16, 2012
Oct 3, 2015
Apr 16, 2012
Nov 9, 2018
Sep 4, 2012

Repository files navigation

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-2014 Andreas Bolka, Licensed under the Apache License, Version 2.0.

About

A simple beanstalkd client library for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 93.7%
  • Makefile 6.3%