Skip to main content

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 (like Pipfile or requirements.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 install from 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

pim_cli-0.2.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pim_cli-0.2.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

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

Hashes for pim_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ea551dbba69a8690b78c10af697ea49f79463eb88e2471f8c14e4f1a3d6d273e
MD5 34c42bf0040293148f75a9c801151358
BLAKE2b-256 6f064f50db0cd8a7a1c5c274eaaa644256d72ec681bee22a01eb719eff10594e

See more details on using hashes here.

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

Hashes for pim_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e049fb1a511b39d37a1ea1d8f400892e189e6c227fc2ffb54e9427d41946b9a
MD5 e1ec6d733a6348f6d060d8b082585f82
BLAKE2b-256 d8051fced2c009a4c5b105aa2b736724fb425540430d53671d62de2809343caa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page