Skip to main content

A library for reading / writing Lookout config files

Project description

Lookout Config

Lookout Config is used to load config stored inside the ~/.config/greenroom folder.

Install

  • pip install -e ./libs/lookout_config
  • or...
  • pip install lookout_config (Public on PyPi)

Usage

Reading config

from lookout_config import read

config = read()

Writing config

from lookout_config import write, LookoutConfig

config = LookoutConfig()

write(config)

Generating schemas

After changing the dataclasses, you can generate the schemas with:

python3 -m lookout_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

lookout_config-1.4.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

lookout_config-1.4.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file lookout_config-1.4.0.tar.gz.

File metadata

  • Download URL: lookout_config-1.4.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for lookout_config-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0bf292a24c210877961232e5e89fe053afe06bbfc880828987dfbabb1cb1cf0e
MD5 3e856a5e84f69f43117269a71f8b576f
BLAKE2b-256 9e2808695a150b48bda7f3e7bf5cb6802fa17455909d0a7d9dd18dcb23fa441c

See more details on using hashes here.

File details

Details for the file lookout_config-1.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lookout_config-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1390b0b9682f00db7515f58cb3648e7369d431a612663d7d2588b02de515d24c
MD5 337a41e7bb7df5ea617fcd37235eda9c
BLAKE2b-256 0fe658e96ca3a14e60952cb338ca4a0a6ea3175d92953083a0470e0c67570a82

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