Still under developing. API might not be stable at this time.
Lightweight tool to interact with Apache Livy. Provide both CLI tools and library that works nicely in pure and native Python.
features:
-
Log watching and parsing
It could parse livy's mixed-stdout logs back to log records and submit to Python's
logging
system. Then we could watch for the events in a much friendly way. -
Configurable
For using CLI tools, it provides configuration system for saving common used variables on local storage. No need to set every option on each command.
-
Human friendly log viewer
On using CLI for reading logs, it could have colored logs and progress bar. Besides, we could highlight or hide specific logger via arguments (e.g. hide
TaskSetManager
as we've got progress bar). -
Extensible
Custom function could be triggered during submission. So bring it to infinity...and beyond!
-
Fully tested
100% coverage. Both with and without extra dependencies are tested, thanks to Github action.
Install via pip
:
pip install -U 'git+https://github.com/tzing/python-livy.git#egg=livy[pretty]'
Or get the wheel from release.