Metadata-Version: 2.1
Name: diec
Version: 1.3
Summary: A tool that encodes text and provides a key for decoding!
Home-page: https://github.com/wfxey/diec
Download-URL: https://github.com/D-I-Projects/diec/archive/refs/tags/v1.3.tar.gz
Author: D&I
Author-email: projectsdi02@gmail.com
License: MIT
Keywords: diec,encoding,decoding
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: binaryconvert

<div align="center">
  
# Diec

[![License](https://img.shields.io/badge/License-MIT-blue)](https://github.com/D-I-Projects/diec#license)  [![PyPi](https://img.shields.io/badge/PyPi%20Link-FFFF00)](https://pypi.org/project/diec/)  <a href="https://github.com/D-I-Projects/diec/blob/master/CONTRIBUTING.md"><img src="https://img.shields.io/github/contributors-anon/D-I-Projects/diec" alt="Contributors badge" /></a>  

```pip install diec``` 

</div>

A tool that encodes text and give out a key, that you can decode with this program too!

## Installation

```bash
pip install diec
```

# Example

<hr>

## encode()

```python
from diec.encoder import encode

encode("I love python and I love to learn new things here too! <3")
```
### Output

The Key you created : <a href="https://github.com/D-I-Projects/diec/blob/main/diec_example/key.diec">key.diec</a>

The encoded text : <a href="https://github.com/D-I-Projects/diec/blob/main/diec_example/encoded.diec">encoded.diec</a>

**Both of them will apear in your current directory**

<hr>

## decode()

```python
from diec.decoder import decode

decode() #The key.diec and encoded.diec file have to be in the same directory as the file that runs that command.
```
### Output
```bash
I love python and I love to learn new things here too! <3
```
<hr>
