Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python package to display text over templates

Project description

pipeline status coverage report Documentation Status

Galaxie Viewer

A small terminal viewer, use by Galaxie Tools for display something to the terminal.

The Mission

Provide a Text Based line viewer, it use a template. It existe many template for high level language, but nothing for text one.

Our mission is to provide useful display template for terminal. Actually every Galaxie tool use it; where print() is not use any more...

Screenshots

v0.2

Example

import sys
import time
from GLXViewer import viewer


def main():
    start_time = time.time()
    viewer.flush_infos(
        column_1=__file__,
        column_2='Yes that is possible'
    )
    viewer.flush_infos(
        column_1=__file__,
        column_2='it have no difficulty to make it',
        column_3='what ?'
    )
    viewer.flush_infos(
        column_1='Use you keyboard with Ctrl + c for stop the demo',
        status_text='INFO',
        status_text_color='YELLOW',
        status_symbol='!',
    )
    while True:

        viewer.flush_infos(
            column_1=__file__,
            column_2=str(time.time() - start_time),
            status_text='REC',
            status_text_color='RED',
            status_symbol='<',
            prompt=True
        )


if __name__ == '__main__':
    try:
        main()
    except KeyboardInterrupt:
        viewer.flush_a_new_line()
        sys.exit()

Documentations

Readthedocs link: https://glxviewer.readthedocs.io

Installation

For PyPI (last stable) version:

pip install galaxie-viewer

For TestPyPI (last) version

pip install -i https://test.pypi.org/simple/ galaxie-viewer

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 galaxie-viewer, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size galaxie-viewer-0.3.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page