Skip to main content

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


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.2.1.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

lookout_config-1.2.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file lookout_config-1.2.1.tar.gz.

File metadata

  • Download URL: lookout_config-1.2.1.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.6

File hashes

Hashes for lookout_config-1.2.1.tar.gz
Algorithm Hash digest
SHA256 481afeaf6a1407caed75296b1475f3d4e423d1d333779cbd5b0adeeb9617711b
MD5 19d16442563e080937b0b516b0322def
BLAKE2b-256 a9a3ad8e21cccf5366dee45b4da870a3ecd1788ad00478285e2d2ce12df53df7

See more details on using hashes here.

File details

Details for the file lookout_config-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for lookout_config-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fb0e64c6d5646be121bbd07d3cca74ac9dc031d0632b3815d237247c41b4e0c
MD5 f7dc46b1e43765a48d4af055b6bc5eb8
BLAKE2b-256 7f627b9b1108f54c3983eab28c5feb4114be997bb409597a7dda2f0c27552493

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page