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.10.1.tar.gz (16.4 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.10.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for lookout_config-3.10.1.tar.gz
Algorithm Hash digest
SHA256 56d603d14a10884b48315db906a4aed577165b1682ea77ce81e98f353e17cc54
MD5 64a663e96be9f1828e30da72c9610173
BLAKE2b-256 49eabaf48499637c1f316ec8fb0d09c8a0069758f4821b705db031d3fcb7c5d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lookout_config-3.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 938a24722f74a80b1fbbc0ac0e27c3a772852b15f3dd0228015b077f60b5833a
MD5 2c5476303e8d21773b961a78c60751d5
BLAKE2b-256 5a9fbf072a7cf8c3c8e484aa74a7ed47fdbf410d773a30e50c4108f0b7ae0af5

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