Skip to main content

🏗️ Pygantry

The ultra-lightweight Python container engine.

CI PyPI version Python 3.10+ License: 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

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:
Sponsor

Python Flask TypeScript AI Founder

Release files for pygantry 1.2.0

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

Source distribution (sdist)

Source distribution for pygantry 1.2.0
File Size Uploaded
pygantry-1.2.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pygantry 1.2.0
File Interpreter ABI Platform
pygantry-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / pygantry-1.2.0.tar.gz

Download URL pygantry-1.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cb5a6004b261966c0df5c357c0d3cb51de4aee0c18bdb3a54e6b18cb1e05fe76
BLAKE2b-256 checksum
How to use checksums
9a0354748e1419a8fd44b7724dd31d88cef8d02db77f24cb16c5d2f153e98628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release files / pygantry-1.2.0-py3-none-any.whl

Download URL pygantry-1.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
777cb801e7c0240a207960d3d731dc2342d6184f4013cdb6c7f9781b467915f7
BLAKE2b-256 checksum
How to use checksums
5c7d6ccacccef4bab58c539e0b8133ef045104573ed17499ab3621cec228aa78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.0.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