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
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.8.0.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file marops_config-3.8.0.tar.gz.
File metadata
- Download URL: marops_config-3.8.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f85e8a04d406032e4f274b5d38b0816c41cdee3b430eacc73430449106bf7f
|
|
| MD5 |
d4281d8fadda5c9bb8c3fc44d3638c73
|
|
| BLAKE2b-256 |
cb6541137a56606c98df86a79fb9b3435ad3dd31ae262d350177bdffbea25e92
|
File details
Details for the file marops_config-3.8.0-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.8.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2e36fc0a727a75336c9422a89a02eee2022d725da683df531767fc6621c0a71
|
|
| MD5 |
e4d03fd95dca1b884507b0c475d618d1
|
|
| BLAKE2b-256 |
e8c5dbf470fdba2c7679ae996c1cced09917b465168f86a0bbc0339e777fd69b
|