Skip to content

A simple beanstalkd client library for Python.

License

Notifications You must be signed in to change notification settings

PeterScott/beanstalkc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python beanstalkd client library

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

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

Installing

To use beanstalkc, you only need the beanstalkc.py file. There are no external dependencies.

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 TUTORIAL.md, which will explain most everything.

License

Copyright (C) 2008-2010 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 100.0%