Python package for playing with strings
Project description
string-decorator
Python Module to have fun with strings
Documentation
Name | Description |
---|---|
randcase |
Changes the given text to random cases (upper or lower) |
snakecase |
Changes the given text to snake_case |
constantcase |
Changes the given text to CONSTANT_CASE |
kebabcase |
Changes the given text to kebab-case |
headercase |
Changes the given text to PascalCase |
camelcase |
Changes the given text to camelCase |
dotcase |
Changes the given text to dot.case |
pathcase |
Changes the given text to path/case |
swapcase |
Changes each upper characters to lower and vice versa |
scramble_sentence |
Returns the sentence in random order Eg: 'Hello my friend' might change to 'my friend Hello' |
sentence_reverse |
Reverses given sentence Eg: 'Hello world' changes to 'world Hello' |
random_string |
Generates a random string comprising of lower cased or upper cased characters, numbers, symbols |
str_encode |
Encodes the given text into bytes format |
bytes_decode |
Decodes bytes back to string |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file string-decorator-0.1.1.tar.gz
.
File metadata
- Download URL: string-decorator-0.1.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3f19dfc07be9d0a1880b16585c40fe9bb359619bb2170ecaec8f84be067c403 |
|
MD5 | b2c1b52ff0ccab701ed5a2ea4bde5c85 |
|
BLAKE2b-256 | 8abde0aae6601086fa37e4eda02369d713f8cf45a94336b40f4ab6ca768fb945 |
File details
Details for the file string_decorator-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: string_decorator-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52dca16a2bdcda6c0be8cd7289cd4049875232bb58962bf16f4d77dd5e36b6a7 |
|
MD5 | 56ddb64b9de8f5abaa1c37afd6cb4bf0 |
|
BLAKE2b-256 | 74eac85f00a536327d0c718f91b2ee87550810b34161be6731787c97da13ca1a |