Skip to main content

The ultimate Military-Grade autonomous DevOps CI/CD pipeline with Pydantic shield and AES-256 secrets obfuscation.

Project description

SetupIt 🚀

The ultimate Military-Grade autonomous DevOps CI/CD pipeline with a Pydantic shield, AES-256 secrets obfuscation, Workspace Auto-Purge, and Quad-Engine CLI Automation. Designed by Ilja Ivanov (To_ri239).


🧬 How It Works

SetupIt completely automates your Python project deployment, package management, and file system initialization with high-level security:

  1. Quad Entry Points: Supports human-centric stealth deployment, headless server JSON automation, a protected pip wrapper, and an OS-level workspace initializer.
  2. Workspace Auto-Purge: Automatically detects and deletes stale dist/ and *.egg-info artifacts from previous builds using cross-platform triggers.
  3. Zero-Trace Stealth Input: Intercepts raw bytes straight from sys.stdin on the CPU level, preventing OS command-line sniffing.
  4. Pydantic Validation: Instantly verifies the master cryptographic key length (32, 64, or 128 characters) at the runtime entranc.
  5. AES-256 Obfuscation: Enshrouds your PyPI API token into an encrypted block using the symmetric Fernet cipher, protecting your RAM from dumps.
  6. Memory Purge: Instantly overwrites environment variables with garbage NONE bytes immediately after deployment, leaving RAM perfectly sterile.

🛠️ Project Structure

Ensure your separate project workspace is mapped out exactly like this:

setupit/
├── pyproject.toml     # Enterprise metadata configuration (Quad script mapping)
├── README.md          # This documentation file
├── LICENSE            # MIT License tied to Ilja Ivanov (To_ri239)
└── setupit/           # Main source package
    ├── __init__.py    # Sterile initialization module with global API export
    └── __main__.py    # The core Pydantic + AES-256 + Auto-Purge + Quad-Gateway engine

🚀 Execution Guide

1. Global Installation

Install the official stable release of setupit directly from PyPI into your global system environment:

pip install setupit

2. Mode 1: Interactive Stealth Deploy (Human-Centric)

Trigger your autonomous crypto-rocket with zero arguments:

setupit

The terminal will securely prompt you for your secrets using an invisible, secure input stream.

3. Mode 2: Headless Automated Deploy (Server/JSON-Centric)

Create a secure profile file named setup-it-settings.json inside your system User Home Directory (~):

{
    "token": "pypi-<TOKEN>",
    "master_key": "<MASTER-KEY>"
}

Then simply execute the automated trigger command from any directory:

setupit-json

4. Mode 3: Advanced Protected Pip Package Manager Wrapper

Run clean, human-readable wrapped shortcut commands over native pip routines with built-in index protection:

setupit-pip list
setupit-pip install <package_name>
setupit-pip upgrade <package_name>
setupit-pip delete <package_name>
setupit-pip info <package_name>
setupit-pip req-install <requirements.txt>
setupit-pip gen-list <output_file.txt>
setupit-pip install-spec <package> <operator> <version>

5. Mode 4: Low-Level Workspace File System Initializer

Generate directories or populate files with text payloads directly from the command line without extra templates:

setupit-init <directory_name> true
setupit-init <file_name> false <your string payload text content here>

📊 Pipeline Chronograph Logs (v0.9.0, example on Windows)

Execution log for standard setupit trigger (with active Auto-Purge):

🔒 [SetupIt]: Entering Secure Invisible Stdin Context (Twine-Style)...
🔑 Enter PyPI API Token: 
⚙️ Enter Master Key: 
⚙️ [SetupIt]: Pydantic validation PASSED (Key length: 32)
🔑 [SetupIt]: Unique Token ID: <first 15 symbols>...
✅ [SetupIt]: Done


🧹 [SetupIt]: Old builds detected. Purging 'dist' and '.egg-info' directories...
✅ [SetupIt]: Workspace is clean and sterile.


🕐 [SetupIt]: Building project...
✅ [SetupIt]: Done


🕒 [SetupIt]: Decrypting AES-256 secrets via Pydantic verified config...
✅ [SetupIt]: Done


🕙 [SetupIt]: Uploading dist via secure channel...
✅ [SetupIt]: Done


=== [SetupIt MEMORY PURGED] ===
No process can sniff active tokens anymore. RAM state: STEALTH.
  🕛🚀 [SetupIt]: Sending the project to PyPI successful! Security level: MILITARY (v0.9.0)

Execution log for low-level setupit-init engine:

PS C:\Users\User\Проекты> setupit-init my_new_module true
📁 [SetupIt-Gen]: Directory 'my_new_module' created successfully.

PS C:\Users\User\Проекты> setupit-init info.txt false Hello World! This is a secure payload.
📄 [SetupIt-Gen]: File 'info.txt' generated with secure payload.

📄 License

This project is fully distributed under the MIT License.

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

setupit-0.9.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

setupit-0.9.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file setupit-0.9.0.tar.gz.

File metadata

  • Download URL: setupit-0.9.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for setupit-0.9.0.tar.gz
Algorithm Hash digest
SHA256 89ded510c048a8d9f9db8cb523ca48f9c46ecbfce34ddb9a6ca3d3dffaed2f1c
MD5 5f7d9c0c3ff9e82d699d152f7fbeb034
BLAKE2b-256 9da781383fb755aa19be47f6c6ddab4273157b6f6ce9db7fb7b76779ccdfbd93

See more details on using hashes here.

File details

Details for the file setupit-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: setupit-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for setupit-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79dc368610ed25dfa3c4dead9051b9984b5dbcc4726b4c7115c37dba6d3b0a48
MD5 6d33f631c74c85d1d1a4a0a425b79fb7
BLAKE2b-256 99c6162a7ebdd0298d7d8874a3ffd202e9d7a1b86f2af54f1397f6aa0001cf5c

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