This package contains the client side script for mon.sh which allows you to sync your command output to the cloud.
Project description
Monsh
Monsh is the python client script for mon.sh, a service which allows you to monitor and notify on long running shell commands from the web.
Setup
To use the script effectively you would need to use an account on mon.sh, refer to the quickstart guide for more information.
To configure the script initially with an API key, use mon configure.
Usage
To use the script, simply pipe the command output of your script to the mon
command (or monsh if you prefer.)
python3 -c "import time; [print(i) or time.sleep(1) for i in range(20)]" |& mon
You can use | or |&, the latter also pipes the stderr output which is
recommended. Note that the client works on multiple platforms but works best
on *nix type shells. While you can pipe output in powershell, the stderr
pipping does not work as easily.
Options
- -w allows you to specify the workspace. A workspace is a virtual organization structure for all jobs. If not specific everything falls into the default workspace. All event notification configuration happens at the workspace level.
- -k allows you to specify the API key for usage. If provided this overrides
the API key in the config file that is setup via
mon configure - -l allows you to specify the log levels for the mon script itself. For example
you can use
mon -l DEBUGto get additional information from the mon script.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file monsh-1.0.3.tar.gz.
File metadata
- Download URL: monsh-1.0.3.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27841e25c8419a40cf000dcc10a85efd8907f903dc4f7367f156f07d9a6f2b2b
|
|
| MD5 |
72506ed92daa699c625a6efed911241a
|
|
| BLAKE2b-256 |
9540998b642a1b2b136fc232f25ee65a8c85d91abe1e7a0b1cc7ef672ffa910b
|
File details
Details for the file monsh-1.0.3-py3-none-any.whl.
File metadata
- Download URL: monsh-1.0.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2737478efe9c1d61369c94ff2f72667ad752c932da7bce0301607eee96f6d4d
|
|
| MD5 |
95524cc417bbcd7f8aa9fc2a61ad09f0
|
|
| BLAKE2b-256 |
5090c5dd772f5b4fd93b9b5380cf41754aceef9d8b1a5421d3c2bef2afdd5766
|