cryptionpy


Namecryptionpy JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/ByteBreach/cryptionpy
SummaryA package for encrypting and decrypting Python files using base64 or emoji obfuscation.
upload_time2024-07-25 14:22:24
maintainerNone
docs_urlNone
authorMrFidal
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cryptionpy 1.0.0

`cryptionpy` is a Python package designed for easy encryption and decryption of Python files using either base64 or emoji obfuscation methods. With `cryptionpy`, you can secure your source code or obfuscate it for various purposes.

## Benefits

- **Easy to Use**: Simple command-line interface and Python module functionality.
- **Two Encryption Methods**: Choose between base64 or emoji obfuscation for your needs.
- **Flexible**: Works as both a command-line tool and a Python module.
- **Efficient**: Quickly encrypt and decrypt files with minimal setup.

## Installation

You can install the package using pip:

```bash
pip install cryptionpy
```

## Usage

### As a Command-Line Tool

#### Encryption

```bash
cryptionpy <input_file> <output_file> <method>
```

- method
    * emoji
    * base64

#### Decryption

```bash
cryptionpy <input_file> <output_file> base64 --decrypt
```

- `<input_file>`: The Python file you want to encrypt or decrypt.
- `<output_file>`: The file where the encrypted or decrypted code will be saved.
- `<method>`: The encryption method, either `base64` or `emoji`.
- `--decrypt`: Optional flag to decrypt the file instead of encrypting.

### As a Module

#### Encryption

```python
from cryptionpy import encrypt_file

if encrypt_file('input_file.py', 'output_file.py', 'base64'):
    print("Encrypted")
else:
    print("Not Encrypted")
```

#### Decryption

```python
from cryptionpy import decrypt_file

if decrypt_file('input_file.py', 'output_file.py', 'base64'):
    print("Decrypted")
else:
    print("Not Decrypted")
```

## Examples

### Command-Line

For Base64 encryption:

```bash
cryptionpy input_file.py output_file.py base64
```

For Base64 decryption:

```bash
cryptionpy input_file.py output_file.py base64 --decrypt
```

For Emoji encryption:

```bash
cryptionpy input_file.py output_file.py emoji
```

### As a Module

#### Encryption

```python
from cryptionpy import encrypt_file

if encrypt_file('input_file.py', 'output_file.py', 'base64'):
    print("Encrypted")
else:
    print("Not Encrypted")
```

#### Decryption

```python
from cryptionpy import decrypt_file

if decrypt_file('input_file.py', 'output_file.py', 'base64'):
    print("Decrypted")
else:
    print("Not Decrypted")
```

## Benefits

- **Enhanced Security**: Protect your source code from unauthorized access or tampering.
- **Versatility**: Use either base64 or emoji obfuscation based on your needs.
- **Ease of Use**: Integrate easily into your workflow, whether via CLI or programmatically.

## Thanks

