https://github.com/yoptgyo/get_input Author: Prashant Sengar Author email: prashantsengar5@hotmail.com
get_input
Python module to take input of a defined data type from user
How to use
import get_input
return_value = get_input.input(prompt, data_type)
Data types which can be used:
-'int' for integer -'str' for string
-'float' for float values
Example code
integer_value = get_input.input("Please enter a number: ", 'int')
>>> Please enter a number: hello
>>> Please enter an integer value.
>>> Please enter a number: 5.0
>>> Please enter an integer value.
>>> Please enter a number: 5
>>>
--It will ask the user to enter an integer value and will wait till an integer value is returned--
Metadata
Release files for get-input 0.0.1
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 | |
|---|---|---|---|---|
| get_input-0.0.1.tar.gz | 1.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| get_input-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 kB
Release files / get_input-0.0.1.tar.gz
| Download URL | get_input-0.0.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c97bd206afe136d8f208750deba3743fa29ef6da986d73862b2f92933d20439
|
|
BLAKE2b-256 checksum How to use checksums |
db97853e226bb0afa1b45c85da6f23524d62b6f95654d5afd4bfed0622469f37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
|
Release files / get_input-0.0.1-py3-none-any.whl
| Download URL | get_input-0.0.1-py3-none-any.whl |
|---|---|
| Size | 1.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
061a839c3f4675ceb22b2addf5012b398bc717001c973d11d47c12e6f7ec9005
|
|
BLAKE2b-256 checksum How to use checksums |
8129c94fd2d4d19fe5b9e884145be5b18794da6e73226b08500e2d39b552dac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3
|
Security for get-input 0.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.