Skip to content

brightway-lca/bw_temporalis

bw_temporalis

PyPI Status Python Version License

Read the documentation at https://bw_temporalis.readthedocs.io/ Tests Codecov

pre-commit Black

Installation

You can install bw_temporalis via [pip] from [PyPI]:

$ pip install bw_temporalis

Currently Python 3.11 installations are broken as scikit-network only has pre-built wheels for version 0.31 - but this changed the API for shortest path, and bw_graph_tools has not yet been adapted](brightway-lca/bw_graph_tools#13).

You can also install using conda in the cmutel channel.

Usage notes

See the teaching repo from-the-ground-up for examples on how to use this library.

This library uses the net amount in the technosphere and biosphere matrix, so caution should be taken in cases where multiple edges with temporal dynamics, especially with different numerical signs, link the same nodes. In general, these edges should be split across multiple processes.

The temporal resolution should not be less than seconds, it will be rounded up to seconds in the TemporalDistribution.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the BSD 3 Clause license, bw_temporalis is free and open source software.

Issues

If you encounter any problems, please [file an issue] along with a detailed description.