# Lookout Config
Lookout Config is used to load config stored inside the `~/.config/greenroom` folder.
## Install
* `pip install -e ./packages/lookout_config`
* or...
* `pip install lookout_config` (Public on [PyPi](https://pypi.org/project/lookout-config/))
## Usage
### Reading config
```python
from lookout_config import read
config = read()
```
### Writing config
```python
from lookout_config import write, LookoutConfig
config = LookoutConfig()
write(config)
```
### Generating schemas
After changing the dataclasses, you can generate the schemas with:
```bash
python3 -m lookout_config.generate_schemas
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Greenroom-Robotics/lookout",
"name": "lookout-config",
"maintainer": "David Revay",
"docs_url": null,
"requires_python": null,
"maintainer_email": "david.revay@greenroomrobotics.com",
"keywords": "colcon",
"author": "Greenroom Robotics",
"author_email": "team@greenroomrobotics.com",
"download_url": "https://files.pythonhosted.org/packages/a2/7d/386cb97f7c8defff065e6fb08314f750ff8dd193b202095030401eda0b4e/lookout_config-1.20.2.tar.gz",
"platform": null,
"description": "# Lookout Config\n\nLookout Config is used to load config stored inside the `~/.config/greenroom` folder.\n\n## Install\n\n* `pip install -e ./packages/lookout_config`\n* or...\n* `pip install lookout_config` (Public on [PyPi](https://pypi.org/project/lookout-config/))\n\n## Usage\n\n### Reading config\n\n```python\nfrom lookout_config import read\n\nconfig = read()\n```\n\n### Writing config\n\n```python\nfrom lookout_config import write, LookoutConfig\n\nconfig = LookoutConfig()\n\nwrite(config)\n\n```\n\n### Generating schemas\n\nAfter changing the dataclasses, you can generate the schemas with:\n\n```bash\npython3 -m lookout_config.generate_schemas\n```\n",
"bugtrack_url": null,
"license": "Copyright (C) 2023, Greenroom Robotics",
"summary": "A library for reading / writing Lookout config files",
"version": "1.20.2",
"project_urls": {
"Homepage": "https://github.com/Greenroom-Robotics/lookout"
},
"split_keywords": [
"colcon"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bff5fe7399dc389b3619d74457bbbb9f591ffb96f66fe9ab7a40ed4e35ada370",
"md5": "25c76cc7d7e32a4372ff8b8791d1fd93",
"sha256": "ef3150df2559bd26f120afd4e144b0280f0e3a8195e1ed4aad5800edde8219ee"
},
"downloads": -1,
"filename": "lookout_config-1.20.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "25c76cc7d7e32a4372ff8b8791d1fd93",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 13831,
"upload_time": "2025-03-25T02:05:15",
"upload_time_iso_8601": "2025-03-25T02:05:15.260007Z",
"url": "https://files.pythonhosted.org/packages/bf/f5/fe7399dc389b3619d74457bbbb9f591ffb96f66fe9ab7a40ed4e35ada370/lookout_config-1.20.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a27d386cb97f7c8defff065e6fb08314f750ff8dd193b202095030401eda0b4e",
"md5": "e6a510ba4a5d978d171f7e2b35e809a1",
"sha256": "c9b9ed9beec4801e08a6e5a5c1c41c34f90c380b2775ba4b7d5f7e116efb924c"
},
"downloads": -1,
"filename": "lookout_config-1.20.2.tar.gz",
"has_sig": false,
"md5_digest": "e6a510ba4a5d978d171f7e2b35e809a1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12465,
"upload_time": "2025-03-25T02:05:17",
"upload_time_iso_8601": "2025-03-25T02:05:17.325555Z",
"url": "https://files.pythonhosted.org/packages/a2/7d/386cb97f7c8defff065e6fb08314f750ff8dd193b202095030401eda0b4e/lookout_config-1.20.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-25 02:05:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Greenroom-Robotics",
"github_project": "lookout",
"github_not_found": true,
"lcname": "lookout-config"
}