# Introduction
This library is a layer above [**brightway2**](https://brightway.dev/) designed for the definition of **parametric inventories**
with fast computation of LCA impacts, suitable for **monte-carlo** / global sensitivity analysis
It integrates the magic of [Sympy](https://www.sympy.org/en/index.html) in order to write parametric formulas as regular Python expressions.
**lca-algebraic** provides a set of **helper functions** for :
* **compact** & **human readable** definition of activities :
* search background (tech and biosphere) activities
* create new foreground activities with parametrized amounts
* parametrize / update existing background activities (extending the class **Activity**)
* Definition of parameters
* Fast computation of LCAs
* Computation of monte carlo method and global sensitivity analysis (Sobol indices)
# Installation
We don't provide conda package anymore.
This packages is available via [pip /pypi](https://pypi.org/project/lca-algebraic/)
## 1) Setup separate environement
First create a python environment, with **Python** [>=3.9] :
**With Conda (or [mamba](https://mamba.readthedocs.io/en/latest/index.html))**
```bash
conda env create -n lca python==3.10
conda activate lca
```
**With virtual env**
```bash
python3.10 -m venv .venv
source .venv/bin/activate
```
## 2) Install lca_algebraic
> pip install lca_algebraic
# Licence & Copyright
This library has been developed by [OIE - MinesParistech](http://www.oie.mines-paristech.fr), for the project [*INCER-ACV*](https://librairie.ademe.fr/energies-renouvelables-reseaux-et-stockage/4448-incer-acv.html),
lead by [ADEME](https://www.ademe.fr/).
It is distributed under the [BSD License](./LICENSE)
# Mailing list
Please register to this dedicated mailing list to discuss the evolutions of this library and be informed of future releases :
[lca_algebraic@groupes.mines-paristech.fr](https://groupes.minesparis.psl.eu/wws/subscribe/lca_algebraic)
# Documentation
Full documentation and example notebooks are [hosted on **readthedocs**](https://lca-algebraic.readthedocs.io/)
Raw data
{
"_id": null,
"home_page": "https://github.com/oie-mines-paristech/lca_algebraic/",
"name": "lca-algebraic-dev",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "LCA brightway2 monte-carlo parametric",
"author": "OIE - Mines ParisTech",
"author_email": "raphael.jolivet@mines-paristech.fr",
"download_url": "https://files.pythonhosted.org/packages/a4/1e/5362a3cd57622e45fc40ad45b50be3809a0bb9d2a6d69d4ed1b66e4a77c0/lca_algebraic_dev-1.1.1753145.dev0.tar.gz",
"platform": null,
"description": "# Introduction\n\nThis library is a layer above [**brightway2**](https://brightway.dev/) designed for the definition of **parametric inventories** \nwith fast computation of LCA impacts, suitable for **monte-carlo** / global sensitivity analysis \n\nIt integrates the magic of [Sympy](https://www.sympy.org/en/index.html) in order to write parametric formulas as regular Python expressions.\n\n**lca-algebraic** provides a set of **helper functions** for : \n* **compact** & **human readable** definition of activities : \n * search background (tech and biosphere) activities \n * create new foreground activities with parametrized amounts\n * parametrize / update existing background activities (extending the class **Activity**)\n* Definition of parameters\n* Fast computation of LCAs\n* Computation of monte carlo method and global sensitivity analysis (Sobol indices) \n\n# Installation\n\nWe don't provide conda package anymore.\n\nThis packages is available via [pip /pypi](https://pypi.org/project/lca-algebraic/)\n\n## 1) Setup separate environement\n\nFirst create a python environment, with **Python** [>=3.9] :\n\n**With Conda (or [mamba](https://mamba.readthedocs.io/en/latest/index.html))**\n\n```bash\nconda env create -n lca python==3.10\nconda activate lca\n```\n\n**With virtual env**\n\n```bash\npython3.10 -m venv .venv\nsource .venv/bin/activate\n```\n\n## 2) Install lca_algebraic\n\n> pip install lca_algebraic\n\n\n# Licence & Copyright\n\nThis library has been developed by [OIE - MinesParistech](http://www.oie.mines-paristech.fr), for the project [*INCER-ACV*](https://librairie.ademe.fr/energies-renouvelables-reseaux-et-stockage/4448-incer-acv.html), \nlead by [ADEME](https://www.ademe.fr/). \n\nIt is distributed under the [BSD License](./LICENSE)\n\n# Mailing list\n\nPlease register to this dedicated mailing list to discuss the evolutions of this library and be informed of future releases :\n\n[lca_algebraic@groupes.mines-paristech.fr](https://groupes.minesparis.psl.eu/wws/subscribe/lca_algebraic)\n\n\n# Documentation\n\nFull documentation and example notebooks are [hosted on **readthedocs**](https://lca-algebraic.readthedocs.io/)\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "This library provides a layer above brightway2 for defining parametric models and running super fast LCA for monte carlo analysis.",
"version": "1.1.1753145.dev0",
"project_urls": {
"Homepage": "https://github.com/oie-mines-paristech/lca_algebraic/"
},
"split_keywords": [
"lca",
"brightway2",
"monte-carlo",
"parametric"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f29cfc54728f75d127784502baf11b244ecde4d669b802e6fcf40a9a303a3ccc",
"md5": "82af98fdce26611d40febc938bed6dfe",
"sha256": "3d995a60240905981a896ade5f9a51577c22e9716114c021eb2e39074c1e832b"
},
"downloads": -1,
"filename": "lca_algebraic_dev-1.1.1753145.dev0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "82af98fdce26611d40febc938bed6dfe",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 73558,
"upload_time": "2024-05-02T09:05:49",
"upload_time_iso_8601": "2024-05-02T09:05:49.109460Z",
"url": "https://files.pythonhosted.org/packages/f2/9c/fc54728f75d127784502baf11b244ecde4d669b802e6fcf40a9a303a3ccc/lca_algebraic_dev-1.1.1753145.dev0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a41e5362a3cd57622e45fc40ad45b50be3809a0bb9d2a6d69d4ed1b66e4a77c0",
"md5": "384057b97d7a3cbfec806cf418e7be9f",
"sha256": "59eb02e2912832ade524c61daddfe50b2a7fa161d1bec39357b7d61a521d318b"
},
"downloads": -1,
"filename": "lca_algebraic_dev-1.1.1753145.dev0.tar.gz",
"has_sig": false,
"md5_digest": "384057b97d7a3cbfec806cf418e7be9f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 57261,
"upload_time": "2024-05-02T09:05:53",
"upload_time_iso_8601": "2024-05-02T09:05:53.514683Z",
"url": "https://files.pythonhosted.org/packages/a4/1e/5362a3cd57622e45fc40ad45b50be3809a0bb9d2a6d69d4ed1b66e4a77c0/lca_algebraic_dev-1.1.1753145.dev0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-02 09:05:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "oie-mines-paristech",
"github_project": "lca_algebraic",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "lca-algebraic-dev"
}