An open API service indexing awesome lists of open source software.

https://github.com/labteral/stopover-python

Python client for Stopover
https://github.com/labteral/stopover-python

python-sdk stream-processing

Last synced: 9 months ago
JSON representation

Python client for Stopover

Awesome Lists containing this project

README

          


Stopover Logo


Python client for Stopover



Downloads
PyPi
GitHub releases
License


Buy Me A Coffee

# Installation

```bash
pip install stopover
```

# Usage

```python
from stopover import Stopover

endpoint = 'http://localhost:5704'
receiver_group = 'group0'
stream = 'stream0'

stopover = Stopover(endpoint)

index = 0
stopover.put(f'hi {index}', stream)
for message in stopover.listen(stream, receiver_group):
stopover.commit(message, receiver_group)
stopover.put(f'hi {index}', stream)
index += 1
```