secure-python-code-manager

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.

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

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords

alpha-beta-network code-protection code-sharing encryption intellectual-property license-management obfuscation obfuscation-tool python python-security secure-sharing security security-tools
Last synced: 4 months ago · JSON representation ·

Repository

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.

Basic Info
  • Host: GitHub
  • Owner: alphabetanetcom
  • License: other
  • Language: Python
  • Default Branch: main
  • Homepage: https://alphabetanet.com
  • Size: 18.9 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 7
Topics
alpha-beta-network code-protection code-sharing encryption intellectual-property license-management obfuscation obfuscation-tool python python-security secure-sharing security security-tools
Created about 1 year ago · Last pushed 8 months ago
Metadata Files
Readme License Citation

README.md

Secure Python Code Manager

DOI License Python Version Cross-Platform Code Protection Secure Sharing Encryption Python Security Code Obfuscation Secure Transfer

Secure Python Code Manager is a command-line tool designed to help developers securely share and protect their Python code using the Alpha Beta Network cloud platform. It offers advanced Python code encryption, flexible licensing solutions, and multi-level source code protection through dynamic code obfuscation.

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

Table of Contents

Introduction

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.

Whether you\'re distributing scripts to clients, collaborating with colleagues, or contributing to open-source projects, this tool ensures your intellectual property remains secure through advanced code obfuscation in Python and flexible licensing options.

Key Features

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

  • Source Code Protection: Utilize multi-level protection with dynamic obfuscation, enhancing Python code security best practices.

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

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

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

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

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

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

  • Cross platform compatibility: The protected Python scripts maintain their cross-platform functionality and can be executed on any operating system (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 your Python source code to the Alpha Beta Network cloud platform. Specify allowed usage parameters such as usage period, device limits, daily usage limits, and more.

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

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

  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 is automatically 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 Python code obfuscation and secure usage through the Alpha Beta Network cloud platform

http://obfuscator.alphabetanet.com/

Installation

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

Install Required Packages

The script requires the following Python packages:

  • requests

  • psutil

  • cryptography

Install them using pip:

```bash

pip install requests psutil cryptography ``` Download the Script

Clone the repository and navigate to the project directory:

```bash

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

cd secure-python-code-manager ``` Alternatively, download the securepythoncode_manager.py script directly to your local machine.

Usage

The Secure Python Code Manager provides the following main functionalities:

Uploading Code and Creating a License

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

Command Syntax:

```bash

python securepythoncodemanager.py --upload -f /path/to/yourscript.py ``` Parameters:

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

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

Example:

```bash

python securepythoncodemanager.py --upload -f myscript.py ``` Upon successful upload, the script will provide a license key and save the protected code loader.

Updating Previously Uploaded Code

Update a previously uploaded script associated with a specific license.

Command Syntax:

```bash

python securepythoncodemanager.py --update -f /path/to/yourscript.py -l LICENSE_KEY ``` Parameters:

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

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

  • --license LICENSEKEY or -l LICENSEKEY: Specifies the license key associated with the code to update.

Example:

```bash

python securepythoncodemanager.py --update -f myscript.py -l 1234567890 ```

Retrieving License Information

Retrieve detailed information about your licenses, including status and usage data.

Command Syntax:

```bash

python securepythoncodemanager.py --license-info -l LICENSEKEYS [OPTIONS] ``` Parameters:

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

  • -l LICENSEKEYS or --license LICENSEKEYS: Specifies the license key(s) to retrieve information for. Use all to retrieve information for all licenses.

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

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

Examples:

Retrieve information for a specific license:

```bash

python securepythoncode_manager.py --license-info -l 1234567890 ``` Extend the expiration date:

```bash

python securepythoncode_manager.py --license-info -l 1234567890 --extend ```

Retrieving Service Usage Information

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

Command Syntax:

```bash

python securepythoncode_manager.py --service-usage ``` Parameters:

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

Example:

```bash

python securepythoncode_manager.py --service-usage ``` Detailed Documentation

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

Application Areas

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

  • Commercial Distribution: Safely share Python code with clients or customers, implementing Python code protection tools for sales or rentals.

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

  • Testing and Verification: Provide intermediate versions for verification and testing, including fixing bugs and adding new functionality using seamless code updates.

  • Intellectual Property Protection: Maintain control over your code to prevent unauthorized usage or copying, preserving your intellectual property.

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

Security and Best Practices

By implementing Python secure code transfer protocols, the Alpha Beta Network strives to keep code better protected during transmission. This commitment to security extends to various aspects of the platform, aiming to improve Python code security best practices.

While no system can guarantee absolute security, the Secure Python Code Manager represents an effort to empower developers to share their code with increased confidence, significantly enhancing security with new solutions that we implement.

The Local Python Code Protector Script can also be effectively used to further protect licensed source code files created by the Alpha Beta Network cloud platform (more advanced and flexible source code protection solutions such as Python Obfuscator Online and Secure Python Code Manager Script).

Contact Information

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

  • Website: https://alphabetanet.com | https://αβ.net

  • Official Telegram Channel: https://t.me/alphabetanetcom

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

License

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

Owner

  • Name: Pavel Izosimov (Alpha Beta Network)
  • Login: alphabetanetcom
  • Kind: user

🚀 Creator of αβ.net - Python Code Sharing Platform 🔒 Focused on Secure Code Transfer 🌐 Open Source Enthusiast 🔬 Research & Development in Code Security

Citation (CITATION.cff)

cff-version: 1.2.0
title: Secure Python Code Manager
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Pavel
    family-names: Izosimov
    affiliation: Alpha Beta Network
    orcid: 'https://orcid.org/0009-0004-7126-6743'
    website: 'https://alphabetanet.com'
repository-code: >-
  https://github.com/alphabetanetcom/secure-python-code-manager
url: 'https://alphabetanet.com/'
repository: >-
  https://gitlab.com/alphabetanetcom/secure-python-code-manager
repository-artifact: >-
  https://github.com/alphabetanetcom/secure-python-code-manager/releases
abstract: >-
  Secure Python Code Manager is a command-line tool designed
  to help developers securely share and protect their Python 
  code using the Alpha Beta Network cloud platform. It offers
  advanced Python code encryption, flexible licensing solutions,
  and multi-level source code protection through dynamic code
  obfuscation.
keywords:
  - secure code sharing
  - source code protection
  - python code encryption
  - code obfuscation
  - python security
  - license management
  - cloud platform
  - code protection
  - secure file transfer
  - python development
  - intellectual property protection
  - software licensing
  - code security
  - python obfuscator
  - secure distribution
version: v1.5.1-beta.3
date-released: '2024-11-03'
license-url: 'https://github.com/alphabetanetcom/secure-python-code-manager/blob/main/LICENSE.md'

GitHub Events

Total
  • Release event: 8
  • Watch event: 1
  • Delete event: 2
  • Push event: 54
  • Gollum event: 4
  • Create event: 6
Last Year
  • Release event: 8
  • Watch event: 1
  • Delete event: 2
  • Push event: 54
  • Gollum event: 4
  • Create event: 6

Dependencies

requirements.txt pypi
  • cryptography *
  • psutil *
  • requests *