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.

Source Distribution

clive_log-0.0.1.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

clive_log-0.0.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page