Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The Secure Python Code Manager is an innovative solution for developers looking to share Python code securely, protect their Python code, and implement Python code encryption techniques. By leveraging the Alpha Beta Network cloud platform, this tool addresses the challenges of secure code sharing and source code protection.

License

NotificationsYou must be signed in to change notification settings

alphabetanetcom/secure-python-code-manager

Repository files navigation

Secure Python Code Manager

DOILicensePython VersionCross-PlatformCode ProtectionSecure SharingEncryptionPython SecurityCode ObfuscationSecure Transfer

Secure Python Code Manager is a command-line tool designed to helpdevelopers securely share and protect their Python code usingthe Alpha Beta Network cloud platform. It offers advanced Python codeencryption, flexible licensing solutions, and multi-level source codeprotection through dynamic code obfuscation.

Note: This project is currently in Beta Testing and availablefor free.

Table of Contents

Introduction

The Secure Python Code Manager is an innovative solution fordevelopers looking to share Python code securely, protecttheir Python code, and implement Python codeencryption techniques. By leveraging the Alpha Beta Network cloudplatform, this tool addresses the challenges of secure code sharingand source code protection.

Whether you're distributing scripts to clients, collaborating withcolleagues, or contributing to open-source projects, this tool ensuresyour intellectual property remains secure through advanced codeobfuscation in Python and flexible licensing options.

Key Features

  • Secure Code Sharing: Encrypt and protect your Python scripts toprevent unauthorized access or modification.

  • Source Code Protection: Utilize multi-level protection withdynamic obfuscation, enhancing Python code security bestpractices.

  • Flexible Licensing: Create time-limited or device-specificlicenses with customizable usage parameters.

  • Seamless Code Updates: Update your code in the cloud withoutrequiring client-side reinstallation.

  • Revocable Access: Revoke or disable access to shared code at anytime.

  • Usage Monitoring: Automated monitoring and control of suspiciousactivity, including usage limits and IP restrictions.

  • Python Secure Code Transfer: Ensure your code is not stored onthe user's local machine, enhancing security.

  • Easy Integration: Implement the entire process in just one stepusing our command-line tool.

  • Cross platform compatibility: The protected Python scripts maintaintheir cross-platform functionality and can be executed on any operatingsystem (Windows, MacOS, Linux/Unix and others) where Python 3.6+ is installed.

How It Works

  1. Upload Your Code: Use the command-line tool to upload yourPython source code to the Alpha Beta Network cloud platform. Specifyallowed usage parameters such as usage period, device limits, dailyusage limits, and more.

  2. Automatic Protection: The service automatically implementsmulti-level protection using dynamic code obfuscation in Python,resulting in a license file (protected code loader) according toyour specified license parameters.

  3. Secure Distribution: Download the ready license file and use itinstead of your source code. The file performs the functionality ofyour code without exposing the source, enabling secure codesharing.

  4. Manage Licenses: Extend, update, or revoke licenses as needed.Monitor service usage and retrieve detailed license information.

  5. Automatic Deletion: Upon license expiration, your code isautomatically deleted from the cloud, ensuring continued security.

An online demo version is also available for quick testing:

Python Obfuscator Online - An online tool for cloud-based Pythoncode obfuscation and secure usage through the Alpha Beta Network cloudplatform

http://obfuscator.alphabetanet.com/

Installation

Before using the Secure Python Code Manager, ensure that youhave Python 3 installed on your system.

Install Required Packages

The script requires the following Python packages:

  • requests

  • psutil

  • cryptography

Install them using pip:

pip install requests psutil cryptography

Download the Script

Clone the repository and navigate to the project directory:

git clone https://github.com/alphabetanetcom/secure-python-code-manager.gitcd secure-python-code-manager

Alternatively, download the secure_python_code_manager.py scriptdirectly to your local machine.

Usage

The Secure Python Code Manager provides the following mainfunctionalities:

Uploading Code and Creating a License

Upload your Python script to the cloud and create a new license for it.

Command Syntax:

python secure_python_code_manager.py --upload -f /path/to/your_script.py

Parameters:

  • --upload or -u: Specifies the action to upload code.

  • --file FILE_PATH or -f FILE_PATH: Specifies the path tothe .py file to upload.

Example:

python secure_python_code_manager.py --upload -f my_script.py

Upon successful upload, the script will provide a license key and savethe protected code loader.

Updating Previously Uploaded Code

Update a previously uploaded script associated with a specific license.

Command Syntax:

python secure_python_code_manager.py --update -f /path/to/your_script.py -l LICENSE_KEY

Parameters:

  • --update or -p: Specifies the action to update code.

  • --file FILE_PATH or -f FILE_PATH: Specifies the path tothe .py file to update.

  • --license LICENSE_KEY or -l LICENSE_KEY: Specifies the license keyassociated with the code to update.

Example:

python secure_python_code_manager.py --update -f my_script.py -l 1234567890

Retrieving License Information

Retrieve detailed information about your licenses, including status andusage data.

Command Syntax:

python secure_python_code_manager.py --license-info -l LICENSE_KEYS [OPTIONS]

Parameters:

  • --license-info or -i: Specifies the action to retrieve licenseinformation.

  • -l LICENSE_KEYS or --license LICENSE_KEYS: Specifies the licensekey(s) to retrieve information for. Use all to retrieve informationfor all licenses.

  • --extend or -e: (Optional) Extends the expiration date of thespecified licenses by 24 hours.

  • --set_hwids NUMBER or -d NUMBER: (Optional) Sets the maximumnumber of hardware IDs for the specified licenses.

Examples:

Retrieve information for a specific license:

python secure_python_code_manager.py --license-info -l 1234567890

Extend the expiration date:

python secure_python_code_manager.py --license-info -l 1234567890 --extend

Retrieving Service Usage Information

Retrieve information about your service usage, including uploadedscripts and associated licenses.

Command Syntax:

python secure_python_code_manager.py --service-usage

Parameters:

  • --service-usage or -s: Specifies the action to retrieve serviceusage information.

Example:

python secure_python_code_manager.py --service-usage

Detailed Documentation

For a comprehensive guide on all functionalities, options, examples, andtroubleshooting, please refer to the Detailed Documentation.

Application Areas

The Secure Python Code Manager can be effectively applied in thefollowing areas:

  • Commercial Distribution: Safely share Python code with clientsor customers, implementing Python code protection tools forsales or rentals.

  • Collaborative Development: Share code securely with colleaguesor team members without exposing the source code.

  • Testing and Verification: Provide intermediate versions forverification and testing, including fixing bugs and adding newfunctionality using seamless code updates.

  • Intellectual Property Protection: Maintain control over yourcode to prevent unauthorized usage or copying, preservingyour intellectual property.

  • Server Infrastructure Management: Securely deploy and runprotectedPython scripts on rented servers (both virtual and physical), ensuringcode confidentiality from both datacenter providers and end clients.This enables safe automation and configuration of client servers whileprotecting your proprietary code and implementation details.

Security and Best Practices

By implementing Python secure code transfer protocols, the AlphaBeta Network strives to keep code better protected duringtransmission. This commitment to security extends to various aspects ofthe platform, aiming to improve Python code security best practices.

While no system can guarantee absolute security, the Secure PythonCode Manager represents an effort to empower developers to share theircode with increased confidence, significantly enhancing security withnew solutions that we implement.

TheLocal Python Code Protector Script can also be effectively used to furtherprotect licensed source code files created by the Alpha Beta Network cloudplatform (more advanced and flexible source code protection solutions suchasPython Obfuscator Online and Secure Python Code Manager Script).

Contact Information

If you experience issues or have questions not covered in thisdocumentation, please contact the Alpha Beta Network Research Team.

Stay connected to receive updates, provide feedback, and get earlyaccess to extended functionality.

License

© 2024 αβ.net (alphabetanet.com) - Alpha Beta Network. All RightsReserved.

About

The Secure Python Code Manager is an innovative solution for developers looking to share Python code securely, protect their Python code, and implement Python code encryption techniques. By leveraging the Alpha Beta Network cloud platform, this tool addresses the challenges of secure code sharing and source code protection.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp