bw_hestia_bridge.importer

Classes

HestiaImporter

Import a Hestia cycle as a Brightway database.

Module Contents

class bw_hestia_bridge.importer.HestiaImporter(cycle_id: str, ecoinvent_label: str, expand_graph: bool | None = True, data_state: Literal['original', 'recalculated'] = 'recalculated', biosphere_label: str | None = 'biosphere3', staging: bool | None = None)[source]

Bases: bw2io.importers.base_lci.LCIImporter

Import a Hestia cycle as a Brightway database.

Parameters:
  • cycle_id (str) – The Hestia ID for the cycle.

  • data_state (str, optional (default: recalculated)) – Whether to use recalculated data information from Hestia or the raw “original” data.

  • staging (bool, optional (default: from configuration)) – Whether to fetch the cycle from the staging Hestia API.

get_suppliers(cycle_id: str, data_state: str) None[source]
_convertor[source]
_staging = None[source]
cycle_id[source]
data[source]
db_name = 'Hestia cycle Uninferable expanded'[source]
strategies[source]