Skip to main content

A command line user interface, part of the Brightway2 LCA framework https://brightway.dev.

Project description

Brightway2-UI

PyPI Status Python Version License FOSSA Status

Read the documentation at https://brightway2-ui.readthedocs.io/ Codecov

pre-commit Black

This is now the official repo for Brightway2-UI:

a web and command line user interface, part of the Brightway2 LCA framework https://brightway.dev.

The original source code was hosted on Bitbucket: https://bitbucket.org/tomas_navarrete/brightway2-ui.

Compatibility with Brightway2X

This repository is used to produce 2 packages: one compatible with brightway25 (bw25ui), and one compatible with brightway2 (bw2ui).

Installation

Both, conda / mamba and wheels from pypi.org are available. The package names are different for Brightway25 and Brightway2, but the main executable script is still the same.

[!NOTE] The requirements here are abstract, but they are different for brightway25 and brightway2. For brightway25, bw2calc must be >= 2.0.dev10 and bw2analyzer >= 0.11 for brightway2 bw2calc must be < 2 and bw2analyzer >=0.10

Brightway25

To install a conda / mamba package compatible with brightway25:

mamba install -c tomas_navarrete bw25ui

There is also a pip wheel that you can install with:

pip install bw25ui

Brightway2

To install a package compatible with brightway2:

mamba install -c tomas_navarrete bw2ui

There is also a pip wheel that you can install with:

pip install bw2ui

Roadmap

  • As long as retro-compatibility is possible between Brightway25 and Brightway2, the code base will remain identical.
  • Packages will be published with the same version tags, but different names.
  • New features will be primarily implemented to work with Brightway25, and if they are compatible with Brightway2 they will be part of the same code base.
  • When the implementation of new features in a single code base for Brightway2 and Brightway25 becomes imposible, a new branch called legacy will be created to track the code compatible with Brightway2. The same will be done in the long term once Brightway3 is released.

Short term

The current code base is identical for both packages (bw25ui and bw2ui). The current main branch will be kept as the branch for development, with identical code bases for both packages until brightway25 public API breaks the compatibility.

Mid term

Once Brightway3 starts to exist, the main branch will be dedicated to it, with a bw3ui package.

Contributing

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

License

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

FOSSA Status

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_brightway2-ui

and running the build command:

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

and running the build command:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bw25ui-0.49.1.tar.gz (27.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bw25ui-0.49.1-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file bw25ui-0.49.1.tar.gz.

File metadata

  • Download URL: bw25ui-0.49.1.tar.gz
  • Upload date:
  • Size: 27.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bw25ui-0.49.1.tar.gz
Algorithm Hash digest
SHA256 db12a7c4492a3b66ce41b67c128fac0bd8d8945d89fde49d356e2bd2316f5ccb
MD5 642882812c8e00e16b38595541323e0d
BLAKE2b-256 2ff8e8a81a9a8d48b48b6ad600301d8f0a676e85391e3465d2ccaa7c42f6e7e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for bw25ui-0.49.1.tar.gz:

Publisher: python-package-deploy-bw25.yml on brightway-lca/brightway2-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bw25ui-0.49.1-py3-none-any.whl.

File metadata

  • Download URL: bw25ui-0.49.1-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bw25ui-0.49.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92373960fd8c187f5fa5e524ac46beb80edbac0d6087bd5d655075beecbf0f14
MD5 17249b9a83b7a422aa12e75d3e070a99
BLAKE2b-256 94433a07dad294ec173e1a968f17da9ce16483b87e8caec0b00264a245706da8

See more details on using hashes here.

Provenance

The following attestation bundles were made for bw25ui-0.49.1-py3-none-any.whl:

Publisher: python-package-deploy-bw25.yml on brightway-lca/brightway2-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page