Skip to content

A Python client for beanstalkd: the simple, fast work queue

License

Notifications You must be signed in to change notification settings

zhengwx11/greenstalk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenstalk

https://secure.travis-ci.org/mayhewj/greenstalk.png?branch=master

Installation

Greenstalk supports Python 3.5 and later. It's available on the Python Package Index and can be installed by running:

$ pip install greenstalk

Quickstart

>>> import greenstalk
>>> c = greenstalk.Client(host='127.0.0.1', port=11300)
>>> c.put('hello')
1
>>> jid, body = c.reserve()
>>> jid
1
>>> body
'hello'
>>> c.delete(jid)
>>> c.close()

Resources

About

A Python client for beanstalkd: the simple, fast work queue

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.3%
  • Makefile 1.7%