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.1.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.1.tar.gz.
File metadata
- Download URL: marops_config-3.1.1.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 |
59f86e83fcbba57d46b5f95af57fdd122b3678af5f9c38575f825c586c533340
|
|
| MD5 |
0b004842638fd793cccf3a4db88209f7
|
|
| BLAKE2b-256 |
9e7410c8a5b52a2d66410c82d75e4611a85d197b9e52df97e3b4b4439b13dbaf
|
File details
Details for the file marops_config-3.1.1-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.1.1-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 |
dfe9f1c82a5f507aeeba7ecfce2bbac2414b5869610bb39f6a093bc33c6b8c8e
|
|
| MD5 |
551abe19edbc39385f66db8e2fb3c60c
|
|
| BLAKE2b-256 |
56c632d59833f54dad9c066ab9ab99a41e6dc8e282674e6096f8fa177e27bba4
|