Metadata-Version: 2.4
Name: pygantry
Version: 1.2.0
Summary: Lightweight Python environment wrapper (Docker alternative using venv)
Author-email: FBF / erabytse <support@docudeeper.com>
License-Expression: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: typer
Requires-Dist: pyyaml
Requires-Dist: rich
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Dynamic: license-file

# 🏗️ Pygantry
**The ultra-lightweight Python container engine.**

[![CI](https://github.com/erabytse/Pygantry/actions/workflows/ci.yml/badge.svg)](https://github.com/erabytse/Pygantry/actions/workflows/ci.yml)
[![PyPI version](https://badge.fury.io/py/pygantry.svg)](https://pypi.org/project/pygantry/)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Docker-like simplicity for Python projects — without the overhead.**

⚡ Lightweight | 🚀 Fast | 📦 Portable | 🐍 Python-Only

Why ship a whole Linux OS with Docker when you only need a Python environment? 
**Pygantry** packages your app and its dependencies into a portable, relocatable "Gantry" that works anywhere.

## 🚀 Quick Start

```cmd

git clone https://github.com/erabytse/Pygantry.git
cd Pygantry

:: Windows (no installation needed)
1. **Init:** `pyg init --name my_app`
2. **Build:** `pyg build`
3. **Run:** `pyg run`
4. **Ship:** `pyg ship` -> Get a lightweight ZIP and send it!

```

## 🌟 Why Pygantry?
- **Small:** 15MB vs 500MB+ for Docker.
- **Simple:** No daemon, no sudo, just Python.
- **Portable:** Move your folder anywhere, it just works.

🤔 Pygantry?

| Docker                        | Pygantry |
|-------------------------------|----------|
| ~500MB minimum                | ~6KB core |
| Requires Docker Desktop       | Pure Python |
| Complex YAML config           | Simple Gantryfile |
| Linux-first                   | Windows + Linux + macOS |
| Overkill for simple scripts   | Perfect for Python projects |

**Pygantry is NOT a Docker replacement.** It's the right tool for Python-only projects that don't need containerization.




## ⚠️ Honest Limitations

Feature                            Status

✅ Works on same machine           Fully supported

⚠️ Relocation to another machine   Requires same Python version installed on target

❌ Full Docker replacement         Not a security sandbox — use for deployment simplicity only


💡 Philosophy: Pygantry solves deployment friction, not security isolation. Perfect for internal tools, prototypes, and edge devices where Docker is too heavy.


### 📦 Installation

```bash
pip install pygantry
pyg --help
```

Create a Project
```
pyg init --name my_app
cd my_app
```

Build Environment
```
pyg build
```

Run Application
```
pyg run
```

Ship for Deployment
```
pyg ship
```
That's it! No Docker, no complex config, just Python.

## 🌍 Community

⭐ Star if you like lightweight Python tools!
🐞 Issues welcome — we respond within 24h
📜 MIT License — free for commercial use


Pygantry v1.2 — Simple by design
Part of **[erabytse](https://erabytse.github.io)** — a quiet rebellion against digital waste.

---

## 💙 Support 

If you use and value this tool, consider supporting its development:  
[![Sponsor](https://img.shields.io/badge/sponsor-erabytse-181717?logo=github)](https://github.com/sponsors/takouzlo)


[![Python](https://img.shields.io/badge/Python-3.13-blue)](https://python.org)
[![Flask](https://img.shields.io/badge/Flask-Web_Framework-green)](https://flask.palletsprojects.com)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue)](https://typescriptlang.org)
[![AI](https://img.shields.io/badge/AI-ML-orange)](https://pytorch.org)
[![Founder](https://img.shields.io/badge/Founder-erabytse-purple)](https://github.com/erabytse)
