Skip to main content

A small example package

Project description

Multiform-validator

PyPI version License: MIT PyPI downloads

Library is in testing period

This package provides Python functions to validate various forms fields.

Documentation: https://github.com/gabriel-logan/multiform-validator

Feel free to find bugs and report them to me. Your feedback is highly appreciated. Hugs from Gabriel Logan!

If you want to help me, you can buy me a coffee (:

Buy Me A Coffee

Installation

pip install multiform-validator

Avaliable for while

  • cnpjValidator: CNPJ validation.
  • cpfValidator: CPF validation.
  • getOnlyEmail: Extracts only the email or emails address from a string.
  • identifyFlagCard: Identifies the flag of a credit card.
  • isCreditCardValid: Credit card validation.
  • isEmail: Email address validation format.
  • passwordStrengthTester: Password strength test.
  • validateBRPhoneNumber: Brazilian phone number validation.

from .cpfValidator import cpfValidator as from .cnpjValidator import cnpjValidator as cnpjIsValid from .getOnlyEmail import getOnlyEmail from .isEmail import isEmail from .identifyFlagCard import identifyFlagCard from .isCreditCardValid import isCreditCardValid from .passwordStrengthTester import passwordStrengthTester from .validateBRPhoneNumber import validateBRPhoneNumber

Data Validator

This package contains various modules for validating different types of data. Below are the available validation modules:

Available Validation Modules !!! STILL NOT AVALIABLE !!!

  • cnpjValidator: CNPJ validation.
  • cpfValidator: CPF validation.
  • getOnlyEmail: Extracts only the email or emails address from a string.
  • identifyFlagCard: Identifies the flag of a credit card.
  • isAscii: Checks if the string contains only ASCII characters.
  • isBase64: Checks if the string is a valid Base64 encoding.
  • isCEP: CEP validation (Brazilian postal code).
  • isCreditCardValid: Credit card validation.
  • isDate: Date format validation.
  • isDecimal: Checks if the number is a decimal.
  • isEmail: Email address validation format.
  • isEmpty: Checks if the string is empty.
  • isMACAddress: MAC address validation.
  • isMD5: Checks if the string is a valid MD5 hash.
  • validatePassportNumber: Passport number validation.
  • isPort: Port number validation.
  • isPostalCode: Postal code validation.
  • isTime: Time format validation.
  • validateBRPhoneNumber: Brazilian phone number validation.
  • validateEmail: Email address full validation.
  • validatePassword: Password validation.
  • validatePhoneNumber: Phone number validation.
  • validateUsername: Username validation.
  • validateUSPhoneNumber: US phone number validation.
  • isNumber: Checks if the value is a number.
  • passwordStrengthTester: Password strength test.
  • validateName: Name validation.
  • validateSurname: Surname validation.
  • validateTextarea: Textarea validation.

For better information, read the documentation

Feel free to explore the various functions and experiment with different inputs to understand their behavior. If you encounter any issues or have suggestions, don't hesitate to reach out to me. Your feedback is valuable and helps improve the package. Happy coding!

By - Gabriel Logan

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

multiform-validator-0.0.5.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

multiform_validator-0.0.5-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file multiform-validator-0.0.5.tar.gz.

File metadata

  • Download URL: multiform-validator-0.0.5.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for multiform-validator-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e6814a1d2d708e5a3b763c2bde04a90da33c50d16f1ddc908f5ff24e6742733c
MD5 4aa5583e1b6dc8dfd7339d35286e836c
BLAKE2b-256 4624220e94327376aa31debd03a06ac4f3d30dade5136cdc287b801cf7965038

See more details on using hashes here.

File details

Details for the file multiform_validator-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for multiform_validator-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cd104a8515e9360f11c3079dfe2c366a87493cf67f3ba3d57eb844e015c89e26
MD5 2d2841b48d2fd3d1c96373acbbe4c6fa
BLAKE2b-256 67b198ed4d2575b9a4ca7ddc582c5db8f2a346b574ee350d17326df8ec2d058c

See more details on using hashes here.

Supported by

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