Skip to main content

configs in a good way

Project description

Goodway Configs

This library contains utilities to work with configs in a good way.

Installation

pip install goodway-configs

Getting Started

The following code uses MultiConfigLoader and JsonConfigLoader to combine two config files together.

from pathlib import Path

from goodway_configs.config_loader.json_loader import JsonConfigLoader
from goodway_configs.config_loader.multi_loader import MultiConfigLoader

loader = MultiConfigLoader(config_loaders=[
    JsonConfigLoader(file_path=Path('./config1.json')),
    JsonConfigLoader(file_path=Path('./config2.json')),
])

config = await loader.load_config()

Documentation

Documentation can be found here.

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

goodway_configs-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

goodway_configs-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file goodway_configs-0.1.0.tar.gz.

File metadata

  • Download URL: goodway_configs-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.19.0-42-generic

File hashes

Hashes for goodway_configs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3bcb5e9f4087a3965532b300458246e5fef3c08a5168b84f81337b6c72158e28
MD5 405cca6d2dec0fff5238e298581f34d4
BLAKE2b-256 b702deba2db2a7c7c102bedd31f9a4b49b2c0fd2218d6a15e7633fe2ff6d9fa9

See more details on using hashes here.

File details

Details for the file goodway_configs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: goodway_configs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.9 Linux/5.19.0-42-generic

File hashes

Hashes for goodway_configs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c14717360de3eefe36b02de005fc5878e8ac390a1c3364a3a26c437af7d42c0
MD5 e2bbf1beb9d43f1ede2955ae16fde413
BLAKE2b-256 a894f360f428d1baa673aeb834ac24e566aa161ed83c760f46dcbbac0eb41540

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