Package#
- class hugr.package.Package(modules: list[Hugr], extensions: list[Extension] = <factory>)[source]#
Bases:
object
A package of HUGR modules and extensions.
The HUGRs may refer to the included extensions or those not included.
Methods
Deserialize a JSON string to a Package object.
to_json
Attributes
HUGR modules in the package.
Extensions included in the package.