NX Work Log
I wrote this program originally in Borland C++ Builder. It adds an icon to the windows system tray that is green when it’s measuring time and red when it’s paused. I use it to measure my working hours, so I can switch it off when doing non work related tasks.
When I found Simon Brunning SysTrayIcon I decided to rewrite the application in Python as I wanted to make some improvements to the tool and no longer wanted to use my outdated version of C++ Builder.
As I was exploring the winpy32 package I found it contains a resource file parser and I thought it would be cool to define the dialog in Microsoft Visual Studio and see how this can be used in Python.
Linux port
As I’m also working on Projects requiring Ubuntu, I wanted to make the tool cross platform.
The Linux tray implementation uses pystray and behavior depends on the backend provided by the desktop environment.
Left/right mouse button behavior is not always identical to Windows. With the AppIndicator backend, primary click is menu-focused, so left click may open the menu instead of toggling pause.
Hover tooltip text is often not shown by Linux shells even when the application updates the tray title.
As a workaround for missing hover text, the current logged time is shown as the first (disabled) menu entry.
If AppIndicator libraries are missing, the app falls back to the Xorg backend. On Xorg, menu support is limited and right-click menu entries may be unavailable.
For full tray menu support on Ubuntu, install:
sudo apt update
sudo apt install libayatana-appindicator3-1 gir1.2-ayatanaappindicator3-0.1
You can force a specific backend for troubleshooting by setting the PYSTRAY_BACKEND environment variable (for example appindicator or xorg) before starting nxworklog.
Metadata
Release files for nx-work-log 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nx_work_log-1.2.0.tar.gz | 17.2 kB | Without provenance | Details for nx_work_log-1.2.0.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nx_work_log-1.2.0-py2.py3-none-win32.whl | Python 2, Python 3 | none | Windows x86-32 | Details for nx_work_log-1.2.0-py2.py3-none-win32.whl |
| nx_work_log-1.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for nx_work_log-1.2.0-py2.py3-none-any.whl |
Total release size: 48.2 kB
Release files / nx_work_log-1.2.0.tar.gz
| Download URL | nx_work_log-1.2.0.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21198464b2858e605d102624072b579266c6694263ee74b1fc18e57b5a1340a8
|
|
BLAKE2b-256 checksum How to use checksums |
79d55824996462a1d4f74ef75ba345f89af7743334b40b7a4dc1dfb9e9e3df0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / nx_work_log-1.2.0-py2.py3-none-win32.whl
| Download URL | nx_work_log-1.2.0-py2.py3-none-win32.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 2 Python 3 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
b7b755965f5e3cf6ee2e21b642fe2c40c7ef3b055640d6eeaf54a82d3ab68404
|
|
BLAKE2b-256 checksum How to use checksums |
f43ab8f85b515835870a308ccb69f1dfbfbc615ff76e96a2f871bce4217e42b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / nx_work_log-1.2.0-py2.py3-none-any.whl
| Download URL | nx_work_log-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
edcede91ffd8e211fd0e852931ce0a4d9e603e3c04a343b76514710ef014cd7d
|
|
BLAKE2b-256 checksum How to use checksums |
38f50c211196344a034b0c63f50dd2e43a342eddf2fd621cbd7dd40ea03b0260
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for nx-work-log 1.2.0
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.