A CLI live logging package
Project description
CLIVE_LOG
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
Getting started
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()
Known Issues
There are still some issues with the system, namely:
- artifacts when resizing
- nonfunctional in terminal multiplexers
Future Features
Some things I would like to eventually add:
- config parameters for how to print everything
- resize cleanup
- progress bars
- tables
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file clive_log-0.0.1.tar.gz
.
File metadata
- Download URL: clive_log-0.0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74214c1ba4154c481ec997e78eadecad6826991aaedd4ef659555b757f2d968c |
|
MD5 | e818a0acc04ead50c8dbf1407aab2d4c |
|
BLAKE2b-256 | d5a1c9a97eb21447c9064129896d6e1c512b760939fdea8e635a007f65dcb6c4 |
File details
Details for the file clive_log-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: clive_log-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a56b9f3fa5cfbe5fcd570ca03fa189ba30101482ffd179e236ff7c65b45d67be |
|
MD5 | 78ce8c6a0362ee73e4e868ed55ad4e8c |
|
BLAKE2b-256 | fa08b6c8293581ae57aa652526f2e9a7382edb3f95e7da8654d918036a9af23e |