Skip to main content

tidyexp

Easy-to-use, offline-first ML experiment management solution.

PyPI - Downloads PyPI

What does it solve?

Other competitors are complex in nature – they have a slight steep learning curve and aren’t often beginner-friendly. Some of them require you to create an account on their platform to get started.

tidyexp aims to provide a free, easy-to-use platform for tracking ML experiment metadata.

Installation

Through pip:

pip install tidyexp

Usage

Import tidyexp:

import tidyexp

Create a Logger instance with the experiment metadata:

log = tidyexp.Logger(experiment_id="1", experiment_dir=".", time_track=["num_epochs"], stats_track=["mse"], overwrite=True, model_type="torch")

Track experiment metadata in the training loop:

for i in range(epochs):
    ....

    time_dict = {"num_epochs": i}
    stats_dict = {"mse": curr_loss}
    log.update(time_dict, stats_dict)

Save logs:

log.save()

Load logs:

from tidyexp.load.load_log import load_log, load_stats, load_time

logs = load_log("abcd/logs/log_1.hdf5")
stats = load_stats("abcd/logs/log_1.hdf5", "1")
time_stats = load_time("abcd/logs/log_1.hdf5", "1")

Save model:

log.save_model(model)

Load model:

from tidyexp.load.load_model import load_model
ckpt = load_model("abcd/models/final/final_1.pt", "torch")

Create archive (.zip):

log.archive("archive")

Upload to Google Drive:

log.upload_gdrive("./credentials.json", "MyExperiment", "archive.zip")

Push to local Git repository:

log.commit("C:\\Users\\ExampleUser\\Experiments", ".\abcd")

License

tidyexp is licensed under the MIT License.

Metadata

Release files for tidyexp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tidyexp 0.1.0
File Size Uploaded Provenance
tidyexp-0.1.0.tar.gz 9.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tidyexp 0.1.0
File Interpreter ABI Platform
tidyexp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.6 kB

Release files / tidyexp-0.1.0.tar.gz

Download URL tidyexp-0.1.0.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1a91f49403da5c511e4c6a933e6031e7b9a6ebbbb4defcef645bff70c6785db5
BLAKE2b-256 checksum
How to use checksums
b71e71783093fe13db2a98cebfe04ffb1fb62c49d7771534a590f361a55cd487
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / tidyexp-0.1.0-py3-none-any.whl

Download URL tidyexp-0.1.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07d211544bf4d99e450eec0074f6a7a675ee8aed2bc20582c1b3015fc0033f40
BLAKE2b-256 checksum
How to use checksums
3366c2ea4f5039404bd8d6107a25dc711c4a02cad5d8d0b56a2dbe88918b8b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for tidyexp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page