Skip to main content

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.

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

{
    "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

[
    {
        "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"
         }
     }
]

Metadata

Release files for qtrunner 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for qtrunner 0.0.7
File Interpreter ABI Platform Actions
qtrunner-0.0.7-py3-none-any.whl Python 3 none any Details for qtrunner-0.0.7-py3-none-any.whl

Release files / qtrunner-0.0.7-py3-none-any.whl

Download URL qtrunner-0.0.7-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
726c61b0fe71093ab6d651a7249a5acb38b23d1ca91529682f85ec982e125f94
BLAKE2b-256 checksum
How to use checksums
0d42dd8aff08997c4d76a03400d55347566f1a61a9041a08a34fe7ee00a3296b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Security for qtrunner 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page