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.7.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.7.1.tar.gz.
File metadata
- Download URL: marops_config-3.7.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5609465e6865344aac874258bd81ac0f0de77b7fffaa07df549aacb7be073a65
|
|
| MD5 |
fe2f967b261e535de583be1d39898929
|
|
| BLAKE2b-256 |
7e98196cff46cc8baf0e7367bcd2a180cd907aff7b2a19333200e3eb1a3bfdd2
|
File details
Details for the file marops_config-3.7.1-py3-none-any.whl.
File metadata
- Download URL: marops_config-3.7.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4add60d73c1fb3db926289482ea34e7b3c545b73d9278a2ef25ce63998046930
|
|
| MD5 |
6d45f2ebad4aa2cb0f38e80749ee54ea
|
|
| BLAKE2b-256 |
e6d0c01eb66a4f2cbbfa0ef9c805897785a4e79d0bf8c6b62ef5762e44c0b6f8
|