Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

casetools-1.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

casetools-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file casetools-1.0.0.tar.gz.

File metadata

  • Download URL: casetools-1.0.0.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

Hashes for casetools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 70ef63fa886241bba8c7817ca12bd48ea583cb7e4b9fc0d9a3506e1bbd075f0e
MD5 3445efe9387481515c55c8b2e09af2d7
BLAKE2b-256 893d014609c02c0ea842dfde5593c110735e94cebbb8396c9ebe73c626d87aa9

See more details on using hashes here.

File details

Details for the file casetools-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: casetools-1.0.0-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

Hashes for casetools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4becbfda0c91de3b4880a7bdddcd125de5d260c576520777978a6fc242f86705
MD5 2f71b191f0d25ed1a2b40135927c99b7
BLAKE2b-256 6dda3deeac0f7ccf03e9e217df8f3ac45bf4591f210a8f38719e92854e7355c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page