System Tray Menu for Windows - no dependencies
pip install traymenu
Tested against Windows 10 / Python 3.10 / Anaconda
from traymenu import TrayMenu,quitsystray
if __name__ == "__main__":
# Adapted from: https://gist.github.com/jasonbot/5759510 (Python 2)
tm = TrayMenu(
icon=r"C:\Users\hansc\Downloads\pinpng.com-anime-girl-face-png-6144106.ico",
functions=(
("Men1", lambda: print(331)),
("Men2", False), # not clickable
("!Default", lambda: print(22)), # default [bold]
"--", # Separator
("Men3", lambda: print(str(1))),
("Quit", lambda: quitsystray()),
),
)
tm.letsgo()
Metadata
Release files for traymenu 0.10
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 |
|---|---|---|---|---|
| traymenu-0.10.tar.gz | 10.6 kB | Without provenance | Details for traymenu-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| traymenu-0.10-py3-none-any.whl | Python 3 | none | any | Details for traymenu-0.10-py3-none-any.whl |
Total release size: 21.7 kB
Security for traymenu 0.10
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.