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.2.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.2.tar.gz.
File metadata
- Download URL: marops_config-3.1.2.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 |
ff57947b6974af9e392410a3cfd5c195c007fd4484e24cceec30535b450e3f1c
|
|
| MD5 |
7dc382e9f0bb6c2aa19c0a8e5bd328ed
|
|
| BLAKE2b-256 |
d726153ab2ab0bf50e6c41bb1c26e86b517afd686330517cd631453b9a6d8fe1
|
File details
Details for the file marops_config-3.1.2-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.1.2-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 |
bc1b1bbfb7f7f72c350c4c57a7634d52ea570842c3b56304625a9e27ed3bce26
|
|
| MD5 |
49fae784872f3063a34a23b6913dc925
|
|
| BLAKE2b-256 |
7115c4011618fcc2ce35e9e88eb27fdc45fdbdcc294b961b2d10cb61089b190f
|