--- id: python-string-utils version: "1.0.0" license: MIT license_treatment: permissive maintenance: abandoned --- # python-string-utils — Utility functions for strings validation and manipulation. License: permissive · Maintenance: abandoned · Downloads: 686.0K/mo ## 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 above — verify before relying. Provides functions to validate, manipulate, and generate strings—checking formats like URLs, emails, IP addresses, and JSON; transforming between naming conventions; and performing operations like slugification and HTML stripping. 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 pip install python-string-utils uv add python-string-utils poetry add python-string-utils ## Installing python-string-utils 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. 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' Requires Python 3.5 or later. 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_current - Install friction: low - Maintenance: abandoned - Downloads: 686.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags string validation library, email url ip validation, camel case snake case conversion, string manipulation utilities, slug generator, html tag removal, json string checker, string-validation, text-processing, abandoned [View on SkillFed](https://skillfed.io/packages/python-string-utils) · [View on PyPI](https://pypi.org/project/python-string-utils/)