Skip to main content

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)

Source distribution for traymenu 0.10
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)

Table of built distributions (wheels) for traymenu 0.10
File Interpreter ABI Platform Actions
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

Release files / traymenu-0.10.tar.gz

Download URL traymenu-0.10.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bf2273718db3cc43ef4a9322d785cf228044364267638645b6d26870dfcbf233
BLAKE2b-256 checksum
How to use checksums
383eb4de94dd5ed95ed7f418371919d73dfffc8bb89095f749450ec610b7e9f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / traymenu-0.10-py3-none-any.whl

Download URL traymenu-0.10-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a47cb19082aa8ab8dee412981c4ee6b0463d576b948b9b5f2bfb8ff4e4c1733
BLAKE2b-256 checksum
How to use checksums
161c25135a858a25b404b18c27495b85f9685e6e36cb8de5bee8bef2f97d23a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

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.

Release history Release notifications | RSS feed

This release

0.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page