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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: marops_config-3.4.2.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.4.2.tar.gz
Algorithm Hash digest
SHA256 9e83b7d78ee89bf68b5ddee93b0e3e44fa0aaee04584a9c895556280426bbad1
MD5 43544ed7b1497f7df31404c1faca1cec
BLAKE2b-256 ba019e1551c1a8288f61a8594d2bac1e77c10646e517368e9fef5f238442b3a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for marops_config-3.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc34ca7af4b4331becb6006081ac40cdae49b63cbb10989bc43a2897d26be71d
MD5 4b46adf930dfd4adb4289b35f8037335
BLAKE2b-256 e3b1f3eb554c2381fc383a47c69c8f3a66a79f9218f4f311f79f223c5c90fc80

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