Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

validateInput-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

validateInput-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for validateInput-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6a5718613b5c79a7c68c43462502aa172ae153a88ac70c08a218387483ba15c0
MD5 d71e47de4dfb3b238a728b5e78383e2d
BLAKE2b-256 704360c9cee31923436f2c6847357df9fb9d049dc8de3676a6e3d0fba12806f2

See more details on using hashes here.

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

Hashes for validateInput-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 648265b8bfd2945eb357f750a16df72442e637c6d99ff349c900783273b50b80
MD5 1a3d9c3755b564f3c1962f17e260977d
BLAKE2b-256 ef6f44caacbaddf8857820cfb840225c8e78041774f46979cb0de85e499e999c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page