Skip to main content

Simple and easy library to Validate data in Python

Project description

Py Validations Pure Python Data Validator

Image


Simple and easy library to Validate data in python

example workflow

install

  pip install PyValidations

Usage


data = {
    "first_name": "Majid"
}

rules = { 
    "first_name": ["required", "string", "max:128"] 
}

pyvalidations.make(data, rules)

Documentation

Author


Majid Ahmaditabar

PyValidation is released under the MIT License.

Changelog


V0.1.0-beta

  • Required
  • Accepted
  • Alpha & String
  • Boolean
  • Numbers
  • Min & Max
  • Internet
  • In & Not_In
  • UUID
  • Date&Time
  • Different
  • Confirmation
  • Nullable

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

PyValidations-0.1.0b0.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

PyValidations-0.1.0b0-py3-none-any.whl (13.6 kB view hashes)

Uploaded Python 3

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