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.3.1

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.3.1
File Size Uploaded
mllogs-0.3.1.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / mllogs-0.3.1.tar.gz

Download URL mllogs-0.3.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
891647fe199fd3d05b08103ae8a1804f02edf3da028d7293468c770d5e5cbf8a
BLAKE2b-256 checksum
How to use checksums
01872d5b9727adf254e330ced0cb69a251a1871d11b76db9a6a9bce1fa8753c5
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.3.1-py3-none-any.whl

Download URL mllogs-0.3.1-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a2a07c95923128e551fa752fedb4f0bca672bb8c9f2abfda61a7d3f1b9cd756
BLAKE2b-256 checksum
How to use checksums
4bf75ee0a4923d570a69bcb6dbedba364f7ea2c070d1d704c3e4696476091a63
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

0.4.0

2 release files

This release

0.3.1 This release

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