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.2.0.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.2.0.tar.gz
.
File metadata
- Download URL: marops_config-3.2.0.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 | f866a24eceb56ccf02a40197e9abd82a02d190ab93cd27626450bcf76e1c7800 |
|
MD5 | c45a34ea9efabc245054f55f2bfd5a23 |
|
BLAKE2b-256 | a00e118e24c4190193746afeae8874669b656383ebb4ed552a81ff9cf62ac0f4 |
File details
Details for the file marops_config-3.2.0-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.2.0-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 | 9b51dc24cf4d62629a474599220f7172f8f5f5ca162db5932ba070f28f96c1bd |
|
MD5 | 2a48b7c117eb0835caa6ae6f57f7815a |
|
BLAKE2b-256 | 91708388e47150ab77f3e974fd48f6a1b238bb4c54a35cbfd3026d53d1d42482 |