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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for marops_config-3.6.1.tar.gz
Algorithm Hash digest
SHA256 954dcbce6c74e071b0ab705081c883fb6ea697b9fbdb88ca5dc857981ff619e2
MD5 50a260af51fcea742fc8357d37f05044
BLAKE2b-256 1591639e789998c1a2ccaeccf18940a0455797c7dbae4712e46cd33c0e9615f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marops_config-3.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c478424c491342865872acca274408d45f8e1ee05249ac1ebc7b8c8cd93c5f37
MD5 d486ec01aafa1ae2e81aee44c6db7487
BLAKE2b-256 1dc419bfc7dd08c1414150e451569c6cd32cee9322cade9d15355f94c56308a7

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