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.1.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.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oceancrow_redpill-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 42daa480dd64f0d1bbfeb2e0597b4bff7e3c21dafc711c7524a300114e1094ee
MD5 b3dbe8e8cd1964eee9f44f140f5eaa56
BLAKE2b-256 1dce0db9f1ca0eabf5e8a4dad5e0d0fbae8404d01fceaeb685e8c27daab436f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for oceancrow_redpill-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e62ebf6d051018ba0da37519a1de2091612568e78504275705f11484e2b35d7a
MD5 047d44e274110bf2e507affd50d0b36f
BLAKE2b-256 3eaf94b5125360a88009102ea6c92397dcd9c52e8da6010b436daf61191efd34

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