Skip to main content

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


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.10.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

marops_config-2.10.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page