GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rhinstaller/python-simpleline: A Python3 library for creating text UI

BranchesTags
Open more actions menu

Latest commit

 

History

446 Commits
446 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
po
po
 
 
simpleline
simpleline
 
 
tests/units
tests/units
 
 
.gitignore
.gitignore
 
 
.packit.yaml
.packit.yaml
 
 
.pylintrc
.pylintrc
 
 
LICENSE.md
LICENSE.md
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
python-simpleline.spec
python-simpleline.spec
 
 
setup.py
setup.py
 
 

Repository files navigation

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.

About

A Python3 library for creating text UI

Resources

Readme
LGPL-3.0 license
Activity
Custom properties

Stars

9 stars

Watchers

12 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.