Thank you for using `cryptionpy`. Your feedback and contributions are greatly appreciated! If you encounter any issues or have suggestions for improvements, please let us know.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ByteBreach/cryptionpy",
    "name": "cryptionpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "MrFidal",
    "author_email": "mrfidal@proton.me",
    "download_url": "https://files.pythonhosted.org/packages/0c/11/21165a8c0c980dc20cf14df8e930bfcefc320b322a9930cd7f14af046673/cryptionpy-1.0.0.tar.gz",
    "platform": null,
    "description": "# cryptionpy 1.0.0\r\n\r\n`cryptionpy` is a Python package designed for easy encryption and decryption of Python files using either base64 or emoji obfuscation methods. With `cryptionpy`, you can secure your source code or obfuscate it for various purposes.\r\n\r\n## Benefits\r\n\r\n- **Easy to Use**: Simple command-line interface and Python module functionality.\r\n- **Two Encryption Methods**: Choose between base64 or emoji obfuscation for your needs.\r\n- **Flexible**: Works as both a command-line tool and a Python module.\r\n- **Efficient**: Quickly encrypt and decrypt files with minimal setup.\r\n\r\n## Installation\r\n\r\nYou can install the package using pip:\r\n\r\n```bash\r\npip install cryptionpy\r\n```\r\n\r\n## Usage\r\n\r\n### As a Command-Line Tool\r\n\r\n#### Encryption\r\n\r\n```bash\r\ncryptionpy <input_file> <output_file> <method>\r\n```\r\n\r\n- method\r\n    * emoji\r\n    * base64\r\n\r\n#### Decryption\r\n\r\n```bash\r\ncryptionpy <input_file> <output_file> base64 --decrypt\r\n```\r\n\r\n- `<input_file>`: The Python file you want to encrypt or decrypt.\r\n- `<output_file>`: The file where the encrypted or decrypted code will be saved.\r\n- `<method>`: The encryption method, either `base64` or `emoji`.\r\n- `--decrypt`: Optional flag to decrypt the file instead of encrypting.\r\n\r\n### As a Module\r\n\r\n#### Encryption\r\n\r\n```python\r\nfrom cryptionpy import encrypt_file\r\n\r\nif encrypt_file('input_file.py', 'output_file.py', 'base64'):\r\n    print(\"Encrypted\")\r\nelse:\r\n    print(\"Not Encrypted\")\r\n```\r\n\r\n#### Decryption\r\n\r\n```python\r\nfrom cryptionpy import decrypt_file\r\n\r\nif decrypt_file('input_file.py', 'output_file.py', 'base64'):\r\n    print(\"Decrypted\")\r\nelse:\r\n    print(\"Not Decrypted\")\r\n```\r\n\r\n## Examples\r\n\r\n### Command-Line\r\n\r\nFor Base64 encryption:\r\n\r\n```bash\r\ncryptionpy input_file.py output_file.py base64\r\n```\r\n\r\nFor Base64 decryption:\r\n\r\n```bash\r\ncryptionpy input_file.py output_file.py base64 --decrypt\r\n```\r\n\r\nFor Emoji encryption:\r\n\r\n```bash\r\ncryptionpy input_file.py output_file.py emoji\r\n```\r\n\r\n### As a Module\r\n\r\n#### Encryption\r\n\r\n```python\r\nfrom cryptionpy import encrypt_file\r\n\r\nif encrypt_file('input_file.py', 'output_file.py', 'base64'):\r\n    print(\"Encrypted\")\r\nelse:\r\n    print(\"Not Encrypted\")\r\n```\r\n\r\n#### Decryption\r\n\r\n```python\r\nfrom cryptionpy import decrypt_file\r\n\r\nif decrypt_file('input_file.py', 'output_file.py', 'base64'):\r\n    print(\"Decrypted\")\r\nelse:\r\n    print(\"Not Decrypted\")\r\n```\r\n\r\n## Benefits\r\n\r\n- **Enhanced Security**: Protect your source code from unauthorized access or tampering.\r\n- **Versatility**: Use either base64 or emoji obfuscation based on your needs.\r\n- **Ease of Use**: Integrate easily into your workflow, whether via CLI or programmatically.\r\n\r\n## Thanks\r\n\r\nThank you for using `cryptionpy`. Your feedback and contributions are greatly appreciated! If you encounter any issues or have suggestions for improvements, please let us know.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A package for encrypting and decrypting Python files using base64 or emoji obfuscation.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/ByteBreach/cryptionpy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ad8c1d060329a3ad790bd580eb45c3ff647df0847e0d6223e585fab25ba2e2de",
                "md5": "9c5b4a45324ee99e18c19b72c1f25cc9",
                "sha256": "8fe23309475a229d97a55bc5d233fdee3f91e6c683a79fd17881eb24bb9fb12e"
            },
            "downloads": -1,
            "filename": "cryptionpy-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9c5b4a45324ee99e18c19b72c1f25cc9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5143,
            "upload_time": "2024-07-25T14:22:21",
            "upload_time_iso_8601": "2024-07-25T14:22:21.839357Z",
            "url": "https://files.pythonhosted.org/packages/ad/8c/1d060329a3ad790bd580eb45c3ff647df0847e0d6223e585fab25ba2e2de/cryptionpy-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c1121165a8c0c980dc20cf14df8e930bfcefc320b322a9930cd7f14af046673",
                "md5": "92f8a1371da29c8d5e7a72b7b6dad780",
                "sha256": "82420a04f3b2ddf7c301a370fcd9660b6e266c4bfc5be07c5e26f92e4be867b3"
            },
            "downloads": -1,
            "filename": "cryptionpy-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "92f8a1371da29c8d5e7a72b7b6dad780",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4532,
            "upload_time": "2024-07-25T14:22:24",
            "upload_time_iso_8601": "2024-07-25T14:22:24.328618Z",
            "url": "https://files.pythonhosted.org/packages/0c/11/21165a8c0c980dc20cf14df8e930bfcefc320b322a9930cd7f14af046673/cryptionpy-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-25 14:22:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ByteBreach",
    "github_project": "cryptionpy",
    "github_not_found": true,
    "lcname": "cryptionpy"
}
        
Elapsed time: 0.47594s