validator-collection
Collection of 60+ Python functions for validating data
What it is and what it does
Validator Collection is a Python library offering a suite of 60+ pre-built validator functions designed to check both the type and contents of input values. Each validator follows a consistent calling convention, making it straightforward to integrate validation logic into data processing pipelines. The library depends on jsonschema for JSON Schema validation and regex (on Python 2.7) for pattern matching.
The package is stable and production-ready in its current form, but is no longer actively maintained—the last release was in October 2020 and the repository shows no commits since December 2022. It supports Python 2.7 through 3.8, though it has not been updated for newer Python versions. For projects locked to older Python versions or seeking a straightforward, battle-tested validator collection without ongoing development, it remains usable; for new projects requiring active maintenance and modern Python support, alternatives may be preferable.
Use it for:
- Validate email addresses, URLs, and other common data formats in form processing or API input handlers
- Check numeric ranges and types before performing calculations or database operations
- Enforce data type constraints in data pipelines or ETL workflows
- Validate file paths and file-related metadata in file-handling code
- Perform JSON Schema validation on structured configuration or API payloads
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides 60+ validator functions for checking type and content of Python values, with consistent syntax across common validation tasks.
Yes, with conditions. Install if you are maintaining legacy Python 2.7 or 3.4–3.8 code that needs a stable, well-tested validator library and you accept no further updates. Do not install for new projects targeting modern Python versions or requiring active maintenance and security updates—the package is abandoned and will not receive bug fixes or compatibility patches.
Install
validator-collection on PyPI
pip
pip install validator-collectionuv
uv add validator-collectionpoetry
poetry add validator-collectionInstalling validator-collection
Before you install
Low install friction with only jsonschema and regex as runtime dependencies. However, the package is abandoned—last release was 2020-10-12 and last commit 2022-12-08, with no active maintenance.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license text.
Quickstart
pip install validator-collection
from validator_collection import validators
result = validators.email('user@example.com')
Requires Python 2.7 or 3.4+; abandoned status means no bug fixes or security updates will be released.
Verify before relying
- Whether the 60+ validators cover the specific validation types your application needs
- Current compatibility with Python versions released after 3.8
- Whether jsonschema and regex dependencies have unresolved security issues
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — jsonschema, regex |
| Maintenance | abandoned — 2,132 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 730,723/month — #5,209 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: validator_collection-1.5.0-py2.py3-none-any.whl
Keywords: validator, validate, validation, validators
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
typepyTypepy checks, validates, and converts Python…
permissive · top 5,000 on PyPI
validatorsValidates common data types and formats (email,…
permissive · top 1,000 on PyPI
jsonschemajsonschema validates Python data structures…
permissive · top 100 on PyPI
pykwalifyValidates YAML and JSON data against schemas…
permissive · top 5,000 on PyPI
pyvalidpyvalid is a Python data validation tool that…
permissive · top 15,000 on PyPI
schemaValidates Python data structures (dicts, lists,…
permissive · top 1,000 on PyPI
django-password-validatorsProvides additional password validators for…
permissive · top 15,000 on PyPI
pycsvschemaValidates CSV files against a schema…
permissive · top 15,000 on PyPI
jsonschema-rsjsonschema-rs validates JSON data against JSON…
permissive · top 5,000 on PyPI
validations-engineValidations Engine is a framework for defining…
unclear · top 15,000 on PyPI