python-string-utils
Utility functions for strings validation and manipulation.
Decision gist · record as of 2026-08-14
No, not for new projects. The package is abandoned with no maintenance since 2022. While it is stable and dependency-free, standard library alternatives cover most use cases better. Install only if maintaining legacy code already using it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.5 or later.
- Low install friction with no external runtime dependencies.
- However, the package is abandoned—last release was March 2020 and last commit December 2022, with no active maintenance.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on commercial or proprietary use, modification, or redistribution.
last release 2020-03-04 (2354 days) · last repo commit 2022-12-08 · 58 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 686,044 downloads/mo, #5,350 on PyPI
Alternatives
Verify before relying
pip install python-string-utils
from python_string_utils import is_email, slugify
print(is_email('test@example.com')) # True
print(slugify('Hello World!')) # 'hello-world'- Whether the regex-based validation functions handle all edge cases correctly for modern standards (e.g., RFC 5321 for email, RFC 3986 for URL).
- Performance characteristics when processing very large strings or high-volume validation workloads.
- Compatibility with Python versions released after the last update in 2022.
What it is and what it does
python-string-utils is a pure-Python library for common string operations, organized into three modules: validation (checking if a string is an email, URL, IP, UUID, ISBN, JSON, or matches patterns like camel case or snake case), manipulation (converting between naming conventions, reversing, shuffling, stripping HTML, prettifying, slugifying, and asciifying), and generation (creating strings with specific properties). It has no external dependencies and relies on compiled regex for performance.
The library was last updated in March 2020 and is no longer actively maintained. While it remains stable and has 100% code coverage as of its final release, it receives no updates for new Python versions, security patches, or changes to validation standards. It is suitable for straightforward string operations in projects where you can tolerate a static codebase, but not recommended for new projects requiring ongoing support or modern standards compliance.
Use it for
- Validate user input for email addresses, URLs, and IP addresses in web forms or APIs.
- Convert between naming conventions (camelCase ↔ snake_case) when integrating code from different sources.
- Generate URL-safe slugs from user-provided titles or content for routing and SEO.
- Check if a string is valid JSON, UUID, ISBN, or credit card number before processing.
- Strip HTML tags and prettify text for display or storage in plain-text contexts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not for new projects.
The package is abandoned with no maintenance since 2022. While it is stable and dependency-free, standard library alternatives cover most use cases better. Install only if maintaining legacy code already using it.
Install
python-string-utils on PyPI
Before you install
Low install friction with no external runtime dependencies. However, the package is abandoned—last release was March 2020 and last commit December 2022, with no active maintenance. Use only if the feature set meets your needs and you are comfortable maintaining a fork if issues arise.
Requires Python 3.5 or later.
License in practice
MIT license is permissive and poses no restrictions on commercial or proprietary use, modification, or redistribution.
Quickstart
pip install python-string-utils
from python_string_utils import is_email, slugify
print(is_email('test@example.com')) # True
print(slugify('Hello World!')) # 'hello-world'
Verify before relying
- Whether the regex-based validation functions handle all edge cases correctly for modern standards (e.g., RFC 5321 for email, RFC 3986 for URL).
- Performance characteristics when processing very large strings or high-volume validation workloads.
- Compatibility with Python versions released after the last update in 2022.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,354 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 686,044 / month, #5,350 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries |
Evidence: python_string_utils-1.0.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 › “string validation library”
- python-string-utilsProvides functions to validate, manipulate, and generate…
- rfc3339-validatorValidates whether a string conforms to the RFC3339 timestamp format,…
- flake8-literalA flake8 plugin that enforces consistent styling of string literals,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also unicode-slugify · slugify · python-slugify · pyhumps · case-convert · normality · commonregex · coolname · pyheck · email-validator