Skip to main content

mllogs

Local experiment logging for machine learning.

Installation

pip install mllogs

Usage

Track a run:

from mllogs import MLLogs

mll = MLLogs()

mll.start_run()

mll.log_param("learning_rate", 0.01)
mll.log_metric("accuracy", 0.92)
mll.set_tag("model", "logistic_regression")

run = mll.complete_run()

Query run data:

mll.query.get_run(run.id)
mll.query.get_params(run.id)
mll.query.get_metrics(run.id)
mll.query.get_tags(run.id)

Features

  • Start, complete, and fail experiment runs
  • Log parameters, metrics, and tags
  • Persist run data to a local SQLite database
  • Query saved runs and their logged data

Development

Install from source with development dependencies:

pip install -e ".[dev]"

Run the test suite:

pytest

License

MIT

Metadata

Release files for mllogs 0.4.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 mllogs 0.4.0
File Size Uploaded
mllogs-0.4.0.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / mllogs-0.4.0.tar.gz

Download URL mllogs-0.4.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a568142d64303638179b683bd2a97f5fbd0d980cd842ea4cd77b7b9833d9d74e
BLAKE2b-256 checksum
How to use checksums
7c5455db2a5bf9e1b6328fc09182649db6a6faf7c928ae1767642cab74ef6f61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release files / mllogs-0.4.0-py3-none-any.whl

Download URL mllogs-0.4.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f0922a0171fe4e3ccbc586c5d1344108eaf92b2a976deab32b4391aa281a2c3
BLAKE2b-256 checksum
How to use checksums
7271ae82371532b6c368279d73a3345bbb2c4e14e107b7af362dce74d4a68353
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 21, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.0

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

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