Skip to main content

A launcher for Windows that resides in the taskbar for managing .bat scripts.

Project description

tray-launcher

Python: 3.7+ License: MIT PyPI: tray-launcher Code style: black

A launcher for Windows that resides in the taskbar for managing .bat scripts.

Installation

Install tray-launcher with pip install tray-launcher.

Usage

tray-launcher comes with a command-line interface. Use launcher -h to learn more.

To get started, run launcher run, and a small icon will show on the taskbar.

Before running any scripts from tray-launcher, they need to be loaded. This can be done by clicking the option Load New Script(s) in the context menu. Alternatively, run launcher load [full path to the script]. Only .bat files are accepted.

To run a script, select it in the Start a Script submenu from the context menu, or click [View in Directory] to see all loaded scripts from a file dialogue, or run launcher start [script name].

tray-launcher listens to port 127.0.0.1:7686. If this port is not available, create the environment variable TRAY_LAUNCHER_PORT and set its value to an available port number.

A log for the tray-launcher and associated .bat scripts will be saved under %USERPROFILE%\.tray_launcher\logs.

If tray-launcher crashes, scripts started with tray-launcher will not terminate.

There is an expected delay when executing launcher run.

When the tray-launcher is run in a conda environment, scripts started with tray-launcher will run in the same conda environment. When a venv environment is used, scripts may not inherit the environment, and the user may need to add the activate command in a script if it should be run in the venv.

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

tray-launcher-1.0.9.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

tray_launcher-1.0.9-py3-none-any.whl (51.8 kB view details)

Uploaded Python 3

File details

Details for the file tray-launcher-1.0.9.tar.gz.

File metadata

  • Download URL: tray-launcher-1.0.9.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for tray-launcher-1.0.9.tar.gz
Algorithm Hash digest
SHA256 aa2f98787913c48a3a5bbe6e2298a3b7ce46b2e857edab2431c9b7ce1cb0a717
MD5 051809ca72b349f40d75cecd6c698837
BLAKE2b-256 578840b88d8a388161ebce7086ad80dee3a7318bf97fdf664d1ee23f1e1031f9

See more details on using hashes here.

File details

Details for the file tray_launcher-1.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for tray_launcher-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a8f169612a15430f8ff28f1c7b929f2be6e24672cddd0d5895c23b465c879d71
MD5 d3d2a61f19b49613cdbb748837925579
BLAKE2b-256 321355cc3533a4da627c853d4a2b254395e00f9ae5ab99100bc5d6a07118030c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page