Welcome to PystringToolkit
PyStringToolkit is a lightweight and intuitive Python library offering a rich set of utilities for string manipulation and transformation.
Whether you're building web applications, preprocessing text for machine learning, or just want cleaner and more readable code — this toolkit makes it easy with clean, reusable functions.
Key features
-
Case Conversion Utilities
Transform strings between popular naming conventions: snake_case, camelCase, PascalCase, kebab-case, and more. -
Text Cleaning Functions
Strip punctuation, normalize spaces, remove whitespace, and check string contents. -
String Generation Tools
Generate random strings, create URL-friendly slugs, and more.
Installation
pip install pystringtoolkit
Quick Example
from pystringtoolkit import to_snake_case
print(to_snake_case("Hello World!")) # hello_world
Learn More
- Getting Started — Installation, usage, and examples for all functions.
- API Reference — Full documentation generated from source code docstrings.
- Examples — Real-world use cases and practical applications.