Various functions to get input from the user
Project description
Extra Input
A simple helper lib with a few extra ways to get input from the user
How to use:
import extra_input
option = extra_input.selector(["Option [1]","Option [2]"])
print(f"you selected {option}")
Functions:
select(options:list[str], firstLetterSelections = True) -> strnumbered_select(options:list[str], use_parens = False, roman_numerals = False) -> strintput(text:str) -> intfloat_input(text:str) -> floatcustom_input(text:str, allowed:str, tellAllowed = True) -> str
Changelog:
- 1.0.5:
- Fixed a bug where PyPI didn't show this whole readme
- 1.0.4:
- Fixed some misc bugs
- Fixed selector using the wrong index
- Fixed selector using its own charecter making it more error prone
- 1.0.0 - 1.0.3:
- Firguring out how to make this work
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
extra_input-1.0.5.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file extra_input-1.0.5.tar.gz.
File metadata
- Download URL: extra_input-1.0.5.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ef510937a235c32af1e056e1b0a9ed41f4a6a89450022f7b73b70d87d62e22
|
|
| MD5 |
899134096b6bab288f8b8312dabc30a1
|
|
| BLAKE2b-256 |
14cdab7a38416bfd69a5c3982bd052e4ab7a5eb29100036167335a4560c79f68
|
File details
Details for the file extra_input-1.0.5-py3-none-any.whl.
File metadata
- Download URL: extra_input-1.0.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
caabb35c3fe9f5b50803b67703084008482968c2358f48fa3c3a9c6ab5debf26
|
|
| MD5 |
66e18f6b42cfbcdb1e2c51a607249824
|
|
| BLAKE2b-256 |
e7696f112d6950f6ca0179a1d13b077d7691affa9d51bf7a65d0af33bcb76cc7
|