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.7.0.tar.gz (15.7 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.7.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lookout_config-3.7.0.tar.gz
Algorithm Hash digest
SHA256 bfc7971cadd03dab2b3a52209f18640d445761c4c288bf209927fb468254d046
MD5 684c38f462c952586dd7b08789fb1bd6
BLAKE2b-256 3c7561671f61797814e1c83637b110b78cb547e85b14e9b22621d92f965955ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lookout_config-3.7.0-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for lookout_config-3.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 311b323a8954da59741f159331d39b63e5d1c3d767f65e05c53ea5e2bf05fd84
MD5 d7346ca64d5d3e4c7249d93359c35af0
BLAKE2b-256 c6882a4d559e797efaf52b84c669ed0cec833396e4ca3f8c1491bc6c6d17b0be

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