Metadata-Version: 2.1
Name: Clien-karjakak
Version: 0.1.7
Summary: Clien is a tool for developer to create encrypted password.
Home-page: UNKNOWN
Author: karjakak
Author-email: kakkarja.github@gmail.com
License: BSD3 License
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: MacOS X
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Clien [cli-environment]
## Tool to help developer to create encrypted password
### [BETA-Development]

## Installation
```
pip install Clien-karjakak
```
## Usage
**Create password that set to environment variable in encrypted mode.**
```Console
clien -c # Will launch a tkinter Entry to show hidden for data.
```
**Read encrypted variable's data.**
**In Windows:**
```Console
clien -r %VAR_DATA% # Will launch tkinter Entry for password to decrypt encryption.
```
**In MacOS X:**
```Terminal
clien -r $VAR_DATA
```
**If use echo, the data will come out encrypted data.**
**In Windows:**
```Console
echo %CLIENTEST%
pjaaaaaaa1gwrvehitccde2bya9fubc7fcoifbm7k

clien -r %CLIENTEST% # After key-in password
The best is yet to come
```
**In MacOS X:**
```Terminal
echo $CLIENTEST
pjaaaaaaa1gwrvehitccde2bya9fubc7fcoifbm7k

clien -r $CLIENTEST
The best is yet to come
```
**TAKE NOTE:**
* **Wrong password will either raise an error.**
* **Please do not forget your passcode.**

**Usage in script:**
```Python
from clien import cmsk, reading, insdata, pssd

# Encrypting to environment variable
cmsk("data that will be encrypted", "VAR_NAME", "passcode")

# For decrypting
reading(os.environ['VAR_NAME'], "passcode")

# For interactive usage using CLI or GUI program.
GetData = insdata()
cmsk(GetData[0], GetData[2], Getdata[1])

ReadData = pssd()
reading(os.environ['VAR_NAME'], ReadData)
```

## Notes
* **Works in MacOs X.**
* **This package is used in Ezpub-karjakak [as dependency] for encrypting token.**
* **Is best use for any developer that require free-hassle of creating environment variable.**
* **Is save from prying eyes in case "echo" is used.**



