https://github.com/jkl404/toggle
Toggle is a PYTHON STRING PACKAGE for toggling the string in different formats like AbcD, aBcD, Aaa Baa etc with toggling typing speed. [ Syntax: Toggle(string, choice, speed) ]
https://github.com/jkl404/toggle
pip-package python python-package python-string-maupulation python3-library string-operations
Last synced: 6 months ago
JSON representation
Toggle is a PYTHON STRING PACKAGE for toggling the string in different formats like AbcD, aBcD, Aaa Baa etc with toggling typing speed. [ Syntax: Toggle(string, choice, speed) ]
- Host: GitHub
- URL: https://github.com/jkl404/toggle
- Owner: JKL404
- License: mit
- Created: 2020-10-14T03:43:17.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-11T12:29:22.000Z (over 2 years ago)
- Last Synced: 2025-03-17T05:05:43.085Z (7 months ago)
- Topics: pip-package, python, python-package, python-string-maupulation, python3-library, string-operations
- Language: Python
- Homepage: https://github.com/JKL404/Toggle.git
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Toggle
Toggle is a python package for string to toggle the given string.[](https://pypi.org/project/Toggle/)
[](https://pypi.org/project/Toggle/)## Installing
Install and update using [pip](https://pypi.org/project/Toggle/):
```bash
pip install git+https://github.com/JKL404/Toggle.git
#or
pip install Toggle```
**Running:**
```
from Toggle.Toggle import ToggleToggle("My StriNg",choice) #default choice is 0
Toggle(String,Choice,Speed) #with slow typing if you don't want use slow typing ignore speed parameter
```**Syntax:**
```
Toggle(string, choice, speed)
```
**Example:**
```
Toggle("JokER beautiful",0)
```
## ***Choice Option:***
__________________
* ***(0): Default***
- **output:** jOKer BEAUTIFUL* ***(1): Toggle with lower_UPPER_lower_UPPER ..***
- **output:** jOkEr BeAuTiFuL* ***(2): Toggle with UPPER_lower_UPPER_lower ....***
- **output:** JoKeR bEaUtIfUl* ***(3): Toggle with lower_UPPER_UPPER lower_UPPER_UPPER ....***
- **output:** jOKER bEAUTIFUL* ***(4): Toggle with UPPER_lower_lower UPPER_lower_lower ....***
- **output:** Joker Beautiful
* ***(5): Same Text***
- **output:** JokER beautiful
____________________________
## ***Speed Option:***
__________________
**Typing speed is between 1 to 1000****Example:**
```
Toggle(string, choice, 50)
```
____________________________
## ***Thanks :blush:***
:heartbeat: Nakali :kissing_heart:
PM :heartpulse: