Skip to main content

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()

clive_log Demo

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for clive-log, version 0.0.1
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
Filename, size clive_log-0.0.1.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page