Skip to main content

# yesno

Quite frequently I need to create simple CLI interfaces for the programs I write, every time I end up creating a different set of functions that never have a good set of satisfactory behaviours. For this reason I’m putting this project publicly, so I can use the same library for those purposes and improve it continusly.

Example:

>>> import yesno
>>> yesno.input_to_bool('Do you like pancakes', default='yes')
Do you like pancakes[yes]? no
False

Metadata

Release files for msl09-yesno 0.1.0

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

Built distribution (wheel)

Table of built distributions (wheels) for msl09-yesno 0.1.0
File Interpreter ABI Platform
msl09_yesno-0.1.0-py3-none-any.whl Python 3 none any Details

Release files / msl09_yesno-0.1.0-py3-none-any.whl

Download URL msl09_yesno-0.1.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
245ea98d27ab0391565e57fa27665bd9d94315bb656dcc07c54739b2ce9f0ee1
BLAKE2b-256 checksum
How to use checksums
734be01bef40640e920407d875c088702536b61d903e05bd14dfd9c490a1dd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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