Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brightway-lca/brightway25
A wrapper library for documentation and easy installation of Brightway 2.5
https://github.com/brightway-lca/brightway25
Last synced: about 2 months ago
JSON representation
A wrapper library for documentation and easy installation of Brightway 2.5
- Host: GitHub
- URL: https://github.com/brightway-lca/brightway25
- Owner: brightway-lca
- License: bsd-3-clause
- Created: 2021-05-17T10:34:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T17:50:59.000Z (about 1 year ago)
- Last Synced: 2024-04-25T22:40:26.216Z (8 months ago)
- Language: Jupyter Notebook
- Size: 10.7 MB
- Stars: 7
- Watchers: 7
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Brightway2.5
============Brightway 2.5 is the next generation of the [Brightway2](https://brightway.dev/) framework for life cycle assessment. It provides new capabilities for cloud computing and model interaction, with the use of a new [processed data library](https://github.com/brightway-lca/bw_processing) and a separation between the calculation library and a library for [matrix construction and manipulation](https://github.com/brightway-lca/matrix_utils).
Note that this library does not import anything, so running `from brightway25 import *` won't do anything useful. Instead, import each constituent library separately. A good default is:
```python
import bw2analyzer as ba
import bw2data as bd
import bw2calc as bc
import bw2io as bi
import matrix_utils as mu
import bw_processing as bp```
# InstallingThe package is currently hosted in the [cmutel channel of anaconda.org](https://anaconda.org/cmutel/brightway25). **This might change in the future for the conda-forge channel**
You can install brightway25 with:
```
conda create -n bw25 -c conda-forge -c defaults -c cmutel brightway25
```
# UpgradingBrightway 2.5 can be use in parallel with Brightway 2, but each project must be either version 2 or 2.5. Brightway 2.5 projects have a different processed data format, and no longer use the `mapping` object.
To upgrade an existing project to version 2.5, use the function `bw2data.projects.migrate_project_25()`.
To maintain a clean separation between these two sets of projects, you can use some type of naming convention, or use an [environment variable](https://2.docs.brightway.dev/faq.html?#how-do-i-find-where-my-data-is-saved) for a new data directory.
Official site:
* https://brightway.dev
Online documentation:
* https://25.docs.brightway.dev/
Development blog:
* http://chris.mutel.org