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.3.6.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file lookout_config-1.3.6.tar.gz
.
File metadata
- Download URL: lookout_config-1.3.6.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec5a646487500a5ee3233b8d3bfd3e4d351e475f72b3619d64f22a32f094de86 |
|
MD5 | 2a64f93a6c29226ca52c09f5dda00c86 |
|
BLAKE2b-256 | 47123711303b0e36a438b568dcc2049fb699ca82ca3bd399289d93fed6ba5119 |
File details
Details for the file lookout_config-1.3.6-py3-none-any.whl
.
File metadata
- Download URL: lookout_config-1.3.6-py3-none-any.whl
- Upload date:
- Size: 7.7 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 | 866702728259fc0318ea1c23da405e0321750c044360b0b87795c9d6bb34f121 |
|
MD5 | 76a32bd3c908cea7d450dd66a8dc0737 |
|
BLAKE2b-256 | a9470d64ddc04ecd1597589a13fd316dadbb5135e0e6a55a691739083db2bba4 |