[![Copr build status](https://copr.fedorainfracloud.org/coprs/g/rhinstaller/Anaconda/package/python-simpleline/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/g/rhinstaller/Anaconda/package/python-simpleline/)
[![Translation status](https://translate.fedoraproject.org/widgets/python-simpleline/-/master/svg-badge.svg)](https://translate.fedoraproject.org/engage/python-simpleline/?utm_source=widget)
Python Simpleline
=================
This is a text UI framework originally which was a part of the
[Anaconda](https://github.com/rhinstaller/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](https://python-simpleline.readthedocs.io) to the documentation.
Another way to learn how to use this library is to view the
[examples directory](https://github.com/rhinstaller/python-simpleline/tree/master/examples).
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](https://github.com/rhinstaller/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.
Raw data
{
"_id": null,
"home_page": "https://github.com/rhinstaller/python-simpleline",
"name": "simpleline",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.4",
"maintainer_email": "",
"keywords": "ui text library glib",
"author": "Jiri Konecny",
"author_email": "jkonecny@redhat.com",
"download_url": "https://files.pythonhosted.org/packages/da/17/5a2bf4a30bc700df609b303b50c5b2a8a6a34d9776fe34979684f3c3b206/simpleline-1.9.0.tar.gz",
"platform": "",
"description": "[![Copr build status](https://copr.fedorainfracloud.org/coprs/g/rhinstaller/Anaconda/package/python-simpleline/status_image/last_build.png)](https://copr.fedorainfracloud.org/coprs/g/rhinstaller/Anaconda/package/python-simpleline/)\n[![Translation status](https://translate.fedoraproject.org/widgets/python-simpleline/-/master/svg-badge.svg)](https://translate.fedoraproject.org/engage/python-simpleline/?utm_source=widget)\n\nPython Simpleline\n=================\n\nThis is a text UI framework originally which was a part of the\n[Anaconda](https://github.com/rhinstaller/anaconda) installer project.\n\nThis UI is simple and easy to use. It is designed to be used with line-based\nmachines and tools (e.g. serial console) so that every new line is appended\nto the bottom of the screen. Printed lines are never rewritten!\n\nHow to\n======\n\n[Link](https://python-simpleline.readthedocs.io) to the documentation.\n\nAnother way to learn how to use this library is to view the\n[examples directory](https://github.com/rhinstaller/python-simpleline/tree/master/examples).\nExamples can be run without installing Simpleline to the system. You can test\nthem by running the script `run_example.sh`.\n\n1. `cd examples`\n2. `./run_example.sh example_folder_name`\n\nFor example:\n`./run_example.sh basic`\n\nDependencies\n============\n\nThis is a Python3-only project. This code should not be difficult to migrate to\nPython2. However, there is no need from the community, so it is only compatible\nwith Python3 at the moment.\nNo special libraries are required to use this library. If you want to use glib\nevent loop instead of the original one you need to install glib and Python3\ngobject introspection.\n\nIf you want to run tests (`make ci`), you need to install\n[Pocketlint](https://github.com/rhinstaller/pocketlint) and glib with gobject\nintrospection for Python3.\n\nNote\n====\n\nThanks to Martin Siv\u00e1k for the original Anaconda project. It was really nice\nstarting place for the new Simpleline's form.\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Python text UI framework",
"version": "1.9.0",
"project_urls": {
"Homepage": "https://github.com/rhinstaller/python-simpleline"
},
"split_keywords": [
"ui",
"text",
"library",
"glib"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c1f56165077529ef4ec1184327a842a2926a6d8d433cd7d78697fee33a819743",
"md5": "7c340dff8cc255e6efa700189bf52e38",
"sha256": "4f32d7c4336daa3ec10e183e2c5ce42eab9290fb6d9954363e294c449f99ff1d"
},
"downloads": -1,
"filename": "simpleline-1.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7c340dff8cc255e6efa700189bf52e38",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.4",
"size": 59034,
"upload_time": "2021-10-11T09:38:48",
"upload_time_iso_8601": "2021-10-11T09:38:48.608871Z",
"url": "https://files.pythonhosted.org/packages/c1/f5/6165077529ef4ec1184327a842a2926a6d8d433cd7d78697fee33a819743/simpleline-1.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "da175a2bf4a30bc700df609b303b50c5b2a8a6a34d9776fe34979684f3c3b206",
"md5": "7d7298892f1f75785ecb21a9da5bb21f",
"sha256": "7645e29a83df27a46defa1dc1e7e84f6adf91645e03cdd06b4384079bc89aef1"
},
"downloads": -1,
"filename": "simpleline-1.9.0.tar.gz",
"has_sig": false,
"md5_digest": "7d7298892f1f75785ecb21a9da5bb21f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.4",
"size": 114806,
"upload_time": "2021-10-11T09:38:50",
"upload_time_iso_8601": "2021-10-11T09:38:50.572294Z",
"url": "https://files.pythonhosted.org/packages/da/17/5a2bf4a30bc700df609b303b50c5b2a8a6a34d9776fe34979684f3c3b206/simpleline-1.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-10-11 09:38:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rhinstaller",
"github_project": "python-simpleline",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "simpleline"
}