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.0.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.0.0.tar.gz.
File metadata
- Download URL: marops_config-3.0.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 |
c89b090dbb0a748841e9b3c431fcce85cd118b3dd10e40b5e4248e499ffc02fb
|
|
| MD5 |
1b177de1f76b217c2aa10168d7328b3a
|
|
| BLAKE2b-256 |
b981c9585d67eefcf965c986dfb216d156fa08877be635c8bf60b4bb0a4be95e
|
File details
Details for the file marops_config-3.0.0-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.0.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 |
cf4b8b175909e9305ee292a706168c5199c2168915b8c172de26de8998e21bb0
|
|
| MD5 |
4d7c58c57c6e8ecd12fa58a3ffe2e52f
|
|
| BLAKE2b-256 |
81849d5427d3dcc87ec83bd7373718ceb91ce858134ec69860367e5e9be103f7
|