Implementation of EIP-2678 (Ethereum Package Manager types) for building, validating, and consuming Ethereum smart contract packages. Current version 0.6.31, weekly releases on PyPI. Requires Python >=3.10, <4.
pip install ethpm-typesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: load a package manifest JSON and create a validated PackageMeta object.
Upgrade to Python >=3.10 or use ethpm-types==0.5.x.
Use `from ethpm_types.source import PNGSource` instead of `from ethpm_types.package import PNGSource`.
Always parse JSON string with `json.loads()` first before passing to `PackageMeta`.
Use `json.loads(json_string)` to convert the string to a dict first.
Use `from ethpm_types.source import PNGSource`.
Validate your manifest against EIP-2678 schema and remove extra fields.
No dependency data recorded yet.