crpyt-0.0.2
توضیحات
Encrypt files within a tree using GPG
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | crpyt-0.0.2 |
| نام | crpyt |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | MolassesLover |
| ایمیل نویسنده | 60114762+MolassesLover@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/MolassesLover/Crpyt |
| آدرس اینترنتی | https://pypi.org/project/crpyt/ |
| مجوز | MIT |
# Cr**py**t
> Pronounced 'crypt.'
[](https://ko-fi.com/molasses)
[](https://www.patreon.com/molasseslover)
[](https://pypi.org/project/crpyt)
A very simple Python script that calls Shell, allowing you
to encrypt files within a tree using GPG. The script is
hardcoded to encrypt files with 256 bit [AES](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard).
## Usage
In this example, the [`test/`](https://github.com/MolassesLover/Crpyt/tree/master/test) directory is **encrypted**, leaving only the `.gpg` files:
```sh
➜ python3 src/cli.py --path test --encrypt --delete_original --key #$MY_GPG_KEY
# Encrypting pets/dogs/inu.txt
# Encrypting pets/cats/neko.txt
# Encrypted 2 files.
```
Then the tree is **decrypted**, removing the `.gpg` files:
```sh
➜ python3 src/cli.py --path test --decrypt --delete_original --key #$MY_GPG_KEY
# Decrypting pets/dogs/inu.txt.gpg
# Deleting pets/dogs/inu.txt.gpg
# Decrypting pets/cats/neko.txt.gpg
# Deleting pets/cats/neko.txt.gpg
# Decrypted 2 files.
```
## Installation
The [`src/cli.py`](https://github.com/MolassesLover/Crpyt/blob/master/src/cli.py) can be installed as the
`crpyt` command using `pip`.
You can install it from [GitHub](https://github.com/MolassesLover/Crpyt):
```sh
➜ pip install git+https://github.com/MolassesLover/Crpyt.git
```
Alternatively, from [PyPi](https://pypi.org/project/crpyt):
```sh
➜ pip install crpyt
```
## License
All files within this repository are licensed under the
[Apache v2.0 license](https://github.com/MolassesLover/Crpyt/blob/master/LICENSE-APACHE.md) or
[MIT license](https://github.com/MolassesLover/Crpyt/blob/master/LICENSE-MIT.md) at your choice.
## Contributing
Contributions are open, just make sure to sign your
commits, otherwise, your changes will not be merged.
نیازمندی
| مقدار | نام |
|---|---|
| - | black |
| - | colorama |
| - | SCons |
نحوه نصب
نصب پکیج whl crpyt-0.0.2:
pip install crpyt-0.0.2.whl
نصب پکیج tar.gz crpyt-0.0.2:
pip install crpyt-0.0.2.tar.gz