Greenstalk supports Python 3.5 and later. It's available on the Python Package Index and can be installed by running:
$ pip install greenstalk
>>> import greenstalk >>> queue = greenstalk.Client(host='127.0.0.1', port=11300) >>> queue.put('hello') 1 >>> job = queue.reserve() >>> job.id 1 >>> job.body 'hello' >>> queue.delete(job) >>> queue.close()
Documentation is available on Read the Docs.