This release is a pre-release and may not be stable for production use.
GateCode - Secure Your Python Code 🔒
Python's simplicity and flexibility come with a trade-off: source code is easily exposed when deployed. GateCode provides a secure solution to this long-standing problem by enabling you to encrypt your Python scripts, allowing deployment without revealing the source code.
Key Features 🔍
- Secure Code Encryption: Protect your intellectual property by encrypting your Python scripts.
- Easy Integration: Minimal effort required to integrate the encrypted package into your projects.
- Cross-Platform Deployment: Deploy your encrypted code to any environment without exposing its contents.
How It Works ⚙️
1. Prepare Your Python Script 🔧
Suppose you have a Python file named my_awesome_code.py containing sensitive logic:
# secret algorithm with secret numbers
def func(a, b):
return a * 31 + b * 71
2. Encrypt Your Script 🛡️
Go to GateCode and upload your Python script. The system will generate an encrypted package for you, which can be safely deployed.
Once encrypted, you will receive a file, for example: my_valuable_code.
3. Integrate Encrypted Package 🔐
Use the following script to load and use your encrypted code:
import os
from gatecode import add_dp_package
# Pass the absolute path of the downloaded file to add_dp_package
here = os.path.dirname(os.path.abspath(__file__))
_ = add_dp_package(os.path.join(here, 'my_valuable_code'))
# Import and use `my_awesome_code` (adjust it according to your Python file's name)
import my_awesome_code
# Example usage
print(my_awesome_code.func(1, 2))
Example Use Case 📊
Imagine you’ve developed a proprietary algorithm that you need to deploy to your clients. Using GateCode:
- Encrypt the Python script containing your algorithm.
- Provide the encrypted package to your client.
- Your client integrates the package without accessing the original source code.
This ensures that your intellectual property is secure while maintaining usability.
Why GateCode? 🌎
- Protect Sensitive Logic: Prevent unauthorized access to your code.
- Simple Deployment: No complicated setup or runtime requirements.
- Peace of Mind: Focus on your work without worrying about code theft.
Get Started Now 🏃♂️
- Visit GateCode.
- Upload your Python script.
- Download your encrypted package and deploy it securely.
Secure your Python code with GateCode today!
Metadata
Release files for gatecode 0.0.1.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gatecode-0.0.1.dev2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / gatecode-0.0.1.dev2-py3-none-any.whl
| Download URL | gatecode-0.0.1.dev2-py3-none-any.whl |
|---|---|
| Size | 39.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c8d24bbcb7da673a02cfabfa3ddb9ae338625475105c559c7f311929de5d90e
|
|
BLAKE2b-256 checksum How to use checksums |
25816be282f098018db87716218289d8e63db23f9e373fbc62ddb9607cf8dfb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.31.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.66.5 CPython/3.8.10
|