from input_picker import pick_bool, pick_item, Stop, Help
try:
value = pick_bool()
except Help: # when user pick the help
print_your_help()
except Stop: # when user pick the stop
stop_your_app()
Tips: you can handle Stop on root:
if __name__ == '__main__':
try:
main()
except Stop:
print('User stop application.')
Metadata
Release files for input_picker 0.1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| input_picker-0.1.2.0.tar.gz | 3.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| input_picker-0.1.2.0-py3.6.egg | Legacy Egg format | - | - | Details |
Total release size: 15.3 kB
Release files / input_picker-0.1.2.0.tar.gz
| Download URL | input_picker-0.1.2.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3aedbe2afcc7ca9bd43fc06a4ac9cec32898b38810d5ead3be763308e4e096c0
|
|
BLAKE2b-256 checksum How to use checksums |
19553e836b4c8ff7dd2ef50b401295abece6cdc0eee0490e94f0984e227bc39d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / input_picker-0.1.2.0-py3.6.egg
| Download URL | input_picker-0.1.2.0-py3.6.egg |
|---|---|
| Size | 11.4 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f4670cf32b39f10b5cf84e642d10da6e852583c34682807a63898b8e0fc9387a
|
|
BLAKE2b-256 checksum How to use checksums |
3e860e30096f137348237ae5341b3a55291d18eb13f197b567b326348a3c5c50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for input_picker 0.1.2.0
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.