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.1.7.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.1.7.tar.gz
.
File metadata
- Download URL: marops_config-3.1.7.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3610524251159da41de2147d1ba9bce6327ece3d46656aafa2a1862f35c99b3c |
|
MD5 | 5888658512e02e3e2d39cca5cd656663 |
|
BLAKE2b-256 | 12faf9aaa65fdc0a3ac2608718ae3d434c1dff13ee77faab3feb5cffdb195a5d |
File details
Details for the file marops_config-3.1.7-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.1.7-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.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 235685d5211b256162c3592f2e703c21ddd6d354f9f059f6239f554e71a00ccb |
|
MD5 | 5d6e6016c3c7220c70c3284787cbdafe |
|
BLAKE2b-256 | ffd06d94bb2b5911c8a598b02b83b8ee46b71766070a0c362730778d82f4531c |