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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: marops_config-3.9.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for marops_config-3.9.0.tar.gz
Algorithm Hash digest
SHA256 e9e3a097067ecc75bb5ee91c3e9ae1c261cf4df1ce12e77e5fea5d4ba0f93b9e
MD5 2ccbc37d0edc6c606205e4893b69cd31
BLAKE2b-256 a6d9520dd1ffe484574313d0b69b54391d10ab14d29331bb36898eb48eee5c42

See more details on using hashes here.

File details

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

File metadata

  • Download URL: marops_config-3.9.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for marops_config-3.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b4dea78e6e1fc9ce71604f7eea934ed33621f48e2f72f0f0c319cee8ff7a75
MD5 66bfc7bfd381f5899696e71a13a4c3e6
BLAKE2b-256 7eb25520880b8860b9573e98d959b87f146dd8510e068a0a5440af8b62abb8f7

See more details on using hashes here.

Supported by

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