High-precision environment scanner and Dockerfile generator for EzDeploy.
Project description
EzDeploy CLI
A lightweight, zero-dependency local environment auto-detector for the EzDeploy platform.
The EzDeploy CLI tool is designed to be installed locally in your development environment (like your VS Code terminal). It intelligenty analyzes your current local environment, matching your OS, Python version, CUDA drivers, and exact code imports to generate perfectly locked base files for cloud deployment.
Installation
Install directly via pip inside your active virtual environment or terminal:
pip install ezdeploy-cli
(Note: The package is incredibly lightweight and utilizes only native Python standard libraries so it won't bloat your environment).
Usage
Navigate to the root directory of your Python project in your terminal:
cd /path/to/my/project
1. Simple Environment Scan (Recommended)
To scan your environment and generate a deployment metadata file (ezdeploy_env.json) that you can upload to the EzDeploy Web UI:
EzDeployCLI scan
- Scans
nvcc,nvidia-smiand localtorchlogic to find your exact CUDA drivers and GPU hardware. - Resolves your exact minor Python version (e.g.,
3.11.8). - Uses AST parsing to trace the exact libraries and system-level binaries (like
libgl1) your code needs. - Outputs:
ezdeploy_env.jsonandrequirements.txt.
2. Full Local Detection
To generate a production-ready Dockerfile and requirements.txt directly on your machine:
EzDeployCLI detect
3. Detect & Auto-Push
Generate the files and automatically push them to your repository in a single command:
EzDeployCLI detect --push
Connect to EzDeploy Cloud
The scan command is the most powerful way to use EzDeploy:
- Run
EzDeployCLI scanin your development environment (Local, Colab, or RunPod). - Download/Copy the generated
ezdeploy_env.json. - Open the EzDeploy Console.
- In the Deployment Wizard, upload the JSON file.
- EzDeploy will auto-populate every setting (Python, CUDA, Ports, and System Packages) to match your environment exactly, ensuring your deployment works on the first try!
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
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 ezdeploy_cli-0.2.0.tar.gz.
File metadata
- Download URL: ezdeploy_cli-0.2.0.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab1b376a360a0d51ce769e11dd3d6033c4d9f4d5392a692ed8c59f753cfead84
|
|
| MD5 |
8c1612d2c751f9f69db0ed8aafb7a775
|
|
| BLAKE2b-256 |
150424542ab52d0837a635cd607e34ca0defbeb3c2dd7b8d062ca414cb4bb6d6
|
File details
Details for the file ezdeploy_cli-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ezdeploy_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
230af09e206059480a43312efc794e4426f03274f800c9d1858c5d7d7a92b47d
|
|
| MD5 |
6f4c6504ba14c6093bf39e40e471da89
|
|
| BLAKE2b-256 |
8f323f0a7cdc1fb27836851a59d8633ba78f1f4c8c03365209238e4fd3fabc26
|