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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: marops_config-1.1.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-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9b9ce8540040a15aa97e030e7b48e43611ef114867b15ab76625b9fa9a63d35c
MD5 00db06b976c056d07a9b7ee8b5d9ddeb
BLAKE2b-256 c49ba696483829e82d1c0ac87f632e87934f9d6cae37f0a38616c8639252e47e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marops_config-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 af223d1b664e0e67d0572e3435a8fb2ec5184beafe9068ffbc30b37a68288db6
MD5 31c21bff68c418a37b4bb9b21371a12f
BLAKE2b-256 66ab9f5e5f5bba178b6cb20003dd3bb432fcaf164aeb9388b2e01a42354b42ca

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