REA Python wheel & sdist notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

A wheel is a ZIP; an sdist is usually a tarball. REA inventories what the archive lane admits, then you inspect interesting members.

Mental model

  1. .whl → ZIP members (*.dist-info/METADATA, WHEEL, RECORD, package files).
  2. .pyc inside → rea-python-pyc / inspect_python_pyc.
  3. .tar.gz sdist → host extract if needed, then known routes on absolute paths (rea-absolute-paths).
  4. Not PyInstaller — CArchive apps use the packaged-applications docs, not wheel inventory.

Minimal path

# 1) Inventory local authorized wheel (archive / inspect_artifact)
# 2) Note METADATA / RECORD paths from Evidence
# 3) For a chosen .pyc member:
#    use inspect_python_pyc on the extracted absolute path

Compare

ArtifactFirst REA posture
pkg-1.2.3-py3-none-any.whlZIP inventory
pkg-1.2.3.tar.gz sdistArchive or host-extract → inventory
PyInstaller exepython-packaged-applications.md lane
Pure source treeAnalyze files directly — not a wheel

Scope we will not cover

  • No PyPI token theft / private index scraping.
  • No “rewrite METADATA to fake licenses” advice.
  • No inventing a wheel-signing breaker.

RepoRead is unofficial. Prefer python-packaged-applications.md and the archive skill.

FAQ

How is this different from rea-pip-wheels?

rea-pip-wheels is the short wheel=ZIP overview. This page adds sdist/metadata RECORD/WHEEL/METADATA member notes and the hand-off to inspect_python_pyc.

Is there an inspect_wheel API?

No separate marketing name is required in 6.7.0 — treat .whl as ZIP; inventory with open_binary / inspect_artifact style archive routes.

What about .tar.gz sdist?

Many sdists are gzip-compressed tarballs. Inventory only if your session admits that archive form; otherwise extract with host tools you trust, then re-enter REA on members.

Can REA log into PyPI for me?

No. Supply local authorized .whl/.sdist paths only.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources