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.3.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.3.tar.gz.
File metadata
- Download URL: marops_config-2.9.3.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 |
1ce7734613c38df1c9fbd7a32df90f38ba83613a0f6dcd39a330a9cf9cdb0a22
|
|
| MD5 |
35df3fbe8ac2664a5fa5056c67358f34
|
|
| BLAKE2b-256 |
7764c756000066cd22ab8bb2b809372f75a2c51c47fcfc57f89667ef7aaef944
|
File details
Details for the file marops_config-2.9.3-py3-none-any.whl.
File metadata
- Download URL: marops_config-2.9.3-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 |
c49e54d966d3c5d89e2ad6d919ecc93f26ee46878821ac14a6faec5e100eb368
|
|
| MD5 |
a6948f6d1e0a5c1d5e2f9adad0eab7fc
|
|
| BLAKE2b-256 |
286a4dede22f35444d2bd94a3696d2b4c2dd56cc7e0c608145fbdb104e2b6817
|