{
  "id": "python-twine-upload-table",
  "kind": "table",
  "slug": "python-twine-upload",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/python-twine-upload/",
  "title": "twine upload sends built Python distributions to PyPI or TestPyPI; twine check validates them",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "twine check",
      "source": "Twine docs (Read the Docs)",
      "detail": "reports whether the long description of your distribution will render correctly on PyPI."
    },
    {
      "name": "--config-file",
      "source": "Twine docs (Read the Docs)",
      "detail": "sets the .pypirc config file to use, and -r names the repository."
    },
    {
      "name": "-u/--username",
      "source": "Twine docs (Read the Docs)",
      "detail": "has no effect on PyPI or TestPyPI. The username can also be set via the TWINE_USERNAME environment variable."
    },
    {
      "name": "--non-interactive",
      "source": "Twine docs (Read the Docs)",
      "detail": "can also be set via the TWINE_NON_INTERACTIVE environment variable."
    },
    {
      "name": "--skip-existing",
      "source": "Twine docs (Read the Docs)",
      "detail": "continues uploading files if one already exists; it is only valid when uploading to PyPI."
    }
  ],
  "related_slugs": [
    "python-venv",
    "python-argparse",
    "python-secrets"
  ],
  "license": "CC-BY-4.0",
  "source_license": "Apache-2.0 (Twine docs (Read the Docs)); Apache-2.0 (pypa/twine (GitHub)); prose restates cited source lines in own words",
  "as_of": "2026-11-18",
  "status": "fill-draft-20261118",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}