pyducttape


Namepyducttape JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/bpradana/ducttape
SummaryPackage, encrypt and obfuscate Python scripts
upload_time2023-12-11 07:29:01
maintainer
docs_urlNone
authorMichael Williamson, Bintang Pradana Erlangga Putra
requires_python>=3.5
licenseBSD-2-Clause
keywords
VCS
bugtrack_url
requirements astor pycryptodome
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DuctTape
DuctTape is a tool for packaging, encrypting, and obfuscating your python scripts.
It is a fork of [stickytape](https://github.com/mwilliamson/stickytape) with added encryption and obfuscation features.

## Features
- Package your python scripts into a single file
- Encrypt your python scripts using RSA
- Obfuscate your python scripts

## Installation
You can install DuctTape from source:
```bash
$ git clone https://github.com/bpradana/ducttape.git
$ cd ducttape
$ python setup.py install
```

## Usage
### Generate RSA key pair
This will generate `private.pem` and `public.pem` in your current directory
```bash
$ ducttape --keygen
```
### Encrypt
```bash
$ ducttape entrypoint.py --public-key=your_public_key.pem > encrypted.py
```
### Running encrypted script
make sure you have `private.pem` in your current directory
```bash
$ python encrypted.py
```

## Example
You can find an example of original script [here](example/hello) and the ducttaped one [here](example/ducttaped.py), but you won't be able to run it because it's encrypted with my public key.

To run the example, you need to generate your own key pair and encrypt the script with your public key.
```bash
$ ducttape --keygen
$ ducttape example/hello/main.py --public-key=public.pem > example/ducttaped.py
$ python example/ducttaped.py
```

## License
DuctTape is licensed under the [BSD 2-Clause License](LICENSE)

## Credits
DuctTape is a fork of [Michael Williamson](https://github.com/mwilliamson)'s amazing project, [stickytape](https://github.com/mwilliamson/stickytape)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bpradana/ducttape",
    "name": "pyducttape",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "",
    "author": "Michael Williamson, Bintang Pradana Erlangga Putra",
    "author_email": "mike@zwobble.org, work.bpradana@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/cc/c0/9bfef32a3fdcd9580fd9338f482d2c46be53633edcbd1bf939c92480756d/pyducttape-0.0.2.tar.gz",
    "platform": null,
    "description": "# DuctTape\nDuctTape is a tool for packaging, encrypting, and obfuscating your python scripts.\nIt is a fork of [stickytape](https://github.com/mwilliamson/stickytape) with added encryption and obfuscation features.\n\n## Features\n- Package your python scripts into a single file\n- Encrypt your python scripts using RSA\n- Obfuscate your python scripts\n\n## Installation\nYou can install DuctTape from source:\n```bash\n$ git clone https://github.com/bpradana/ducttape.git\n$ cd ducttape\n$ python setup.py install\n```\n\n## Usage\n### Generate RSA key pair\nThis will generate `private.pem` and `public.pem` in your current directory\n```bash\n$ ducttape --keygen\n```\n### Encrypt\n```bash\n$ ducttape entrypoint.py --public-key=your_public_key.pem > encrypted.py\n```\n### Running encrypted script\nmake sure you have `private.pem` in your current directory\n```bash\n$ python encrypted.py\n```\n\n## Example\nYou can find an example of original script [here](example/hello) and the ducttaped one [here](example/ducttaped.py), but you won't be able to run it because it's encrypted with my public key.\n\nTo run the example, you need to generate your own key pair and encrypt the script with your public key.\n```bash\n$ ducttape --keygen\n$ ducttape example/hello/main.py --public-key=public.pem > example/ducttaped.py\n$ python example/ducttaped.py\n```\n\n## License\nDuctTape is licensed under the [BSD 2-Clause License](LICENSE)\n\n## Credits\nDuctTape is a fork of [Michael Williamson](https://github.com/mwilliamson)'s amazing project, [stickytape](https://github.com/mwilliamson/stickytape)\n",
    "bugtrack_url": null,
    "license": "BSD-2-Clause",
    "summary": "Package, encrypt and obfuscate Python scripts",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/bpradana/ducttape"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a5bdad4b87b90543ae20459da30a1609beef6fffbad1e56ac49389444fb0ec7",
                "md5": "e93631a79090e0e7f8c726ffa4ebfac5",
                "sha256": "ebce32ac99de2fc86eb5d677369dc0bce27e86ae301854dadc06a8e9f6b9e685"
            },
            "downloads": -1,
            "filename": "pyducttape-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e93631a79090e0e7f8c726ffa4ebfac5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 10285,
            "upload_time": "2023-12-11T07:29:00",
            "upload_time_iso_8601": "2023-12-11T07:29:00.135617Z",
            "url": "https://files.pythonhosted.org/packages/3a/5b/dad4b87b90543ae20459da30a1609beef6fffbad1e56ac49389444fb0ec7/pyducttape-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ccc09bfef32a3fdcd9580fd9338f482d2c46be53633edcbd1bf939c92480756d",
                "md5": "a53bb4acd921b107d824b733a9ab3bee",
                "sha256": "0d160585f327f8e79566752b5a12419efc24734f11008bb70694d03e633e92ce"
            },
            "downloads": -1,
            "filename": "pyducttape-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a53bb4acd921b107d824b733a9ab3bee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 9559,
            "upload_time": "2023-12-11T07:29:01",
            "upload_time_iso_8601": "2023-12-11T07:29:01.740027Z",
            "url": "https://files.pythonhosted.org/packages/cc/c0/9bfef32a3fdcd9580fd9338f482d2c46be53633edcbd1bf939c92480756d/pyducttape-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-11 07:29:01",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bpradana",
    "github_project": "ducttape",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "astor",
            "specs": [
                [
                    "==",
                    "0.8.1"
                ]
            ]
        },
        {
            "name": "pycryptodome",
            "specs": [
                [
                    "==",
                    "3.19.0"
                ]
            ]
        }
    ],
    "lcname": "pyducttape"
}
        
Elapsed time: 0.18577s