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
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-1.9.0.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file lookout_config-1.9.0.tar.gz
.
File metadata
- Download URL: lookout_config-1.9.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075b46760572e8f7e6d3a7a255bb1219a8424054122b975907a44fbf0986b9df |
|
MD5 | 411be46e9de1172af7591b103448bb09 |
|
BLAKE2b-256 | 355a2559123e3b904cfe3f561b7f44d2127d755bcdee70c9e584e0e3a60a91d8 |
File details
Details for the file lookout_config-1.9.0-py3-none-any.whl
.
File metadata
- Download URL: lookout_config-1.9.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d883da9bd3c84a051c560b448bb81d4708917b4ef3305db5bad588b7dc6bf53 |
|
MD5 | c46a6e38bb23ef40eed7a315eab13b92 |
|
BLAKE2b-256 | 34f5c5e520a379d6a3b03e34ac78c2d1ec29e6737fe375cddf8ee9dd841293ff |