bw2parameters-1.1.0
توضیحات
Contains all the python boilerplate you need to create a Brightway ecosystem package.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bw2parameters-1.1.0 |
| نام | bw2parameters |
| نسخه کتابخانه | 1.1.0 |
| نگهدارنده | ['Chris Mutel'] |
| ایمیل نگهدارنده | ['<cmutel@gmail.com>'] |
| نویسنده | Chris Mutel |
| ایمیل نویسنده | <cmutel@gmail.com> |
| آدرس صفحه اصلی | https://github.com/brightway-lca/brightway2-parameters |
| آدرس اینترنتی | https://pypi.org/project/bw2parameters/ |
| مجوز | BSD-3-Clause |
# Brightway2 parameters
Library for storing, validating, and calculating with parameters. Designed to work with the [Brightway2 life cycle assessment framework](https://brightwaylca.org), but is generic enough to work in other use cases.
In [1]: from bw2parameters import ParameterSet
In [2]: parameters = {
...: 'Deep_Thought': {'amount': 42},
...: 'East_River_Creature': {'formula': '2 * Deep_Thought + 16'},
...: 'Elders_of_Krikkit': {'formula': 'sqrt(East_River_Creature)'},
...: }
In [3]: ParameterSet(parameters).evaluate()
Out[3]: {'Deep_Thought': 42, 'East_River_Creature': 100, 'Elders_of_Krikkit': 10.0}
Compatible with Python 2.7 and 3.3+. 100% test coverage. [Source code on Github](https://github.com/brightway-lca/brightway2-parameters), documentation on [Read the Docs](https://brightway2-parameters.readthedocs.io/).
نیازمندی
| مقدار | نام |
|---|---|
| - | asteval |
| - | astunparse |
| - | numpy |
| - | stats-arrays |
| - | pint |
| - | pre-commit |
| - | pylint |
| - | sphinx |
| - | myst-parser |
| - | furo |
| - | setuptools |
| - | pytest |
| - | pytest-cov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl bw2parameters-1.1.0:
pip install bw2parameters-1.1.0.whl
نصب پکیج tar.gz bw2parameters-1.1.0:
pip install bw2parameters-1.1.0.tar.gz