A library for reading / writing MarOps config files
Project description
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
from marops_config import read
config = read()
Writing config
from marops_config import write, MarOpsConfig
config = MarOpsConfig()
write(config)
Generating schemas
After changing the dataclasses, you can generate the schemas with:
python3 -m marops_config.generate_schemas
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
marops_config-3.3.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.3.1.tar.gz
.
File metadata
- Download URL: marops_config-3.3.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b1d320489e0b3890adcdff76f131fd7c716259b009d7ac52524271cf99d0093 |
|
MD5 | a75c76f0d35cb4bbe4414cf4b786e7f0 |
|
BLAKE2b-256 | 7dd4b3bba5fa91008c409084967a7ac8e26c02d804a1d966c24ab560d821813a |
File details
Details for the file marops_config-3.3.1-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.3.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6f97225a8b026c358a43ec71c71fba67dc0c0b67ba3342c847d5ea36657227 |
|
MD5 | 04d80799907c564120072e543850880e |
|
BLAKE2b-256 | 01087498343305b0f4baa1df821c1f7f2dbcd82776425c08ba8cc48af3e2b9ce |