Metadata-Version: 2.4
Name: beanstalkm
Version: 1.0.0
Summary: Distributed streaming messaging system
Home-page: https://beanstalkm.mcode.cc/
Author: MCode GmbH
Author-email: beanstalkm@mcode.cc
License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
Keywords: queue beanstalkd
Platform: Any
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Internet
Classifier: Topic :: Communications
Classifier: Topic :: Database
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Networking
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: future>=0.16.0
Requires-Dist: pymongo>=3.4.0
Requires-Dist: PyYAML>=5.1.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: platform
Dynamic: requires-dist
Dynamic: summary

[![PyPI](https://img.shields.io/pypi/v/beanstalkm)](https://pypi.org/project/beanstalkm/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/beanstalkm)
[![PyPI - License](https://img.shields.io/pypi/l/beanstalkm)](https://github.com/mcode-cc/py-beanstalk/blob/master/py/LICENSE)

beanstalkm
==========

beanstalkm is a client library for [beanstalkd](http://github.com/beanstalkd/), a fast, distributed,
in‑memory work queue service.

beanstalkm supports Python 2.7 and Python 3.6+.

Usage
-----

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

```python
from beanstalkm import Client, DEFAULT_TUBE

beanstalk = Client()
message = beanstalk({"say": "hey!"})
message.send()

beanstalk.queue.watch(DEFAULT_TUBE)
message = beanstalk.reserve(timeout=0, drop=False)
print(message.body)
message.delete()
```

or:

```python
import beanstalkm

beanstalk = beanstalkm.Client(host="127.0.0.1", port=11300)
message = beanstalk.put({"say": "hey!"})

beanstalk.queue.watch(beanstalkm.DEFAULT_TUBE)
message = beanstalk.reserve(timeout=0, drop=True)
print(message.body)
```

For more information, see [the tutorial](TUTORIAL.md), which explains most
everything.


License
-------

Copyright (C) 2017 MCode GmbH, Licensed under the [GNU AFFERO GENERAL PUBLIC LICENSE][license].

[license]: http://www.gnu.org/licenses/agpl-3.0.en.html
