bw2parameters


Namebw2parameters JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/brightway-lca/brightway2-parameters
SummaryContains all the python boilerplate you need to create a Brightway ecosystem package.
upload_time2023-04-18 08:53:29
maintainerChris Mutel
docs_urlNone
authorChris Mutel
requires_python>=3.8
licenseBSD-3-Clause
keywords "brightway" "development"
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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/).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/brightway-lca/brightway2-parameters",
    "name": "bw2parameters",
    "maintainer": "Chris Mutel",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "<cmutel@gmail.com>",
    "keywords": "\"brightway\",\"development\"",
    "author": "Chris Mutel",
    "author_email": "<cmutel@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/72/b6/c57ebdbe3026187e409aedf4903e8c5d2a17fd010f9cd093dd0fb791bb60/bw2parameters-1.1.0.tar.gz",
    "platform": "any",
    "description": "# Brightway2 parameters\n\nLibrary 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.\n\n    In [1]: from bw2parameters import ParameterSet\n\n    In [2]: parameters = {\n       ...:        'Deep_Thought': {'amount': 42},\n       ...:        'East_River_Creature': {'formula': '2 * Deep_Thought + 16'},\n       ...:        'Elders_of_Krikkit': {'formula': 'sqrt(East_River_Creature)'},\n       ...: }\n\n    In [3]: ParameterSet(parameters).evaluate()\n    Out[3]: {'Deep_Thought': 42, 'East_River_Creature': 100, 'Elders_of_Krikkit': 10.0}\n\nCompatible 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/).\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Contains all the python boilerplate you need to create a Brightway ecosystem package.",
    "version": "1.1.0",
    "split_keywords": [
        "\"brightway\"",
        "\"development\""
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "15163ceaa904610155a49cc984dc575c93437d6f69757f4ebf05decc19ed88e2",
                "md5": "1ff0e7107b9c0589c0f0fc9f9719f877",
                "sha256": "ea32c262a45a58f51cc97bc88595d4d23e6a936a476087b3fbf22a0227ebd1d8"
            },
            "downloads": -1,
            "filename": "bw2parameters-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ff0e7107b9c0589c0f0fc9f9719f877",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 15238,
            "upload_time": "2023-04-18T08:53:27",
            "upload_time_iso_8601": "2023-04-18T08:53:27.298310Z",
            "url": "https://files.pythonhosted.org/packages/15/16/3ceaa904610155a49cc984dc575c93437d6f69757f4ebf05decc19ed88e2/bw2parameters-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72b6c57ebdbe3026187e409aedf4903e8c5d2a17fd010f9cd093dd0fb791bb60",
                "md5": "7a9c693e829c245c4255240dfffb44d6",
                "sha256": "37d2e242334c7c688444296048257616e4b03580929c18faf6c2286e122b2b79"
            },
            "downloads": -1,
            "filename": "bw2parameters-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7a9c693e829c245c4255240dfffb44d6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 26878,
            "upload_time": "2023-04-18T08:53:29",
            "upload_time_iso_8601": "2023-04-18T08:53:29.228995Z",
            "url": "https://files.pythonhosted.org/packages/72/b6/c57ebdbe3026187e409aedf4903e8c5d2a17fd010f9cd093dd0fb791bb60/bw2parameters-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-18 08:53:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "brightway-lca",
    "github_project": "brightway2-parameters",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bw2parameters"
}
        
Elapsed time: 0.07254s