An open API service indexing awesome lists of open source software.

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) ]

Awesome Lists containing this project

README

          

# Toggle
Toggle is a python package for string to toggle the given string.

[![version](https://img.shields.io/badge/version-1.1.3-yellow.svg)](https://pypi.org/project/Toggle/)
[![Build Status](https://travis-ci.org/AlexIoannides/py-package-template.svg?branch=master)](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 Toggle

Toggle("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: