# 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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|