validators
Python Data Validation for Humans™
Decision gist · record as of 2026-08-14
Yes. validators is actively maintained, has zero known vulnerabilities, installs with no dependencies, and solves a common problem—quick validation of standard formats—without forcing you to define schemas. Use it when you need simple, one-off format checks; skip it if you're building a complex data pipeline that already has a validation framework.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction install with no runtime dependencies.
- Active maintenance with recent release (2025-05-01) and ongoing repository commits (last 2026-03-14).
License · maintenance · safety
MIT (permissive) — MIT license permits use in commercial and proprietary projects with minimal restrictions—include a copy of the license and you're clear.
last release 2025-05-01 (470 days) · last repo commit 2026-03-14 · 1,122 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 31,710,317 downloads/mo, #784 on PyPI
Alternatives
Verify before relying
pip install validators
import validators
result = validators.email('someone@example.com')
print(result) # True or validation result object- Whether validators returns True/False or a result object for each validator type (behavior may vary by validator).
- Performance characteristics when validating large batches of data.
- Exact list of supported validators and their coverage (email, URL, IP, credit card, etc.).
What it is and what it does
validators is a lightweight Python library that checks whether common data formats are valid without requiring you to define a schema or form first. It exposes simple functions like `validators.email()` and `validators.url()` that return a result indicating whether the input is valid. The library has no runtime dependencies and supports Python 3.9 through 3.13.
It's designed for developers who need quick, ad-hoc validation of individual values—email addresses, URLs, IP addresses, credit card numbers, and similar formats—in scripts, web applications, or data pipelines. Rather than building a full validation schema, you call the appropriate validator function directly on the value you want to check.
Use it for
- Validate user-submitted email addresses in web forms before processing or storing.
- Check if a string is a valid URL before making HTTP requests or storing links.
- Verify IP addresses in network configuration or access-control logic.
- Validate credit card numbers in payment processing workflows.
- Quick format checks in data cleaning or ETL scripts without schema overhead.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
validators is actively maintained, has zero known vulnerabilities, installs with no dependencies, and solves a common problem—quick validation of standard formats—without forcing you to define schemas. Use it when you need simple, one-off format checks; skip it if you're building a complex data pipeline that already has a validation framework.
Install
validators on PyPI
Before you install
Low friction install with no runtime dependencies. Active maintenance with recent release (2025-05-01) and ongoing repository commits (last 2026-03-14). Supports Python 3.9 through 3.13.
Requires Python 3.9 or later.
License in practice
MIT license permits use in commercial and proprietary projects with minimal restrictions—include a copy of the license and you're clear.
Quickstart
pip install validators
import validators
result = validators.email('someone@example.com')
print(result) # True or validation result object
Verify before relying
- Whether validators returns True/False or a result object for each validator type (behavior may vary by validator).
- Performance characteristics when validating large batches of data.
- Exact list of supported validators and their coverage (email, URL, IP, credit card, etc.).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 470 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 31,710,317 / month, #784 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules |
Evidence: validators-0.35.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “simple format checking”
- validatorsValidates common data types and formats (email, URL, IP address,…
- barcodenumberValidates product codes across multiple barcode and ISBN standards…
- python-magicIdentifies file types by reading file headers and checking them…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also validator-collection · django-password-validators · semantic-link-functions-validators · validate_email · yamale · swagger-spec-validator · python-stdnum · rfc3339-validator · jsonschema · avro-validator