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.7.3.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file lookout_config-1.7.3.tar.gz
.
File metadata
- Download URL: lookout_config-1.7.3.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 | 9772f83a6a5ea50c1f540a70c77cab258a7492d8f5f53585acf67366c00268b2 |
|
MD5 | cc85290ddf28b0b149227d31cc68b7a2 |
|
BLAKE2b-256 | 347f997400630deff9ffc1a707722c1ee2c75bffa757c3c5a2db6acb307b60ee |
File details
Details for the file lookout_config-1.7.3-py3-none-any.whl
.
File metadata
- Download URL: lookout_config-1.7.3-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 | 03346ebb9003914918ca2b2773e23c4ea32fa1b284f08b200d019d0adf22bd19 |
|
MD5 | c1fa879bc1686581b71ae8144e2ac68e |
|
BLAKE2b-256 | 5c99a49dd4a54673d8c1e2e8c151fbd41d03494c1ba1f8acc5ecbcdb6f5af664 |