Skip to main content

validators-rs

High-performance Rust implementation of validators - validate emails, URLs, IPs, and more.

Overview

validators-rs is a Rust-powered Python library that provides fast validation for common data types including emails, URLs, IP addresses, and more.

Installation

pip install validators-rs

Features

  • 🚀 High Performance: Built with Rust for maximum speed
  • ✅ Comprehensive Validation: Email, URL, IP, domain, and more
  • 🔄 Compatible: Drop-in replacement for the validators library
  • 🐍 Python 3.8+: Supports Python 3.8 through 3.14
  • 🌍 Cross-Platform: Pre-built wheels for Linux, macOS, and Windows

Quick Start

from validators_rs import email, url, ipv4, domain

# Validate email addresses
print(email("user@example.com"))  # True
print(email("invalid.email"))     # False

# Validate URLs
print(url("https://example.com"))  # True
print(url("not a url"))           # False

# Validate IP addresses
print(ipv4("192.168.1.1"))  # True
print(ipv4("999.999.999.999"))  # False

# Validate domain names
print(domain("example.com"))  # True
print(domain("invalid..domain"))  # False

Available Validators

  • email(): Validate email addresses
  • url(): Validate URLs
  • ipv4(): Validate IPv4 addresses
  • ipv6(): Validate IPv6 addresses
  • domain(): Validate domain names
  • mac_address(): Validate MAC addresses
  • uuid(): Validate UUIDs
  • And more!

Performance

validators-rs provides significant performance improvements over pure Python implementations, making it ideal for high-throughput validation scenarios.

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Metadata

Release files for validators-rs 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for validators-rs 0.1.1
File Actions
validators_rs-0.1.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for validators_rs-0.1.1-cp314-cp314-win_amd64.whl
validators_rs-0.1.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for validators_rs-0.1.1-cp313-cp313-win_amd64.whl
validators_rs-0.1.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for validators_rs-0.1.1-cp312-cp312-win_amd64.whl
validators_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for validators_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
validators_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for validators_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
validators_rs-0.1.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for validators_rs-0.1.1-cp311-cp311-win_amd64.whl
validators_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for validators_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
validators_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for validators_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
validators_rs-0.1.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for validators_rs-0.1.1-cp310-cp310-win_amd64.whl
validators_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for validators_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
validators_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for validators_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
validators_rs-0.1.1-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details for validators_rs-0.1.1-cp39-cp39-win_amd64.whl
validators_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.34+ x86-64 Details for validators_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
validators_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details for validators_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
validators_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.34+ x86-64 Details for validators_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
validators_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl CPython 3.8 CPython 3.8 macOS 11.0+ ARM64 Details for validators_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Total release size: 13.1 MB

Release files / validators_rs-0.1.1-cp314-cp314-win_amd64.whl

Download URL validators_rs-0.1.1-cp314-cp314-win_amd64.whl
Size 719.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
8f478f452e164154d71d8c3d0644ac8e01b9fe25c62a1a7a91e86327b5caaf12
BLAKE2b-256 checksum
How to use checksums
1e0ade210b42d11c455358c2110b573357a0ec6767be9536651bc61486cf399c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp313-cp313-win_amd64.whl

Download URL validators_rs-0.1.1-cp313-cp313-win_amd64.whl
Size 719.7 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
949e1895eab3be9793404700a2c89c65d0b26181e0792255d6171efeb11917dc
BLAKE2b-256 checksum
How to use checksums
a74bfb1467c6d4835926d1db910ee4681b936eb5dea27a431716ad991a7f82fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp312-cp312-win_amd64.whl

Download URL validators_rs-0.1.1-cp312-cp312-win_amd64.whl
Size 720.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
cc4b35cab2768aee5284812fb75ddd19528f9b1e9c464469a898890f21a49ae0
BLAKE2b-256 checksum
How to use checksums
36f723f63d6b62079b406be9f3f7bcc8c178b111973488a1ea5e533a773d1dbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL validators_rs-0.1.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 955.5 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
0c8f5ab562ada200b178de0e44f55135691c22d639eeb699b8bf53c297c08f10
BLAKE2b-256 checksum
How to use checksums
84c8decca98b0fcae2e624259e3dab6195efafcf40abdb3ff6f80024069b1746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL validators_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Size 801.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
57e29984f0c4d5d31d0f3926f920225db603e193d40c4d78c27ab1401ca6515f
BLAKE2b-256 checksum
How to use checksums
8130e64a2214d5ee675060a6f9c4a992cc9a1558cea379594f426c1d69490541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp311-cp311-win_amd64.whl

