A library for reading / writing MarOps config files
Project description
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
Project details
Release history Release notifications | RSS feed
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.4.3.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.4.3.tar.gz
.
File metadata
- Download URL: marops_config-3.4.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 728fb3de1147adbcd4f465fd48f165429520018decedacdbb81cbb863685c7d1 |
|
MD5 | 58ff1e312188ce7c1196390b7a8f5f1b |
|
BLAKE2b-256 | f321679f3174956ab341dc4cb3c759c8338d5770fd6b4f3dcedbb43a00abb83e |
File details
Details for the file marops_config-3.4.3-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.4.3-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.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55069493e55a59148c9c9c4f810ac270d88160371b36eb1f2966528ba1eb765c |
|
MD5 | 618989124af8ca9648f70f7c4813a898 |
|
BLAKE2b-256 | 299037085413280df69a16614a79ad684ca9f1909c5e84ecc63f0640112977c5 |