Skip to main content

# validin Console input validator for python, allows for any condition to be checked in a clean and consice syntax

## Docs (temporary): ` from validin import get_input import validin.validators as valid `

Use get_input to get valid user input

Example get_input() use: - name = get_input(“What’s your name? “, valid.IsLetters()) - age = get_input(“How old are you? “, valid.IsNaturalNumGreaterThan(18))

Input Validators: - IsNaturalNum - IsNaturalNumLessThan - IsLetters - IsLettersAndSymbols - IsAlphanumeric - IsAlphanumericAndSymbols - IsOption

To create a new validator,

create a NewValidator() class with the condition and invalid input message wanted.

For a validator with more advanced functionality (such as dynamic invalid input messages),

create an InputValidator subclass (see the docs)

Release files for validin 0.9.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for validin 0.9.3
File Size Uploaded
validin-0.9.3.tar.gz 14.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for validin 0.9.3
File Interpreter ABI Platform
validin-0.9.3-py3-none-any.whl Python 3 none any Details

Total release size: 28.1 kB

Release files / validin-0.9.3.tar.gz

Download URL validin-0.9.3.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3636c81a56b9276e3fcbb2ee6a513e83304688c845ac8cbe203f2710cd4a5a2e
BLAKE2b-256 checksum
How to use checksums
dbb09f064e8ecc0d434d837d1746c3819b7fb194e31e837291261af478d0910b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release files / validin-0.9.3-py3-none-any.whl

Download URL validin-0.9.3-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69a7bbfc40b6b023bbea52d7ec810feed37461a025aa8598ffad29adc41aa8d2
BLAKE2b-256 checksum
How to use checksums
48c4752584e863bf23f8634049ae45e04a51036460d740d069a3358fbe93e8b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

Release history Release notifications | RSS feed

This release

0.9.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page