Skip to content

brightway-lca/brightway2-data

bw2data

PyPI Status Python Version License

Tests Codecov

pre-commit Black

This package provides tools for the management of inventory databases and impact assessment methods. It is part of the Brightway LCA framework. Online documentation is available, and the source code is hosted on GitHub brightway-lca organization.

Note that version 4.0 and higher are only compatible with Brightway 2.5, as described in the changelog.

Installation

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

$ pip install bw2data

Contributing

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

Releasing a new version

  1. Create a release branch: git checkout -b release/X.Y.Z
  2. Update __version__ in bw2data/__init__.py
  3. Update CHANGES.md with the release date and links to merged PRs
  4. Commit, push the branch, and open a PR
  5. Push the tag to trigger PyPI publication: git tag X.Y.Z && git push origin X.Y.Z

The tag push triggers the GitHub Actions deploy workflow, which builds and publishes the package to PyPI using trusted publishing.

License

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

Issues

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

Building the Documentation

You can build the documentation locally by installing the documentation Conda environment:

conda env create -f docs/environment.yml

activating the environment

conda activate sphinx_bw2data

and running the build command:

sphinx-build docs _build/html --builder=html --jobs=auto --write-all; open _build/html/index.html

About

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors