hestia-earth.calculation


Namehestia-earth.calculation JSON
Version 0.0.11 PyPI version JSON
download
home_pagehttps://gitlab.com/hestia-earth/hestia-calculation-engine
SummaryHestia's set of modules for creating structured data models from LCA observations and evaluating biogeochemical aspects of specific farming cycles
upload_time2020-11-21 20:00:34
maintainer
docs_urlNone
authorHestia Team
requires_python
licenseGPL
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hestia Calculation Engine

Hestia's set of modules for creating structured data models from LCA observations and evaluating biogeochemical aspects of specific farming cycles

## Install

1. Install the module:
```bash
pip install hestia_earth.calculation
```

2. Download the latest data:
```bash
curl https://gitlab.com/hestia-earth/hestia-calculation-engine/-/raw/master/scripts/download_data.sh?inline=false -o download_data.sh && chmod +x download_data.sh
# pip default install directory is /usr/local/lib/python<version>/site-packages
./download_data.sh <API_URL> <SEARCH_URL> <pip install directory>
```

To use the production-ready version of the data, please use `API_URL=https://api.hestia.earth` and `SEARCH_URL=https://search.hestia.earth`. For development version, please contact us at <community@hestia.earth>

### Usage

```python
from hestia_earth.calculation import CalculationEngine

# cycle is a JSONLD node cycle
# site can be provided separately or included in the Cycle
engine.import_data(cycle, site)
engine.run()
# retrieve the calculated cycle
engine.export_data()
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/hestia-earth/hestia-calculation-engine",
    "name": "hestia-earth.calculation",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Hestia Team",
    "author_email": "juan.sabuco@ouce.ox.ac.uk",
    "download_url": "https://files.pythonhosted.org/packages/02/57/f787bd50959caefed317b41e1fb633c1a0bbfe9530e84509ad1d722061fa/hestia_earth.calculation-0.0.11.tar.gz",
    "platform": "",
    "description": "# Hestia Calculation Engine\n\nHestia's set of modules for creating structured data models from LCA observations and evaluating biogeochemical aspects of specific farming cycles\n\n## Install\n\n1. Install the module:\n```bash\npip install hestia_earth.calculation\n```\n\n2. Download the latest data:\n```bash\ncurl https://gitlab.com/hestia-earth/hestia-calculation-engine/-/raw/master/scripts/download_data.sh?inline=false -o download_data.sh && chmod +x download_data.sh\n# pip default install directory is /usr/local/lib/python<version>/site-packages\n./download_data.sh <API_URL> <SEARCH_URL> <pip install directory>\n```\n\nTo use the production-ready version of the data, please use `API_URL=https://api.hestia.earth` and `SEARCH_URL=https://search.hestia.earth`. For development version, please contact us at <community@hestia.earth>\n\n### Usage\n\n```python\nfrom hestia_earth.calculation import CalculationEngine\n\n# cycle is a JSONLD node cycle\n# site can be provided separately or included in the Cycle\nengine.import_data(cycle, site)\nengine.run()\n# retrieve the calculated cycle\nengine.export_data()\n```\n\n\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Hestia's set of modules for creating structured data models from LCA observations and evaluating biogeochemical aspects of specific farming cycles",
    "version": "0.0.11",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "5d97bf9c6e086e992283b9527933c20c",
                "sha256": "b2920d3851bae88e54282dd6625402f7fb0add36b6c1d072ae9720d82329d713"
            },
            "downloads": -1,
            "filename": "hestia_earth.calculation-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5d97bf9c6e086e992283b9527933c20c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 139098,
            "upload_time": "2020-11-21T20:00:33",
            "upload_time_iso_8601": "2020-11-21T20:00:33.610258Z",
            "url": "https://files.pythonhosted.org/packages/52/6a/f51f50a30c5a0bbea2f16289d1eea07152ead5957ce43adda8112c52c4c3/hestia_earth.calculation-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "a4102e6804383a0934cb3ab3387777ea",
                "sha256": "b8aaf30fb71d76faf0d08a19a289b1a8288157ab61c810417c4935acb95a752f"
            },
            "downloads": -1,
            "filename": "hestia_earth.calculation-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "a4102e6804383a0934cb3ab3387777ea",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 94294,
            "upload_time": "2020-11-21T20:00:34",
            "upload_time_iso_8601": "2020-11-21T20:00:34.694172Z",
            "url": "https://files.pythonhosted.org/packages/02/57/f787bd50959caefed317b41e1fb633c1a0bbfe9530e84509ad1d722061fa/hestia_earth.calculation-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-11-21 20:00:34",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "gitlab_user": null,
    "gitlab_project": "hestia-earth",
    "lcname": "hestia-earth.calculation"
}
        
Elapsed time: 0.21120s