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.6.0.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file lookout_config-1.6.0.tar.gz
.
File metadata
- Download URL: lookout_config-1.6.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 | 50a66763fef98c2df5c93064a00978453e4e1b8debf19d17ef894e9016f2a76b |
|
MD5 | 44229fb0acf08f4325dfad5264669fef |
|
BLAKE2b-256 | c5ce6d98c35f8e9344746c95f4346b78af373b6250c848438401206071d3e649 |
File details
Details for the file lookout_config-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: lookout_config-1.6.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 | ca77d3524505e243b4c0a1c12b95ad7dad37b5daf164ecc22d7e39b8abad77ff |
|
MD5 | b341175c534925d039e37c3004d9d5f8 |
|
BLAKE2b-256 | 0cb345a0b89b62c6c90b41647317aa0ba384f94a1fb5ff614d33f55a0a4756e2 |