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

Uploaded Source

Built Distribution

marops_config-3.6.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file marops_config-3.6.0.tar.gz.

File metadata

  • Download URL: marops_config-3.6.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.15

File hashes

Hashes for marops_config-3.6.0.tar.gz
Algorithm Hash digest
SHA256 750260847fdf2d344dc6d2228b9ba4659d19c74281d5c7eade9fdc6cb3ff36f8
MD5 cdd9f086e7c01f3cd308f63b9224d50c
BLAKE2b-256 c52127ef2c4e3dc1d453c3179eb9a63712e9636f4000c06f6e68c45e60443f2c

See more details on using hashes here.

File details

Details for the file marops_config-3.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for marops_config-3.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eea64f04da3f3a1e7f5dfa72053913fa386e4888b9f1e01918e97d50563483f2
MD5 8e1dbff51eb120fc0c5a1178ce18586a
BLAKE2b-256 6925d458be264ecbd26b16d36a4e1cd5b4c924bccd598c38d90b48e62fc3c000

See more details on using hashes here.

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