# MarOps Config
MarOps Config is used to load config stored inside the `~/.config/greenroom` folder.
## Install
* `pip install -e ./libs/marops_config`
## Usage
### Reading config
```python
from marops_config import read
config = read()
```
### Writing config
```python
from marops_config import write, MarOpsConfig
config = MarOpsConfig()
write(config)
```
### Generating schemas
After changing the dataclasses, you can generate the schemas with:
```bash
python3 -m marops_config.generate_schemas
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Greenroom-Robotics/marops",
"name": "marops-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/a6/d9/520dd1ffe484574313d0b69b54391d10ab14d29331bb36898eb48eee5c42/marops_config-3.9.0.tar.gz",
"platform": null,
"description": "# MarOps Config\n\nMarOps Config is used to load config stored inside the `~/.config/greenroom` folder.\n\n## Install\n\n* `pip install -e ./libs/marops_config`\n\n## Usage\n\n### Reading config\n\n```python\nfrom marops_config import read\n\nconfig = read()\n```\n\n### Writing config\n\n```python\nfrom marops_config import write, MarOpsConfig\n\nconfig = MarOpsConfig()\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 marops_config.generate_schemas\n```\n",
"bugtrack_url": null,
"license": "Copyright (C) 2023, Greenroom Robotics",
"summary": "A library for reading / writing MarOps config files",
"version": "3.9.0",
"project_urls": {
"Homepage": "https://github.com/Greenroom-Robotics/marops"
},
"split_keywords": [
"colcon"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "7eb25520880b8860b9573e98d959b87f146dd8510e068a0a5440af8b62abb8f7",
"md5": "66bfc7bfd381f5899696e71a13a4c3e6",
"sha256": "58b4dea78e6e1fc9ce71604f7eea934ed33621f48e2f72f0f0c319cee8ff7a75"
},
"downloads": -1,
"filename": "marops_config-3.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "66bfc7bfd381f5899696e71a13a4c3e6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4080,
"upload_time": "2025-07-24T06:36:09",
"upload_time_iso_8601": "2025-07-24T06:36:09.414548Z",
"url": "https://files.pythonhosted.org/packages/7e/b2/5520880b8860b9573e98d959b87f146dd8510e068a0a5440af8b62abb8f7/marops_config-3.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a6d9520dd1ffe484574313d0b69b54391d10ab14d29331bb36898eb48eee5c42",
"md5": "2ccbc37d0edc6c606205e4893b69cd31",
"sha256": "e9e3a097067ecc75bb5ee91c3e9ae1c261cf4df1ce12e77e5fea5d4ba0f93b9e"
},
"downloads": -1,
"filename": "marops_config-3.9.0.tar.gz",
"has_sig": false,
"md5_digest": "2ccbc37d0edc6c606205e4893b69cd31",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3113,
"upload_time": "2025-07-24T06:36:10",
"upload_time_iso_8601": "2025-07-24T06:36:10.330801Z",
"url": "https://files.pythonhosted.org/packages/a6/d9/520dd1ffe484574313d0b69b54391d10ab14d29331bb36898eb48eee5c42/marops_config-3.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-24 06:36:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Greenroom-Robotics",
"github_project": "marops",
"github_not_found": true,
"lcname": "marops-config"
}