New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dialite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dialite

Lightweight Python library to show simple dialogs

  • 0.6.0
  • PyPI
  • Socket score

Maintainers
1

Dialite

CI Documentation Status

Dialite is a lightweight Python package to show dialogs. It provides a handful of functions, each a verb, that can be used to inform(), warn() or fail() the user, or to ask_ok(), ask_retry() or ask_yesno().

Dialite is pure Python, has no dependencies, and is written to work on Python 3.6+. It works on Windows (from at least XP), Linux (most ones anyway, including Raspbian) and OS X.

Dialite provides a way to communicate with the user without needing a fancy (and heavy) GUI library. It's also much easier to package with tools like cx_Freeze and PyInstaller.

Example:

import dialite

res = dialite.ask_yesno('Troll question', 'Do you prefer VI over Emacs?')

if dialite.ask_ok('Confirm download', 'Will now download the resources.'):
    ...

Installation

pip install dialite

License

BSD 2-clause. See LICENSE for details.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc