Lightweight Python environment wrapper (Docker alternative using venv)
Project description
🏗️ Pygantry
The ultra-lightweight Python container engine.
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
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
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 — a quiet rebellion against digital waste.
💙 Support
If you use and value this tool, consider supporting its development:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygantry-1.2.0.tar.gz.
File metadata
- Download URL: pygantry-1.2.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb5a6004b261966c0df5c357c0d3cb51de4aee0c18bdb3a54e6b18cb1e05fe76
|
|
| MD5 |
035477db50c00e0669e064ef45b554ae
|
|
| BLAKE2b-256 |
9a0354748e1419a8fd44b7724dd31d88cef8d02db77f24cb16c5d2f153e98628
|
File details
Details for the file pygantry-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pygantry-1.2.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
777cb801e7c0240a207960d3d731dc2342d6184f4013cdb6c7f9781b467915f7
|
|
| MD5 |
78cd2e96533653776bb3e1a5bb1dedf2
|
|
| BLAKE2b-256 |
5c7d6ccacccef4bab58c539e0b8133ef045104573ed17499ab3621cec228aa78
|