An ActivityWatch monitor for observing the network connection status.
Project description
aw-watcher-netstatus
An ActivityWatch monitor for observing the network connection status.
Purpose
On the internet, Wonderland is recursive, with rabbit holes opening up to yet more rabbit holes; you never stop falling.
Librar𝘪𝘦𝘴 of Alexandria, brimming with knowledge, promise, culture; an unrelenting, expanding periphery; innumerable collections of untold riches; a source of wonder and awe—all a single keypress away. It's suffocating.
Installation
-
Install the module with
pip
. This will addaw-watcher-netstatus
to your$PATH
.pip install aw-watcher-netstatus
-
aw-qt
can now find the module; to start it by default addaw-watcher-netstatus
to theaw-qt.toml
configuration file (find the location here), e.g.$ cat $AW_DIRECTORY/aw-qt/aw-qt.toml [aw-qt] autostart_modules = ["aw-server", "aw-watcher-afk", "aw-watcher-window", "aw-watcher-netstatus"]
Development
-
Prerequisites: Clone the repository. Install Poetry.
-
Run
poetry install
in the root of the directory. -
Start the ActivityWatch server in development mode:
$ AW_PATH/aw-server --testing --verbose
-
Run
aw-watcher-netstatus
in development mode, this will connect tolocalhost:8080
by default.$ poetry run aw-watcher-netstatus --testing -v
-
Open a socket at that port; observe the logs produced by
aw-watcher-netstatus
, view the timeline atlocalhost:5666
.nc -l -k 8080
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
File details
Details for the file aw_watcher_netstatus-1.0.1.tar.gz
.
File metadata
- Download URL: aw_watcher_netstatus-1.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd24c05aeb2c8210b3ab247d3826197fca0d8b5d774027ab409ab71993b00687 |
|
MD5 | c830a614fbd80c1e765c59ec1da74ebc |
|
BLAKE2b-256 | 4550e46e54650a6410be475e362986bf0243fa89e46823316fe79d58c4c7efef |
File details
Details for the file aw_watcher_netstatus-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: aw_watcher_netstatus-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.9 Darwin/22.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31c1396d6f15efbd6e21f6be3dd87333096c1b635007d804153a9508129cebe6 |
|
MD5 | d013c80f6e62881e83458c142c3dd4e1 |
|
BLAKE2b-256 | 157a7cc5b7311e8a455194ae4b0dd2bd1ad533a079122dc7c959d2e662955697 |