# Hestia Engine Config
> HESTIA default configuration files for the engine library.
The version of the config follows the version of the models. Example:
- to use with `hestia_earth_engine` version `0.65.0`, you can use configuration version `0.65.0.postN`, where N refers to an increment fix of the configuration.
## Usage
### JavaScript / Typescript
1. Install the library:
```bash
npm install @hestia-earth/engine-config
```
2. Import the function to load the configuration:
```typescript
import { loadConfig } from '@hestia-earth/engine-config';
const config = loadConfig('Cycle');
```
### Python
1. Install the library:
```bash
pip install hestia_earth_config
```
2. Import the function to load the configuration:
```python
from hestia_earth.config import load_config
config = load_config('Cycle')
```
If you are using the orchestrator:
```bash
pip install hestia_earth_orchestrator
```
then use in your code:
```python
from hestia_earth.orchestrator import run
from hestia_earth.config import load_config
node = {'@type': 'Cycle'}
config = load_config(node['@type'])
run(node, configuration=config)
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/hestia-earth/hestia-engine-config",
"name": "hestia-earth-config",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "HESTIA Team",
"author_email": "guillaume@hestia.earth",
"download_url": "https://files.pythonhosted.org/packages/89/af/8cd8650aa89300a6199bd5555b56c7f253a01d52702ce30318c8401dba87/hestia_earth_config-0.65.3.post0.tar.gz",
"platform": null,
"description": "# Hestia Engine Config\n\n> HESTIA default configuration files for the engine library.\n\nThe version of the config follows the version of the models. Example:\n- to use with `hestia_earth_engine` version `0.65.0`, you can use configuration version `0.65.0.postN`, where N refers to an increment fix of the configuration.\n\n## Usage\n\n### JavaScript / Typescript\n\n1. Install the library:\n```bash\nnpm install @hestia-earth/engine-config\n```\n2. Import the function to load the configuration:\n```typescript\nimport { loadConfig } from '@hestia-earth/engine-config';\n\nconst config = loadConfig('Cycle');\n```\n\n### Python\n\n1. Install the library:\n```bash\npip install hestia_earth_config\n```\n2. Import the function to load the configuration:\n```python\nfrom hestia_earth.config import load_config\n\nconfig = load_config('Cycle')\n```\n\nIf you are using the orchestrator:\n```bash\npip install hestia_earth_orchestrator\n```\nthen use in your code:\n```python\nfrom hestia_earth.orchestrator import run\nfrom hestia_earth.config import load_config\n\nnode = {'@type': 'Cycle'}\nconfig = load_config(node['@type'])\nrun(node, configuration=config)\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HESTIA's default engine configuration files.",
"version": "0.65.3.post0",
"project_urls": {
"Homepage": "https://gitlab.com/hestia-earth/hestia-engine-config"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f0cf601c3aea364af7e6ea9e1a02579f69a5767a8cb17af6985ae8f34822435b",
"md5": "42767ec66d0dec53f17cc4389dabec54",
"sha256": "9652e1a792c6d3c04a3db28dac25c684e18e6ee2bc361e1eaad30ab1d7a6f8fc"
},
"downloads": -1,
"filename": "hestia_earth_config-0.65.3.post0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "42767ec66d0dec53f17cc4389dabec54",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 12396,
"upload_time": "2025-01-03T10:10:51",
"upload_time_iso_8601": "2025-01-03T10:10:51.708649Z",
"url": "https://files.pythonhosted.org/packages/f0/cf/601c3aea364af7e6ea9e1a02579f69a5767a8cb17af6985ae8f34822435b/hestia_earth_config-0.65.3.post0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "89af8cd8650aa89300a6199bd5555b56c7f253a01d52702ce30318c8401dba87",
"md5": "4967f1ba561f196ab6e265ca1ef0ee37",
"sha256": "de4841fd2abe84927530b5930d8f485c32eafac3912c43c83f3a5f8cb54d637c"
},
"downloads": -1,
"filename": "hestia_earth_config-0.65.3.post0.tar.gz",
"has_sig": false,
"md5_digest": "4967f1ba561f196ab6e265ca1ef0ee37",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 10915,
"upload_time": "2025-01-03T10:10:52",
"upload_time_iso_8601": "2025-01-03T10:10:52.636102Z",
"url": "https://files.pythonhosted.org/packages/89/af/8cd8650aa89300a6199bd5555b56c7f253a01d52702ce30318c8401dba87/hestia_earth_config-0.65.3.post0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-03 10:10:52",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "hestia-earth",
"gitlab_project": "hestia-engine-config",
"lcname": "hestia-earth-config"
}