Sample Python Project for creating a new Python Module
Project description
AutoCase (WIP:Expect Major Changes)
Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion
Python Installation
git clone https://github.com/MohitBurkule/AutoCase.git
cd AutoCase
pip install -e .
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.2.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.2.tar.gz.
File metadata
- Download URL: autocase-0.0.2.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 |
078761798c94e2bff07c1bf62a732395b400b96ee954b389c2feffbbad9bda24
|
|
| MD5 |
ba97a2ca4be994921fb5bfb165e75ffe
|
|
| BLAKE2b-256 |
3056b19de66e87ae29159b30f88abc43f61f597856c123b1201ca21ea5d4dace
|
File details
Details for the file autocase-0.0.2-py3-none-any.whl.
File metadata
- Download URL: autocase-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.5 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 |
9bacd90700be9724e8659fd84516ba67c0db28bbe30a8060e58823311f908317
|
|
| MD5 |
3ed7eee922326fcd4afee2f848f8221f
|
|
| BLAKE2b-256 |
6d51abbab17f3ec80f4df87f965fa345ebff84a64f9f73072519a79277f01944
|