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 ./packages/lookout_config
  • or...
  • pip install lookout_config (Public on PyPi)

Usage

Reading config

from lookout_config import get_config_io

config_io = get_config_io()
config = config_io.read()

Configuration I/O

The ConfigIO class is built on fluxconf's ConfigIO, which handles YAML serialization, schema validation, and file management.

LookoutConfig inherits from VersionedBaseModel — the config carries a version field that enables automatic migrations when the schema evolves.

Development

Regenerate JSON schemas after modifying configuration classes:

python3 -m lookout_config.generate_schemas

Run tests:

pytest ./packages/lookout_config

Project details


Release history Release notifications | RSS feed

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

Uploaded Source

Built Distribution

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

lookout_config-3.13.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lookout_config-3.13.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for lookout_config-3.13.1.tar.gz
Algorithm Hash digest
SHA256 861111f07b3fee6e36b54b23bd70a60051a1b90e1db04d9f593f479c2307dd80
MD5 4ba82af55b763b9547ded57b87d60ae2
BLAKE2b-256 04d10d0ef350b30ac4b0efc46b97de372cabe6a742e33ebdb6873fbc45e58f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lookout_config-3.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f15de3846e4649713def6d3f5f4831459b56e71ea857ef74738636425e3ec08
MD5 41adc5057cffdf3c74872b809ca5ef0c
BLAKE2b-256 1b4dd4c9cf6d9db8d9cb86c2fd16399a43ebf502084cc838870748c0c79d30d2

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