Skip to main content

A simple data validation library

Project description

DataValidator

DataValidator is a simple, lightweight Python library for validating various types of data. This library aims to provide easy-to-use validation methods for strings, numbers, emails, dates, lists, and dictionaries.

Features

  • String Validation: Validate strings with minimum and maximum length, and optional regex patterns.
  • Number Validation: Validate numbers with constraints like minimum and maximum values, integer check, positive or negative checks.
  • Email Validation: Validate email addresses with a regex pattern.
  • Date Validation: Validate date strings with a specified format.
  • List Validation: Validate lists with minimum and maximum lengths and element type checks.
  • Dictionary Validation: Validate dictionaries with required keys and key type checks.

Installation

You can install DataValidator using pip. Note that this example assumes the library is published on PyPI.

pip install LegacyDataValidator

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

legacydatavalidator-0.1.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

LegacyDataValidator-0.1.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file legacydatavalidator-0.1.2.tar.gz.

File metadata

  • Download URL: legacydatavalidator-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for legacydatavalidator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ddc74fc247cc28d80be9a80aedc2b689a56c23564183a637121a1b642cdb4d2e
MD5 ceaddd91a05a3cb80d049cc5a6f03059
BLAKE2b-256 e3402e8657d7944ffd15cd5cae9b30bfca0b89bbb01aef2512ed1c55fc612737

See more details on using hashes here.

File details

Details for the file LegacyDataValidator-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for LegacyDataValidator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 652039d28887d088e835f20f89c463ee31ff1202f519305b72e634ffcb2630a2
MD5 1cb3d3aba319c1738957c0abf0800110
BLAKE2b-256 f4d2680ce3cfbba491c4159d7ddfd1b367f2be46aa5d1b8dc91f42d087250375

See more details on using hashes here.

Supported by

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