Metadata-Version: 2.4
Name: setupit
Version: 0.8.0
Summary: The ultimate Military-Grade autonomous DevOps CI/CD pipeline with Pydantic shield and AES-256 secrets obfuscation.
Author: Ilja Ivanov
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.0.0
Requires-Dist: cryptography>=41.0.0
Requires-Dist: build>=1.0.0
Requires-Dist: twine>=4.0.0
Requires-Dist: wheel>=0.40.0
Requires-Dist: setuptools>=61.0.0
Dynamic: license-file

# SetupIt 🚀

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

---

## 🧬 How It Works

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

---

## 🛠️ Project Structure

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

```text
setupit/
├── pyproject.toml     # Enterprise metadata configuration (Triple 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 + Triple-Gateway engine
```

---

## 🚀 Execution Guide

### 1. Global Installation
Install the official stable release of `setupit` directly from PyPI into your global system environment [1.2]:
```powershell
pip install setupit
```

### 2. Mode 1: Interactive Stealth Deploy (Human-Centric)
Trigger your autonomous crypto-rocket with **zero arguments** [1.2]:
```powershell
setupit
```
The terminal will securely prompt you for your secrets using an **invisible, secure input stream** [1.2].

### 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** (`~`) [1.2]:

```json
{
    "token": "pypi-AgEIcHlwaS5vcmcCJD...",
    "master_key": "CyberLogsMasterKey2026SecureToRi"
}
```
Then simply execute the automated trigger command from any directory [1.2]:
```powershell
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 [1.2]:
```powershell
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>
```

---

## 📊 Pipeline Chronograph Logs (v0.8.0)

### Execution log for standard `setupit` trigger (with active Auto-Purge):
```text
🔒 [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 14 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.8.0)
```

### Execution log for advanced `setupit-pip` wrapper:
```text
PS C:\Users\User\Проекты> setupit-pip install pydantic
Requirement already satisfied: pydantic in c:\users\user\appdata\local\programs\python\python312\lib\site-packages (2.13.4)
```

## 📄 License
This project is fully distributed under the **MIT License** [1.2].
