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.1.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.1.0.tar.gz.
File metadata
- Download URL: marops_config-3.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
033366ba6a74f5c826a44081a29d43e2375858806a9a6f7e652529c42962352a
|
|
| MD5 |
0bc0cd862767b280ab3b281e3f7b42bc
|
|
| BLAKE2b-256 |
f3d1430b48fdc2b18205799412ac738a3de3719f2344b3587d883f548be2e93f
|
File details
Details for the file marops_config-3.1.0-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b175b55134b05ad8776c0a449fcdbaa1a63a8b753fffe13a562f5b79c795e73
|
|
| MD5 |
3f223ad45a17efe89ba8fb4a68701ecf
|
|
| BLAKE2b-256 |
3a9589c79b8d5dff89f4290d4f80102084f731cd2340c5aa09cbd82f16dfc914
|