Skip to main content

metaflow-diff - run git diff between a repo and a Metaflow run

Metaflow diff screenshot

  1. Create a Metaflow flow, say, HelloFlow, in a git repo as usual
  2. Run it remotely: python hello.py run --with kubernetes or python hello.py run --with batch
  3. Note the run ID in the console or in the UI, e.g. HelloFlow/5.
  4. Continue editing code
  5. Run metaflow-diff diff HelloFlow/5 to see how the code has changed in the given execution 💡

Commands

metaflow-diff diff HelloFlow/5

Show diff between the current working directory and the given run.

metaflow-diff pull --dir code HelloFlow/5

Pull the code of the given run to a directory.

metaflow-diff patch --file my.patch HelloFlow/5

Produce a patch file that, if applied, changes the code in the current working directory to match that of the run.

metaflow-diff diff-runs HelloFlow/5 HelloFlow/6

Show diff between the two given runs.

Metadata

Release files for metaflow-diff 0.1.7

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

Built distribution (wheel)

Table of built distributions (wheels) for metaflow-diff 0.1.7
File Interpreter ABI Platform
metaflow_diff-0.1.7-py3-none-any.whl Python 3 none any Details

Release files / metaflow_diff-0.1.7-py3-none-any.whl

Download URL metaflow_diff-0.1.7-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ae582c9560073e91b76280e3bdefeb4f2f102dc30a7d3498cdba6bcef97c86f
BLAKE2b-256 checksum
How to use checksums
3a90736540dbe3161e5410f38708e4c4c02e5ae2c69cde582c591cad83d02952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Security for metaflow-diff 0.1.7

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.

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