/validateInput

A python module for validating user input

Primary LanguagePythonMIT LicenseMIT

ValidateInput

A python module for validating user input

Can validate if the input is a string or an integer.

Module pypi site: https://pypi.org/project/ValidateInput/ (However I recommend reading about it here, because on the "pypi" site the documentation is messed up)

Installation and importing

Installing the module: pip install ValidateInput

Importing the module: from ValidateInput import ValidateInput

Usage

Validate that the input is a string: ValidateInput.validate_str()

Validate that the input is an integer: ValidateInput.validate_int()