REA Python wheel & sdist notes (unofficial)
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
.whl→ ZIP members (*.dist-info/METADATA,WHEEL,RECORD, package files)..pycinside → rea-python-pyc /inspect_python_pyc..tar.gzsdist → host extract if needed, then known routes on absolute paths (rea-absolute-paths).- 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
| Artifact | First REA posture |
|---|---|
pkg-1.2.3-py3-none-any.whl | ZIP inventory |
pkg-1.2.3.tar.gz sdist | Archive or host-extract → inventory |
| PyInstaller exe | python-packaged-applications.md lane |
| Pure source tree | Analyze 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).