Skip to main content

pyclimenu

Code Analysis Testing codecov

This python module creates simple command line menus. Just define the callable and the label of each option and voila! Foreground, background color numbering and labels are adjustable.

Install

pip install pyclimenu

Demo

from pyclimenu.menu import Menu

def a():
    print('''
    Let's Rock!
    ''')
    return 1

mn = Menu(items=[
    {"label": "The easy way", "callback": a},
    {"label": "to create", "callback": a},
    {"label": "command line menus", "callback": a}
])
mn.set_colors(num_fg="cyan", num_bld=True, label_fg="blue", label_bl=True)

results = mn.run(header="pyclimenu")
print(results)

menu

Metadata

Release files for pyclimenu 0.1.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyclimenu 0.1.18
File Size Uploaded Provenance Actions
pyclimenu-0.1.18.tar.gz 4.5 kB Without provenance Details for pyclimenu-0.1.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyclimenu 0.1.18
File Interpreter ABI Platform Actions
pyclimenu-0.1.18-py3-none-any.whl Python 3 none any Details for pyclimenu-0.1.18-py3-none-any.whl

Total release size: 21.5 kB

Release files / pyclimenu-0.1.18.tar.gz

Download URL pyclimenu-0.1.18.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8ef7732029084447e5114a02f9265b5cbd395b69d5bf9fdc432f81d90958927f
BLAKE2b-256 checksum
How to use checksums
f126d5f31a693954f6f9a783539b8bb3d5f206e44fc583943fdfa8cc9e432c91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

Release files / pyclimenu-0.1.18-py3-none-any.whl

Download URL pyclimenu-0.1.18-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
038438ba349cea0c10e4bd8a58c1ebf5b296251e577e9e30932058c06c09be1d
BLAKE2b-256 checksum
How to use checksums
222f9d3418d9414ca913128b6d21b26be9edaae7a2f3fbf5ba3773570d13620c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

Security for pyclimenu 0.1.18

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.

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