샘플
Inspect installed entry points, package metadata, and wheel files with importlib-metadata 9.0.0 without loading plugins or using the network
sha256:df4bc17751b6ee1502a2da150f19295d9001e2f16f2f6b2470cc4ff17d1f4138
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Inspect installed entry points, package metadata, and wheel files with importlib-metadata 9.0.0 without loading plugins or using the network HOW
- 패키지
- importlib-metadata 9.0.0 zipp 4.1.0
- 환경
- python
- 생성일
- 2026-08-17T02:12:58Z
흔히 이렇게 알고 있다
Callers often treat entry_points() and files() as plain lists of strings or paths and miss the selection, name lookup, distribution, hash, and location semantics carried by their specialized result objects.
이 샘플의 작성자가 여기서 개발자나 모델이 기대할 법한 내용으로 적어둔 것이다. 아래 계약이 실제로 실행된 것이다.
컨트랙트
- The third-party importlib_metadata package resolves its installed 9.0.0 distribution under normalized hyphen and underscore names.
- metadata() preserves repeated headers through get_all() and exposes normalized JSON fields, including the zipp runtime requirement.
- entry_points() returns EntryPoints whose select() filters by group and name; EntryPoints lookup is by entry-point name rather than numeric position.
- The installed pip console entry point exposes module and attr without loading the target plugin.
- files() returns PackagePath objects tied to their distribution; locate() reaches the imported third-party module and RECORD supplies hashes and sizes except for its own row.
파일
- NOTES.md
- csx.json
- requirements.txt
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9