Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
python-validators
validators
Repository navigation
Code
Issues
6
(6)
Pull requests
27
(27)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
validators
tests
test_slug.py
on
docs-zensical
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 10, 2026
fix(slug): use fullmatch so a trailing newline is rejected
nandgator
committed
bea386c
View commit details
Copy full SHA for bea386c
View code at this point
Browse repository at this point
feat: Optimize slug. Extend tests.
welder87
authored and
nandgator
committed
030f649
View commit details
Copy full SHA for 030f649
View code at this point
Browse repository at this point
Commits on Aug 7, 2023
feat: refactoring; updates; fixes; bump version
Show description for 2e0d0ec
nandgator
committed
2e0d0ec
View commit details
Copy full SHA for 2e0d0ec
View code at this point
Browse repository at this point
Commits on Aug 1, 2023
feat: `ValidationFailure` is now `ValidationError`
Show description for 12ae1f5
nandgator
committed
12ae1f5
View commit details
Copy full SHA for 12ae1f5
View code at this point
Browse repository at this point
Commits on Mar 7, 2023
maint: improves `mac_address`, `slug` and `uuid`
Show description for 2f2be68
nandgator
committed
2f2be68
View commit details
Copy full SHA for 2f2be68
View code at this point
Browse repository at this point
Commits on Oct 10, 2015
Add isort and flake8 checks
kvesteri
committed
ef06b9e
View commit details
Copy full SHA for ef06b9e
View code at this point
Browse repository at this point
Commits on Jun 25, 2014
Add slug validator
kvesteri
committed
80a5868
View commit details
Copy full SHA for 80a5868
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.