Skip to main content

Python text UI framework

Project description

Copr build status Translation status

Python Simpleline

This is a text UI framework originally which was a part of the Anaconda installer project.

This UI is simple and easy to use. It is designed to be used with line-based machines and tools (e.g. serial console) so that every new line is appended to the bottom of the screen. Printed lines are never rewritten!

How to

Link to the documentation.

Another way to learn how to use this library is to view the examples directory. Examples can be run without installing Simpleline to the system. You can test them by running the script run_example.sh.

  1. cd examples
  2. ./run_example.sh example_folder_name

For example: ./run_example.sh basic

Dependencies

This is a Python3-only project. This code should not be difficult to migrate to Python2. However, there is no need from the community, so it is only compatible with Python3 at the moment. No special libraries are required to use this library. If you want to use glib event loop instead of the original one you need to install glib and Python3 gobject introspection.

If you want to run tests (make ci), you need to install Pocketlint and glib with gobject introspection for Python3.

Note

Thanks to Martin Sivák for the original Anaconda project. It was really nice starting place for the new Simpleline's form.

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

simpleline-1.9.0.tar.gz (114.8 kB view hashes)

Uploaded Source

Built Distribution

simpleline-1.9.0-py3-none-any.whl (59.0 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