Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion
Project description
AutoCase (WIP:Expect Major Changes)
Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion
Latest Python Installation
git clone https://github.com/MohitBurkule/AutoCase.git
cd AutoCase
pip install -e .
Pypi ( slightly older version)
pip install AutoCase
Usage
Basic Usage
from autoCase import camel, snake, kebab, title
camel = camel("hello-world") # helloWorld
snake = snake("helloWorld") # hello_world
kebab = kebab("helloWorld") # hello-world
##title = title("helloWorld") # Hello World
AI Based Conversion (Coming Soon)
from autoCase import camel, snake, kebab, title
string = "helloworld"
camel = camel(string,ai=True,outputs=3) # [helloWorld, hellOworld, hellOWorld]
snake = snake(string,ai=True,outputs=3) # [hello_world, hell_oworld, hell_o_world]
pascal = pascal(string,ai=True,outputs=3) # [HelloWorld, HellOworld, HellOWorld]
kebab = kebab(string,ai=True,outputs=3) # [hello-world, hell-oworld, hell-o-world]
train = train(string,ai=True,outputs=3) # [Hello-World, Hell-Oworld, Hell-O-World]
upper = upper(string,ai=True,outputs=3) # [HELLO WORLD, HELL OWORLD, HELL O WORLD]
lower = lower(string,ai=True,outputs=3) # [hello world, hell oworld, hell o world]
Dictionary Based Conversion (Coming Soon)
from autoCase import camel, snake, kebab, title
word_list = ["hello","world","hell"]
string = "helloworld"
camel = camel(outputs=3) # [helloWorld, hellWorld, hellWorld]
snake = snake(outputs=3) # [hello_world, hell_world, hell_world]
pascal = pascal(outputs=3) # [HelloWorld, HellWorld, HellWorld]
kebab = kebab(outputs=3) # [hello-world, hell-world, hell-world]
train = train(outputs=3) # [Hello-World, Hell-World, Hell-World]
upper = upper(outputs=3) # [HELLO WORLD, HELL WORLD, HELL WORLD]
lower = lower(outputs=3) # [hello world, hell world, hell world]
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
autocase-0.0.3.tar.gz
(7.2 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 autocase-0.0.3.tar.gz.
File metadata
- Download URL: autocase-0.0.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4363a3523cef8bba02181cce850a775ae2e94afdcad2ca8aac8e15b574172b7a
|
|
| MD5 |
fdbff0c92e48a80b46790a6a0625145b
|
|
| BLAKE2b-256 |
7664e8d06c24d3d36c2bdc66accf1a5a9df3a630a5597504641185c3196ef303
|
File details
Details for the file autocase-0.0.3-py3-none-any.whl.
File metadata
- Download URL: autocase-0.0.3-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b7590a860e4f8d12b61a1f6a4764e7e119e0b7da99607efd23461ef1a887eea
|
|
| MD5 |
78824e8a37418f1883ea90d44e9abc0c
|
|
| BLAKE2b-256 |
e3ef21cdb59a2e21e1ec9957321ed826b5986718478ed4ba7c8a5e5986c45f98
|