REGISTER NOW: Brightway Spring School! 🇨🇦 Québec City (Canada) 🗓️ 20.-24. May 2024

bw2data#

Subpackages#

Submodules#

Package Contents#

Classes#

DataStore

Base class for all Brightway2 data stores. Subclasses should define:

IndexManager

JsonWrapper

Method

A manager for an impact assessment method. This class can register or deregister methods, write intermediate data, process data to parameter arrays, validate, and copy methods.

Normalization

LCIA normalization data - used to transform meaningful units, like mass or damage, into "person-equivalents" or some such thing.

ProcessedDataStore

Brightway2 data stores that can be processed to NumPy arrays.

Searcher

Weighting

LCIA weighting data - used to combine or compare different impact categories.

Functions#

Database(name[, backend])

A method that returns a database class instance.

convert_backend(database_name, backend)

Convert a Database to another backend.

extract_brightway_databases(database_names[, ...])

Extract a Brightway2 SQLiteBackend database to the Wurst internal format.

get_activity([key])

Support multiple ways to get exactly one activity node.

get_id(key)

get_node(**kwargs)

prepare_lca_inputs([demand, method, weighting, ...])

Prepare LCA input arguments in Brightway 2.5 style.

set_data_dir(dirpath[, permanent])

Set the Brightway2 data directory to dirpath.

Attributes#

Edge

Node

calculation_setups

config

databases

dynamic_calculation_setups

geomapping

mapping

methods

normalizations

parameters

preferences

projects

weightings

bw2data.mapping[source]#