A lightweight library for controlling text.
Project description
🧩 Overview
casetools module provides you the most common cases in python & text methods simply & explicitly.
cased class ⚒️
this class provides every feature of this module, from the path/case/style to repeating the text in the matter of moments. It's all simple: make an instance of cased class:
from casetools import cased
example: cased = cased("I love python")
And now you unlocked all the features, and you can do such things like:
print(example.ct_vowels()) # 5
print(example.snake()) # 'I_love_python'
print(example.Pascal().swapcase()) # 'i lOVE pYTHON'
🔠 Cases
From the available cases are:
| case | view |
|---|---|
| snake() | snake_case |
| pascal() | PascalCase |
| kebab() | kebab-case |
| upper snake() | SCREAMING_CASE |
| train() | Capitalized-Kebab-Case |
🧰 Installation
Install directly from PyPi:
pip install casetools
or from github:
git clone https://github.com/johnathan31/casetools.git
cd casetools
pip install .
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
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 casetools-1.0.1.tar.gz.
File metadata
- Download URL: casetools-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8252a5b661c9e472c876d2a37fc0d7fcaf94cc36bf178a0f7219b6b395d88b6
|
|
| MD5 |
213d439617064b38437c6a69b8049b9f
|
|
| BLAKE2b-256 |
a03100326a4efb73a3d9e9fd94807363b838f1d33491b4722c546f7d4cb9d9db
|
File details
Details for the file casetools-1.0.1-py3-none-any.whl.
File metadata
- Download URL: casetools-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a81709bd0040cf220f33938d4f683e0255579b6c13134963ffc3b8e1823a81b4
|
|
| MD5 |
b48ea3138ee9521cb2fdc07a3a66a885
|
|
| BLAKE2b-256 |
d4f511c35e650d19d2fa47a26fc7e4d953f8579446e13bd0e0e5987681e2e809
|