EGG
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
Python Egg Preview.
At a glance
| Purpose | A Python egg: a ZIP distribution of a Python package with an EGG-INFO directory of metadata. |
| Extensions | .egg |
| Poka parser | poka-egg |
| Viewer | poka-metadata-card-viewer |
| Depth tier | Metadata card (see Depth tiers) |
| Breadth tier | B4 Summary (see Breadth tiers) |
How much Poka reads
B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-egg/src/main.rs (352 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .egg sample. Covers .egg. The card reads the ZIP directory and EGG-INFO: entry and compression summary, counts of .py, .pyc and native files, zip-safety, and from PKG-INFO name, version, summary, author, licence, Requires-Python and home page, with top-level modules, the first dependencies, namespaces and entry points. Judgement: B4: the metadata is decoded and the contents summarised, but no file is shown.
What Poka does not read
- Package files are counted, not listed or shown
- Only the first dependencies are listed
- Directory-form eggs (unzipped) are not read
- Files over 1 GiB are cut (flagged)
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- setuptools (pkg_resources) (candidate; MIT; Python; https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html) — Documents the egg layout; pkg_resources reads .egg zips and dirs but is deprecated. Licence from the GitHub repo page (pypa/setuptools).
Sources
- parsers/poka-egg/src/main.rs
- parsers/poka-egg/plugin.json