Python text UI framework
Project description
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
.
cd examples
./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
Built Distribution
File details
Details for the file simpleline-1.9.0.tar.gz
.
File metadata
- Download URL: simpleline-1.9.0.tar.gz
- Upload date:
- Size: 114.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7645e29a83df27a46defa1dc1e7e84f6adf91645e03cdd06b4384079bc89aef1 |
|
MD5 | 7d7298892f1f75785ecb21a9da5bb21f |
|
BLAKE2b-256 | da175a2bf4a30bc700df609b303b50c5b2a8a6a34d9776fe34979684f3c3b206 |
File details
Details for the file simpleline-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: simpleline-1.9.0-py3-none-any.whl
- Upload date:
- Size: 59.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f32d7c4336daa3ec10e183e2c5ce42eab9290fb6d9954363e294c449f99ff1d |
|
MD5 | 7c340dff8cc255e6efa700189bf52e38 |
|
BLAKE2b-256 | c1f56165077529ef4ec1184327a842a2926a6d8d433cd7d78697fee33a819743 |