Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
/ runners Public archive

A Python lib to provide wrappers around common runnable patterns.

License

Notifications You must be signed in to change notification settings

EDITD/runners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runners

A Python lib to provide wrappers around common runnable patterns.

Lock Helper

$ python
>>> import runners
>>> with runners.lock("/foo/bar", zookeeper_hosts=["example-01", "example-02"]):
...     # Do something exclusively
...     pass
... 

zookeeper_hosts can either be a list of strings ["example-01", "example-02"] or a string of comma separated values "example-01,example-02".

About

A Python lib to provide wrappers around common runnable patterns.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages