A pip-inspired CLI tool for managing ML models via a Pimfile
Project description
pim-cli
pim is a CLI tool to declaratively install and manage machine learning models from a Pimfile.
THIS IS VERY MUCH IN DEVELOPMENT AT THE MOMENT WARNING
🚀 Why Pim?
Modern AI workflows require more than just installing Python packages — they depend on large pretrained models, often fetched from different frameworks (like Hugging Face, TorchVision, or Scikit-learn) with inconsistent interfaces and storage behaviors.
Pim is a lightweight, framework-agnostic CLI tool that solves this by treating models as first-class dependencies — just like packages — with simple, reproducible install workflows.
✅ What Pim Does
- Installs pretrained models from Hugging Face, TorchVision, and Scikit-learn
- Uses a
Pimfile(likePipfileorrequirements.txt) to declare which models your project depends on - Centralizes model downloads in a shared cache (
~/.pim) or a user-defined directory - Supports authentication for gated models (e.g., Hugging Face token access)
- Lets you run
pim installfrom anywhere — no manual Python scripting required
🧠 Why It’s Different
| Feature | pip / conda | pim |
|---|---|---|
| Installs Python packages | ✅ | ❌ |
Declarative install file (Pimfile) |
✅ | ✅ |
| Installs pretrained ML models | ❌ | ✅ |
| Unified CLI for multiple frameworks | ❌ | ✅ |
| Model caching & directory control | ❌ | ✅ |
| Handles gated models & auth | ❌ | ✅ |
Pim doesn’t replace tools like pip or conda — it complements them by handling the growing complexity of working with large-scale pretrained model artifacts in a clean, declarative, and scriptable way.
Installation
pip install pim-cli
Usage
pim install
License
MIT
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 pim_cli-0.2.1.tar.gz.
File metadata
- Download URL: pim_cli-0.2.1.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea551dbba69a8690b78c10af697ea49f79463eb88e2471f8c14e4f1a3d6d273e
|
|
| MD5 |
34c42bf0040293148f75a9c801151358
|
|
| BLAKE2b-256 |
6f064f50db0cd8a7a1c5c274eaaa644256d72ec681bee22a01eb719eff10594e
|
File details
Details for the file pim_cli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: pim_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e049fb1a511b39d37a1ea1d8f400892e189e6c227fc2ffb54e9427d41946b9a
|
|
| MD5 |
e1ec6d733a6348f6d060d8b082585f82
|
|
| BLAKE2b-256 |
d8051fced2c009a4c5b105aa2b736724fb425540430d53671d62de2809343caa
|