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-2.9.4.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-2.9.4.tar.gz.
File metadata
- Download URL: marops_config-2.9.4.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d9ec75df5b7e117bdcc600ddb0c4cef34ee284ac272eb90175777703772377e
|
|
| MD5 |
9f3bcd007288529851acb5d9ad5786a9
|
|
| BLAKE2b-256 |
31ba672cf10281ec95c999fa2977015cc0b04083541718a37362ce238a24e1b3
|
File details
Details for the file marops_config-2.9.4-py3-none-any.whl.
File metadata
- Download URL: marops_config-2.9.4-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15f7b1259dac3be05f5bedce7fbde30d86d4b637a9c2fb73b2b8747d7b93ef3d
|
|
| MD5 |
37521627fd368fbe141db23f6253700c
|
|
| BLAKE2b-256 |
eaaa16a4a29b768db3f412e8e6ebbb97de3de809de21d8f6dd74d74c22a7a977
|