Model Jacket
Model Jacket is a lightweight framework that wraps any ML model with a FastAPI server, Docker image, Prometheus metrics, and Kubernetes Helm chart—so you can go from model file ➜ production endpoint in minutes.
Quick Start
pip install -e .
# Train or load a model and save as TorchScript
python export_model.py # produces model.pt
jacket build --framework torch --model-path model.pt --tag v1
docker run -p 8000:8000 model-jacket:v1
curl -X POST http://localhost:8000/predict -H "Content-Type: application/json" -d '{"input_data": [[1,2,3]]}'
Features
- 🔌 Framework‑agnostic (Torch & ONNX out of the box)
- 🐳 One‑command containerization via
jacket build - ⚡ Low‑latency FastAPI server with async I/O
- 📈 Built‑in Prometheus metrics and
/healthzendpoint - ☸️ Production-ready Helm chart with HPA
- 🛡️ CI/CD GitHub Action for automatic build & deploy
Feel free to star ⭐, fork 🔱, and contribute! :rocket:
Release files for model-jacket 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| model_jacket-0.2.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| model_jacket-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / model_jacket-0.2.0.tar.gz
| Download URL | model_jacket-0.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f155546cb1f7290f1420a22e99948ea04ea92f4c7b9162fd502e427339c59757
|
|
BLAKE2b-256 checksum How to use checksums |
c415bf2cb6f251a1f73089d8d8274985fa8c46124f09108d47f3b87d402f9481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|
Release files / model_jacket-0.2.0-py3-none-any.whl
| Download URL | model_jacket-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95c94ba8569340ab3cd6588427d0eb81f3b5fb9c30eeefb27717e818abd3e601
|
|
BLAKE2b-256 checksum How to use checksums |
0e4c04b47acc8a7947960fa36a877c2955af49da36a8b840661cc8088d80a302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.17
|