Skip to main content

A simple ML model versioning tool

Project description

MLSaver

MLSaver is a lightweight Python package that lets you version-control your machine learning models locally — similar to Git, but for ML experiments.


✨ Features

  • Save trained models with simple commands
  • Load previous model versions instantly
  • List all saved versions
  • Delete unwanted versions
  • Prints model info
  • Works locally — no extra setup, no cloud required

🧠 Installation

pip install MLSaver

⚙️ Importing MLSaver

Import the class into your project:

from mlsaver import MLSaver

Then create an instance:

saver = MLSaver()

⚙️ Methods

Method Description Example
commit(model, "v1") Save a trained model with a version name. saver.commit(model, "v1")
checkout("v1") Load a previously saved model. model = saver.checkout("v1")
log() List all saved versions. saver.log()
delete("v1") Delete a saved version. saver.delete("v1")
rename("v1", "v1_fixed") Rename an existing version. saver.rename("v1", "v1_fixed")
info("v1") Show detailed info about a version (size, date, hyperparameters). saver.info("v1")
clear() Delete all saved versions (with confirmation). saver.clear()

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

mlsaver-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

mlsaver-0.0.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file mlsaver-0.0.2.tar.gz.

File metadata

  • Download URL: mlsaver-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mlsaver-0.0.2.tar.gz
Algorithm Hash digest
SHA256 357aa02b18e74a201f141cd6379aee37c4373e095e8551c16e8e99c87ee8c985
MD5 259d712f5084b4e778ba73039271fd8f
BLAKE2b-256 494a0661e45ae7a0508ef57e02f898544616c76eb565a8b586e77898c3716068

See more details on using hashes here.

File details

Details for the file mlsaver-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mlsaver-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mlsaver-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 039a443b46428960b8f8bbb2f2bc2a7a14c03da499dfd183b8129a0115c818c2
MD5 e313f71dae178f6eb9306c4c6979e90f
BLAKE2b-256 3a798573771fd9220c9a33b5410fdf63454f66f7cddfdd7e080d67685099b544

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