A module that validates whether the input text is a string or an integer
Project description
This module contains 2 functions for user to use. It allows the user to validate whether the input is a string or an integer. Both functions have default values for the prompt text and the error message. These can be set while calling any function from the module. These functions keep asking for the input and only finish when the input is correct. They of course return the input which can be assigned to a variable. To correctly import this module: from ValidateInput import ValidateInput Then you'll be able to access 2 functions: ValidateInput.validate_str() and ValidateInput.validate_int()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 validateInput-0.0.1.tar.gz.
File metadata
- Download URL: validateInput-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5718613b5c79a7c68c43462502aa172ae153a88ac70c08a218387483ba15c0
|
|
| MD5 |
d71e47de4dfb3b238a728b5e78383e2d
|
|
| BLAKE2b-256 |
704360c9cee31923436f2c6847357df9fb9d049dc8de3676a6e3d0fba12806f2
|
File details
Details for the file validateInput-0.0.1-py3-none-any.whl.
File metadata
- Download URL: validateInput-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
648265b8bfd2945eb357f750a16df72442e637c6d99ff349c900783273b50b80
|
|
| MD5 |
1a3d9c3755b564f3c1962f17e260977d
|
|
| BLAKE2b-256 |
ef6f44caacbaddf8857820cfb840225c8e78041774f46979cb0de85e499e999c
|