Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brightway-lca/brightway-examples
📚🌿 Examples for the Example Gallery of the Brightway Documentation Website
https://github.com/brightway-lca/brightway-examples
Last synced: about 2 months ago
JSON representation
📚🌿 Examples for the Example Gallery of the Brightway Documentation Website
- Host: GitHub
- URL: https://github.com/brightway-lca/brightway-examples
- Owner: brightway-lca
- License: bsd-3-clause
- Created: 2023-07-27T18:13:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-18T09:13:14.000Z (about 1 year ago)
- Last Synced: 2024-01-26T07:06:22.800Z (11 months ago)
- Language: Jupyter Notebook
- Homepage: https://docs.brightway.dev/en/latest/content/examples/index.html
- Size: 643 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Brightway Examples
[![Brightway](https://img.shields.io/static/v1?label=Brightway&message=ecosystem&color=45bfb0&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA2NSIgaGVpZ2h0PSI2OTAiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEwNjUgNjkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogPGRlZnM+CiAgPGNsaXBQYXRoIGlkPSJjbGlwUGF0aDIxNzMiPgogICA8cGF0aCBkPSJtLTU5NSA0NDBoMWUzdi0xZTNoLTFlM3oiLz4KICA8L2NsaXBQYXRoPgogPC9kZWZzPgogPGcgdHJhbnNmb3JtPSJtYXRyaXgoMS4zIDAgMCAtMS4zIDY1MyA0MDMpIiBjbGlwLXBhdGg9InVybCgjY2xpcFBhdGgyMTczKSIgZmlsbD0iI2ZmZiI+CiAgPHBhdGggZD0ibTAgMGMwLTEuMi0xLjUtMy40LTAuNDctNS4yIDEuMy0yLjQgNS40LTEuNSA1LjgtM3YtMC4wMThsLTQuNy0wLjA1NC0yLTQuMWMtMS45IDAuNzEtMi40IDMu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4xIDI0LTYuNyAyMCA1OC0yMSAxNS0yNiAxNi00NC00LjItMzctMTItNjEtNS4yIDI0em0yOC02MS0yNyAxOS0yMCAxMS0yOCAyMC0zMSAzMC02LjggNDggMTcgNDIgMjQgMTggMS41LTQuNiA1LjItMTYgNi4xLTI0IDEyLTQxIDIwLTQzIDIyLTM3em0tMTEgMzA1LTE4LTUxLTUyLTM0LTAuMjUgNS44LTAuODMgMTkgMS4yIDM5LTMuMSA0My02LjcgMzgtMTEgNDYtMTUgNjMgMjAtMjUgNDMtNDEgMzAtNDl6bS03MC03OSAwLjI1LTUuOC01NiA0Mi0xNyA2NSAyLjcgNTAgOS40IDQwIDE2IDE3IDguNCA0MCAxNS02MyAxMS00NiA2LjctMzggMy4xLTQzLTEuMi0zOXptLTU0LTE5NC0xMiAyMC0yMiAyNi0xOCAxNS0xNyAxNy0wLjEzLTAuNTYtOS43LTQ1IDIxLTM0IDIzLTEzIDIxLTguMiAzNy0xOS0xNSAxM3ptMjQtNDEtMTUgMTMtOC4zIDI4LTEyIDIwLTIyIDI2LTE4IDE1LTE3IDE3IDQyIDE0IDI0LTQuOCAxNS0xNiA4LjYtMzMgMS41LTI4LTMuNC0yMHptLTExMCAyMDItMjMtNTEtMi44IDQuOS0xOSAzMy0yNyAzOS0zMSAyOC0zOSAyNC0zOCA5LjQgMzIgMS4zIDMxIDEuNiAzMC0wLjI5IDQzLTE2IDMwLTMweiIvPgogPC9nPgo8L3N2Zz4K)](https://github.com/brightway-lca)
![License](https://img.shields.io/github/license/brightway-lca/brightway-documentation?color=green&logo=Open%20Source%20Initiative&logoColor=white) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat&logo=GitHub)](https://github.com/brightway-lca/brightway-documentation-readthedocs/discussions) \
Maintainance Team : [@michaelweinold](https://github.com/michaelweinold), [@cmutel](https://github.com/cmutel)A collection of Jupyter notebooks containing self-contained examples showcasing Brightway functionality.
## How to Contribute Brightway Examples
A detailed guide is available at the [Examples Contributing Guide](https://docs.brightway.dev/en/latest/content/examples/guide.html) on the Brightway Documentation website. \
A template for new examples is available in the `template` folder.## GitHub Actions
[![Create Workflow Dispatch (Trigger Submodule Pull), Re-Use Workflow](https://github.com/brightway-lca/brightway-examples/actions/workflows/github_action_trigger_submodule_pull_reusable.yml/badge.svg)](https://github.com/brightway-lca/brightway-examples/actions/workflows/github_action_trigger_submodule_pull_reusable.yml)
All the examples collected in this repository are available as a submodule in the `brightway-documentation` repository. This allows us to collect the examples in a separate repository and still have them available on the Brightway Documentation webpage. This action triggers a `submodule` pull action in the `brightway-documentation` repository that keeps the examples up to date. It is triggered every time a new commit is pushed to the `brightway-examples` repository.
[![Test all Jupyter Notebooks for valid JSON (or else they might break the readthedocs.org build)](https://github.com/brightway-lca/brightway-examples/actions/workflows/test_notebooks.yml/badge.svg)](https://github.com/brightway-lca/brightway-examples/actions/workflows/test_notebooks.yml)
Jupyter Notebooks are JSON files. If they are not valid JSON, the readthedocs.org build will fail. Invalid JSON might be the result of an incomplete save process or other file corruption. This action tests all Jupyter Notebooks for valid JSON and fails if one of the notebooks is not valid JSON. It is triggered every time a pull request is opened.