runner
======
- `中文说明 <README_CN.md>`__
introduction
------------
``runner`` is a ``configurable`` quick launcher for
``starting (running)`` commonly used ``commands (programs)``. It comes
with a ``log`` output interface, which is convenient for users to
``view (color)`` and ``save`` log. And the log output in a special
format can also drive the program to draw a ``progress bar``.
.. figure:: https://i.ibb.co/CtZ55GP/main.png
:alt: main-ui
main-ui
install
-------
pip install -r requirements.txt
only tested on the ``windwos`` platform, recommended to use the
``python 3.7`` version.
start up
--------
- python runner.py - run from codebase
- runner - run after install
configure
---------
main configuration file
~~~~~~~~~~~~~~~~~~~~~~~
config.json
.. code:: json
{
"maxLogLines": 1000, // max lines to view
"maxStdout": 40960, // max block of stdout
"defaultEncoding": "gbk", // default stdout encodding
"configs": [ // sub configuration item
{
"file": "runner_common.json", // sub configuration file
"title": "通用(测试)" // title in ui
}
]
}
sub configuration file
~~~~~~~~~~~~~~~~~~~~~~
runner_xxxx.json
.. code:: js
[
{
"title": "change codepage to gbk(use with caution)", // title in ui
"cmd": "cmd /c chcp 936", // command ling
"encoding": "gbk", // output encoding
"qss": "color: rgb(150, 0, 0);", // ui styles in qss format
"cwd": "", // current working directory
"env": { // environment variables
"GP_LANGUAGE": "zh_CN"
}
}
]
Raw data
{
"_id": null,
"home_page": "https://github.com/notmmao/runner",
"name": "qtrunner",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "qt,launcher",
"author": "hufeng.mao",
"author_email": "hufeng.mao@carota.ai",
"download_url": "",
"platform": "windows",
"description": "runner\n======\n\n- `\u4e2d\u6587\u8bf4\u660e <README_CN.md>`__\n\nintroduction\n------------\n\n``runner`` is a ``configurable`` quick launcher for\n``starting (running)`` commonly used ``commands (programs)``. It comes\nwith a ``log`` output interface, which is convenient for users to\n``view (color)`` and ``save`` log. And the log output in a special\nformat can also drive the program to draw a ``progress bar``.\n\n.. figure:: https://i.ibb.co/CtZ55GP/main.png\n :alt: main-ui\n\n main-ui\n\ninstall\n-------\n\npip install -r requirements.txt\n\nonly tested on the ``windwos`` platform, recommended to use the\n``python 3.7`` version.\n\nstart up\n--------\n\n- python runner.py - run from codebase\n- runner - run after install\n\nconfigure\n---------\n\nmain configuration file\n~~~~~~~~~~~~~~~~~~~~~~~\n\nconfig.json\n\n.. code:: json\n\n {\n \"maxLogLines\": 1000, // max lines to view\n \"maxStdout\": 40960, // max block of stdout \n \"defaultEncoding\": \"gbk\", // default stdout encodding\n \"configs\": [ // sub configuration item\n {\n \"file\": \"runner_common.json\", // sub configuration file\n \"title\": \"\u901a\u7528(\u6d4b\u8bd5)\" // title in ui\n }\n ]\n }\n\nsub configuration file\n~~~~~~~~~~~~~~~~~~~~~~\n\nrunner_xxxx.json\n\n.. code:: js\n\n [\n {\n \"title\": \"change codepage to gbk(use with caution)\", // title in ui\n \"cmd\": \"cmd /c chcp 936\", // command ling\n \"encoding\": \"gbk\", // output encoding\n \"qss\": \"color: rgb(150, 0, 0);\", // ui styles in qss format\n \"cwd\": \"\", // current working directory\n \"env\": { // environment variables \n \"GP_LANGUAGE\": \"zh_CN\"\n }\n }\n ]\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u5feb\u901f\u547d\u4ee4\u542f\u52a8\u5668",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/notmmao/runner"
},
"split_keywords": [
"qt",
"launcher"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4c7d8a5dbd0010a5187ae1348670cf95e20e19a5fea3ce6115282b1c201c5e20",
"md5": "282ea65bd4cd8690fea21b50279e69e7",
"sha256": "8b073c7f11d9fe6cc1e082eb117e53c36e206bdc469a499ff6eb86fb45c51ad5"
},
"downloads": -1,
"filename": "qtrunner-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "282ea65bd4cd8690fea21b50279e69e7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 16336,
"upload_time": "2023-07-24T10:01:16",
"upload_time_iso_8601": "2023-07-24T10:01:16.303814Z",
"url": "https://files.pythonhosted.org/packages/4c/7d/8a5dbd0010a5187ae1348670cf95e20e19a5fea3ce6115282b1c201c5e20/qtrunner-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-24 10:01:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "notmmao",
"github_project": "runner",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "qtrunner"
}