Skip to content

labteral/stopover-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stopover Logo

Python client for Stopover

Downloads PyPi GitHub releases License

Buy Me A Coffee

Installation

pip install stopover

Usage

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

About

Python client for Stopover

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •