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.1.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file marops_config-3.4.1.tar.gz
.
File metadata
- Download URL: marops_config-3.4.1.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 | 77fb94fe9f72ee3a758b44609ff0f6f138a9d7918ea152694e1be9922f264b35 |
|
MD5 | 828245f35ea511df453f7c11c6dca2c7 |
|
BLAKE2b-256 | 4f6da8d2e4db2c9faf4a6fa1e72aa428e22d032264cdac8c0b97d55ee3f701f3 |
File details
Details for the file marops_config-3.4.1-py3-none-any.whl
.
File metadata
- Download URL: marops_config-3.4.1-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 | 19033a2dc1e7692918d610f4c5deefd2ac1f967b44ef440daa0b1ae4260600ea |
|
MD5 | d66833f70de46a6a52a1d3ebfb5af766 |
|
BLAKE2b-256 | 49211dab49717a8bc8afc722647dd1f99257833349cfc8ddd95d2eb533304c2c |