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.5.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.5.tar.gz.
File metadata
- Download URL: marops_config-3.1.5.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b3d2250fe9235bc60fe46c26fc63fa107408de4257c5793cee5edc273c236ce
|
|
| MD5 |
63a47441b67658b05587032071c91309
|
|
| BLAKE2b-256 |
f8c08ddbc5acdc2533011df5dd6b126932160eab6ee041a665aef95a5761e2a9
|
File details
Details for the file marops_config-3.1.5-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.1.5-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
071c8aaac670089c603198c7bba4e1991a0c120a6757242cf549af752071fefe
|
|
| MD5 |
e7f7fd757667ab6f52545ae243ccdd4a
|
|
| BLAKE2b-256 |
5fde8a8693511293b112acda9fc00e9392012cf34101f33c1f3f0c5a9bf9324c
|