Metadata-Version: 2.1
Name: CharStripper
Version: 0.1.1
Summary: For replacing multiple characters in a text
Home-page: https://github.com/yagiziskirik/CharStripper
Author: Yagiz Iskirik
Author-email: yagiziskirik@icloud.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.md

# CharStripper
![PyPI - Downloads](https://img.shields.io/pypi/dm/charstripper) ![PyPI - License](https://img.shields.io/pypi/l/charstripper) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/charstripper) ![PyPI](https://img.shields.io/pypi/v/charstripper) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/charstripper) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/charstripper)

This program replaces multiple characters in a text and also optionally lowers it.

## Installation
```
pip install CharStripper
```

## Usage
You can import this script and use it like this:
```
from CharStripper.core import CharStripper

cs = CharStripper({'o': 'e', 'r': 't', ' ': ''}, True)
cs.strip('Bo aR L  OS')  # returns 'beatles'
```

`CharStripper` class takes one mandatory and one optional input.
- `charsDict` Gets a dictionary which replaces the dictionary keys with the dictionary values.
- `isLowercase` Is a boolean which returns the value lowercased.

After defining the class, you can call `cs.strip('YOUR_TEXT_HERE')` for every repetition.
