{
  "id": "uv-run-table",
  "kind": "table",
  "slug": "uv-run",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/uv-run/",
  "title": "Run a Python script and its inline dependencies with uv run",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "uv run",
      "source": "uv docs",
      "detail": "Execute a script with managed dependencies"
    },
    {
      "name": "inline metadata",
      "source": "uv docs",
      "detail": "Declares dependencies inside the script"
    },
    {
      "name": "uv lock --script",
      "source": "uv docs",
      "detail": "Creates a .lock file adjacent to the script"
    },
    {
      "name": "PEP 723",
      "source": "uv docs",
      "detail": "Metadata format for single-file Python scripts"
    }
  ],
  "related_slugs": [
    "uv-index",
    "python-pathlib",
    "python-venv"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (uv docs); Public-Domain (Python PEPs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}