Skip to main content

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.

Release files for OceanCrow-RedPill 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for OceanCrow-RedPill 0.1.1
File Size Uploaded
oceancrow_redpill-0.1.1.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for OceanCrow-RedPill 0.1.1
File Interpreter ABI Platform
oceancrow_redpill-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.0 kB

Release files / oceancrow_redpill-0.1.1.tar.gz

Download URL oceancrow_redpill-0.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
42daa480dd64f0d1bbfeb2e0597b4bff7e3c21dafc711c7524a300114e1094ee
BLAKE2b-256 checksum
How to use checksums
1dce0db9f1ca0eabf5e8a4dad5e0d0fbae8404d01fceaeb685e8c27daab436f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / oceancrow_redpill-0.1.1-py3-none-any.whl

Download URL oceancrow_redpill-0.1.1-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e62ebf6d051018ba0da37519a1de2091612568e78504275705f11484e2b35d7a
BLAKE2b-256 checksum
How to use checksums
3eaf94b5125360a88009102ea6c92397dcd9c52e8da6010b436daf61191efd34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page