Skip to main content

A simple framework for building interactive CLI menus in Python

Project description

CLIMenus

A simple and elegant framework for building interactive command-line menus in Python.

Features

  • Easy-to-use menu creation
  • Customizable options and actions
  • Clean and intuitive interface
  • Simple integration with existing projects

Installation

pip install climenus

Quick Start

from climenus import Menu

# Create a menu
menu = Menu("Main Menu")

# Add options
menu.add_option("Option 1", lambda: print("Option 1 selected"))
menu.add_option("Option 2", lambda: print("Option 2 selected"))
menu.add_option("Exit", lambda: exit())

# Display the menu
menu.run()

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

climenus-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

climenus-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file climenus-0.1.0.tar.gz.

File metadata

  • Download URL: climenus-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for climenus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 92b7971aa90e770c19f5c59c9e5207459fed96ff15fc0d6067756e3ec5c383ce
MD5 1c88f1b0b747a26b537d753313814214
BLAKE2b-256 98c3e769644dcc52ae3a161005b674945d27d9ed2e496d42896820b89a69c2a4

See more details on using hashes here.

File details

Details for the file climenus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: climenus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for climenus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d89f1f7f60c07c2ede2e65f089c3ca5c97eda9a51afb899c040ab330842f901b
MD5 72799c1d5ffb30be85df651d2a29b18d
BLAKE2b-256 48bcc15bd6d444bd39c1b48bba44dc007d16e9bb16af0b2193f4a278ea3381a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page