Download URL validators_rs-0.1.1-cp311-cp311-win_amd64.whl
Size 720.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
5ea945f9b9760ad73efd1cd56380ebcfeca73f3dca57f8c6523ae0b9d6a9ce15
BLAKE2b-256 checksum
How to use checksums
0456b36583843241aef93de6ffe1fd31283620e736cef1872f192ccd88253a28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL validators_rs-0.1.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 955.3 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
ad7b46d6e7642617c04477f0c4f9bbec79677011c4c915e9800e24e9745ed41d
BLAKE2b-256 checksum
How to use checksums
7514acf5ce160b059962c56d4ff4b87e3abfdff32504e33832af11917115be96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL validators_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Size 801.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6bd89e29ed51ea32f43944dc137fa357c065220848b9f973d89c3b414c876419
BLAKE2b-256 checksum
How to use checksums
93a0f6be3f946bee829bee864f507718411a6fcd0a9e51c2236db173a32bae54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp310-cp310-win_amd64.whl

Download URL validators_rs-0.1.1-cp310-cp310-win_amd64.whl
Size 720.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
fa825a382b4273546291c5baf3c8a4dcb1b58cf7df71ede89804f9291c6200e5
BLAKE2b-256 checksum
How to use checksums
1bff4dc8f4995c19cb027e663639e288e67969a6a419ac4c118eb6a3f2611da8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL validators_rs-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 955.3 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
9fb15a8f95121e767dd978cd4dc4a020ac308e1d4cf6b0fb3dd78e52639c6fc0
BLAKE2b-256 checksum
How to use checksums
81f1aafa30e6ba9605ab0c3f2329d1aa8fcc65d453b862e6fef89329c467fdbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl

Download URL validators_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Size 801.8 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6ce61596f4567cc235fd73b8c7efa1609c28d42a593418c98af52f8a0fc55536
BLAKE2b-256 checksum
How to use checksums
2ba3e8e147ad77bc021a40c654e97d9acd630967e96abb6c122a0cce186cad40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp39-cp39-win_amd64.whl

Download URL validators_rs-0.1.1-cp39-cp39-win_amd64.whl
Size 724.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
712727e9f5bbc725fd765d690c3b1b2630eefaec3f5453f357d19ee7a23ed98c
BLAKE2b-256 checksum
How to use checksums
487ad661aa17e62ef552276b2fc442b53be99b5cedc6d27b25eff14e4a506d22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl

Download URL validators_rs-0.1.1-cp39-cp39-manylinux_2_34_x86_64.whl
Size 955.3 kB
Tags CPython 3.9 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e39e09afa48d048f224e5312f513720e77a1a1b3b3bfc1b691b3fe5432abb109
BLAKE2b-256 checksum
How to use checksums
aaa98fc04fb52123ca63b7a9040e4f07599299aaf01a063102e507328dd1724f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl

Download URL validators_rs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
Size 801.9 kB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0073f05f4dee74f1104749e2755256df8a939821229679c07de33f052326d5af
BLAKE2b-256 checksum
How to use checksums
4e6655ba5697bda2c22155488a69753390fb34ec696d93b423d8f265f162c7ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl

Download URL validators_rs-0.1.1-cp38-cp38-manylinux_2_34_x86_64.whl
Size 955.1 kB
Tags CPython 3.8 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
9cefaf49462ae06069998a57ea669e4172d51c8776ea2114d26ec02cfc855910
BLAKE2b-256 checksum
How to use checksums
75a9753de92aa2c1c496cc0f3cda77e5f6e6fd8ec1e4d603f440a63fb40a1c15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / validators_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl

Download URL validators_rs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl
Size 801.6 kB
Tags CPython 3.8 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b4b36fc9c05a40872d16443b60cf6dc20f13e2944cbc9b9c6955b7a6ff7f1c07
BLAKE2b-256 checksum
How to use checksums
d02537d97120eab6c4b5fef253983e9712cae344f93d1c36c96bb721bfd8f56a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for validators-rs 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

16 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page