Skip to main content

Transform code into a Matrix-style binary stream and secure it with digital NDAs.

Project description

OceanCrow-RedPill

Take the Red Pill—see your code in the Matrix, secure it with a vault.

Description

OceanCrow-RedPill is a Python package that transforms your Python code into a Matrix-style binary stream for visualization and obfuscation, while securing collaboration with a digital NDA system. It's designed to make coding feel like a sci-fi mission, easing the mental load for stressed coders.

Installation

pip install OceanCrow-RedPill
Usage
redpill encode my_code.py collaborator_public_key.pem
redpill visualize my_code.py
For more commands and options, see the documentation.
Features
Transform code into a Matrix-style binary stream
Secure collaboration with digital NDAs using asymmetric encryption
Visualize your codebase structure in the terminal
Integrate contributions seamlessly
**Updated `docs/readme.md`**:
Update the package name for consistency:

```markdown
# OceanCrow-RedPill Documentation

## Overview

OceanCrow-RedPill is a tool that transforms Python code into an encrypted binary stream, visualizes code structure, and secures collaboration with a digital NDA system inspired by *The Matrix* and spy-thriller aesthetics.

## Commands

### `encode`

Encode and encrypt a Python file using a collaborator's public key.

```bash
redpill encode <file> <public_key_file>


DECODE

Decode an encrypted file using your private key.
redpill decode <encrypted_code_file> <encrypted_key_file> <private_key_file>
sign
Generate a key pair to participate in secure collaboration.
redpill sign


INTEGRATE

Integrate a contribution into the main codebase at a # REDPILL_INSERT_HERE placeholder.
redpill integrate <main_file> <contrib_file>


VISUALIZE

Visualize the structure of a Python file in a tree format.
redpill visualize <file>


HOW IT WORKS

Encoding: Converts code to a binary stream and encrypts it using hybrid encryption (RSA + Fernet).
Decoding: Decrypts the binary stream back to readable code.
Signing: Generates RSA key pairs for secure sharing.
Visualization: Parses code with ast and displays its structure using rich.
Integration: Merges contributions at specified placeholders.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oceancrow_redpill-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oceancrow_redpill-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file oceancrow_redpill-0.1.0.tar.gz.

File metadata

  • Download URL: oceancrow_redpill-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for oceancrow_redpill-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc5ae141250d5475c6dc14a47f620deb59650c69b7cbefd38769ff5dee8fef52
MD5 38f70b683303971955fa4eedc79491cc
BLAKE2b-256 a22626c348db67f9052d249cf24cd6064eaa56eb21b7cf3eeecc26754674a772

See more details on using hashes here.

File details

Details for the file oceancrow_redpill-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for oceancrow_redpill-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 699061a692c4b9b415bee7f50d50040fe6c4b62d3cc7cbffc703dbb6ba46bcc6
MD5 5c73052f059cd886b725f0cfa15eecb1
BLAKE2b-256 4e9b0850a36087ba2d5ccff600b3558ac4173e017398b7f7f595a4ea9bb082c6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page