A CLI live logging package
This is a simple library for quick python debugging of live data streams. It's intended to run in the command line only and to be very compact. The primary goals of the project are to not use any external dependencies (besides the python libraries) and to try and keep the total LOC under ~1000 to make it accessible.
Currently supported fields are:
- Text fields
- Cell fields
- Graph fields
Check the examples folder for some basic demos on how to use this library.
The general usage is:
import clive_log context = clive_log.Context("test") context.add_text_field("text_field1") while True: context.write_text_field("text_field1", "new text to write") context.display()
There are still some issues with the system, namely:
- artifacts when resizing
- nonfunctional in terminal multiplexers
Some things I would like to eventually add:
- config parameters for how to print everything
- resize cleanup
- progress bars
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size clive_log-0.0.1-py3-none-any.whl (6.8 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size clive_log-0.0.1.tar.gz (5.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for clive_log-0.0.1-py3-none-any.whl