Package Manager API


The object exposes methods to interact with Packages as defined by ERC 1123.



The PM module is still under development, and not all use-cases are currently supported, so it is not included by default in the web3 instance.

You must install the eth-pm module separately, until it is stable. Install with:

pip install --upgrade ethpm


To use, attach it to your web3 instance.

from import PM
PM.attach(web3, 'pm')


The follwing methods are available on the namespace.

PM.get_package_from_manifest(self, manifest)
  • Manifest must currently be a dict representing a valid manifest
  • Returns a Package instance representing the Manifest