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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lookout_config-3.10.0.tar.gz.
File metadata
- Download URL: lookout_config-3.10.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8681977ac425c105e74b463f3c368c2b70aed8e76f429d9f0ffbc8f81b5a5470
|
|
| MD5 |
f9fab9d535d5e090d97d6fe17bea66d5
|
|
| BLAKE2b-256 |
9f697401dd640702a598159e96518d8495922b859ae02e9161b93ead2f662d39
|
File details
Details for the file lookout_config-3.10.0-py3-none-any.whl.
File metadata
- Download URL: lookout_config-3.10.0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa6c50a5e282b8f01a4e666f3595a790e3318b8977b55777cb8b3af255f281db
|
|
| MD5 |
f63092deb2b472d8ced59f3bc1f89add
|
|
| BLAKE2b-256 |
0b7ad0f9973a0a99e9f8f65d101e47d72c7a3dfa5dde34850e50b0657e106a90
|