Extended string utilities with CLI
Project description
stringx
Extended string utilities plus a CLI. Re-exports all string constants and adds helpers for case conversion, slugify, filters, validators, tokens, and more.
Install
pip install stringx
Python
from stringx import ascii_letters, random_string, slugify, to_snake, to_camel, only_digits, is_uuid, safe_filename
print(ascii_letters[:10])
print(random_string(16, "letters+digits", secure=True))
print(slugify("Hello, World!"))
print(to_snake("MyHTTPServer"))
print(to_camel("my_http_server"))
print(only_digits("a1b2c3"))
print(is_uuid("123e4567-e89b-12d3-a456-426614174000"))
print(safe_filename("Quarterly Report: Q1/2025.pdf", allow_dot=True))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stringplus-0.1.0.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stringplus-0.1.0.tar.gz.
File metadata
- Download URL: stringplus-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ea60df5b68f6fe6fbdd8847e3848fe9ffbc4dc3a691a94ca4f9e57cf9f8cb1b
|
|
| MD5 |
38cf1892060945472c56205a49eede8f
|
|
| BLAKE2b-256 |
2b52b487212cb76a55f4771d73e33d335126b2c8b889ae3d5f1fc8b2188c9c93
|
File details
Details for the file stringplus-0.1.0-py3-none-any.whl.
File metadata
- Download URL: stringplus-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
203daa9d459e79c40ba245f0fb923ebe69f6e82758f75b43d637c95895c35a3d
|
|
| MD5 |
43f93dee91be222836059bd8ae8af71d
|
|
| BLAKE2b-256 |
3fdd0c2b9e1ded98a45f077bea7cb9d024ae52447f12d5a00516886ae7e92bf1
|