Skip to main content

dreamlake-dash

The standalone DreamLake experiment recorder, extracted from the ml-dash API that was merged into dreamlake. It owns the recording implementation: Experiment, experiment, RUN, metrics, tracks, parameters, files, buffering, local storage, native project sessions, job-broker credentials and job lifecycle. The umbrella SDK re-exports these same objects; it does not maintain a second implementation. Install this package when you only need recording.

pip install dreamlake-dash
from dreamlake_dash import Experiment

# Local recording: no account, server, upload or output capture.
with Experiment(prefix="team/research/smoke", root="./runs").run as run:
    run.params.set(seed=0, learning_rate=0.001)
    run.metrics("train").log(step=0, loss=0.25)
    run.log("Recorded one explicit measurement")
    run.files("reports").save_json({"passed": True}, to="summary.json")

Use the existing DreamLake CLI login for native recording:

from dreamlake_dash import Experiment, NativeConnection

connection = NativeConnection.from_login("team", "research")
with Experiment(prefix="team/research/smoke", connection=connection).run as run:
    run.metrics("eval").log(step=0, accuracy=0.95)

The connection pins credentials to the selected server. Native jobs continue to use their existing scoped broker credentials. Parameters, logs, metrics, tracks and artifacts are sent only when you explicitly call their recording methods. Nothing automatically captures terminal output or indexes files. Remote recording requires the existing project permissions and service configuration; installing this package does not provision a service.

dash_writer / DashRun retain the historical managed Dash backend. They are separate from Experiment's native recording routes, and do not migrate a run between backends. An existing DreamLakeClient can still be passed via client=; the standalone default reads the same server-pinned CLI login without importing the umbrella SDK. Its historical secure-store fallback remains available with dreamlake-dash[auth]; the native writer retains its existing CLI-file behavior.

pytest-dreamlake owns test discovery, definitions and verdicts. Dash records measurements and artifacts; it does not discover tests or decide their outcomes.

Compatibility

Existing from dreamlake import Experiment, RUN and from dreamlake.experiments import ... continue to work in DreamLake 0.63.0+. The old private dreamlake.experiments._native.* paths alias the canonical modules too, preserving exception/enum identities and existing test patches. New code should import from dreamlake_dash. This package does not install an ml_dash module or replace a separately installed historical ml-dash SDK.

The default install needs only HTTPX, params-proto and Rich. Use pip install 'dreamlake-dash[media]' for NumPy/Pillow file helpers and 'dreamlake-dash[video]' for video encoding; PyTorch and plotting libraries are only needed when their corresponding explicit save methods are used.

See the recording guide and managed writer guide for the complete API. The MIT attribution from the original ml-dash implementation is retained.

Release process

Build with uv build --project packages/dreamlake-dash. The separately reviewed .github/workflows/publish-dash.yml publishes the exact commit pushed to dash-publish-production, after main's tests and dash-package checks pass. The dash-production-publish environment restricts publishing to that branch. Initial project creation uses its PYPI_API_TOKEN environment secret through GitHub's publisher action; this is token authentication, not OIDC. Credentials are absent from the build job and artifacts. Never publish from a local shell.

The workflow refuses an existing version and requires exactly the wheel and sdist for the committed version. Uploads share a non-cancelling concurrency lock. A partially published release must be reconciled using the retained exact artifacts, never rebuilt under an existing filename. Publish this package before an umbrella release that depends on its version. The existing dreamlake release workflow remains independent and unchanged.

Metadata

Release files for dreamlake-dash 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 dreamlake-dash 0.1.0
File Size Uploaded Provenance Actions
dreamlake_dash-0.1.0.tar.gz 104.3 kB Without provenance Details for dreamlake_dash-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 218.3 kB

Release files / dreamlake_dash-0.1.0.tar.gz

Download URL dreamlake_dash-0.1.0.tar.gz
Size 104.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4b1fe33effc945c3111f15e101d95c25e8d688639c3b7dff4835e9feabf243e9
BLAKE2b-256 checksum
How to use checksums
d5941e1e75fdc6ea739936127f7e926947dc6cbbf028c63d35a99fd251342618
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

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

Download URL dreamlake_dash-0.1.0-py3-none-any.whl
Size 114.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddcb46a357b39bb50b2ef27183799e231c77ef821c56ce5c69f2b6e6d19e5efc
BLAKE2b-256 checksum
How to use checksums
e6a7e4c59e3852a1869fc93feb82676329e412011f9ce11bf49f69c3d047d39e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for dreamlake-dash 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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