crashbytes-strutils
Zero-dependency string utilities — case conversion, slugify, masking, and more.
Install
pip install crashbytes-strutils
Usage
from crashbytes_strutils import to_snake_case, slugify, mask, truncate
to_snake_case("helloWorld") # "hello_world"
slugify("Hello World!") # "hello-world"
mask("4111111111111111") # "************1111"
truncate("Long text here", 10) # "Long te..."
API
Case Conversion
to_snake_case, to_camel_case, to_pascal_case, to_kebab_case, to_title_case, to_constant_case
Text Manipulation
slugify, truncate, mask, between, strip_html, reverse, pad_left, pad_right, remove_whitespace
Validation
is_valid_email, is_blank
Analysis
count_words, initials
License
MIT
Metadata
Release files for crashbytes-strutils 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crashbytes_strutils-1.1.7.tar.gz | 50.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crashbytes_strutils-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.0 kB
Release files / crashbytes_strutils-1.1.7.tar.gz
| Download URL | crashbytes_strutils-1.1.7.tar.gz |
|---|---|
| Size | 50.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d22c8f69547af7f34442a7af4fff0bb058a8d53783262241debed82fabeabc3
|
|
BLAKE2b-256 checksum How to use checksums |
a4bd7de26768ed887587def861bede5e4706ccce151b24c41a97a6186e0b4097
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logRelease files / crashbytes_strutils-1.1.7-py3-none-any.whl
| Download URL | crashbytes_strutils-1.1.7-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3199525d85b8c48572b8df7cb5c38d214a450c4a26908feb069474269ddda58
|
|
BLAKE2b-256 checksum How to use checksums |
bc41653381d2c8bc22ba21dcaa96369197c24a9724af43bc983c63986ad2dbf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency log