Skip to main content

Managing Complex Configs in Nested Way.

Project description

This is for arranging multiple config files.

config nest manifest

This is a file under the config nest subfolder, it has 3 fields:

selection_mode: [one, all] # To include all names or select one of them
if_no_selection: [skip, deafult, error] #  if selection_mode is `one`, and not specified which to select in view file, skip this name, use the default name (next field value), or raise error when parsing
deafult_selection: [...] # if if_no_selection is `default`, this name will return
  • The default selection_mode=all, which means, if no manifest file (should be named CONFIGNEST_MANIFEST) all names are included.
  • The default if_no_selection=error, which means, if you do not select any of them in view file, this will raise error.

demo

For a demo, see the repo: 0-1CxH/megatron-wrap

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

confignest-1.0.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

confignest-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file confignest-1.0.1.tar.gz.

File metadata

  • Download URL: confignest-1.0.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for confignest-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a4faa7bf659a9b846715fff8579f3040d7b4abc1a84fe8b4f34bd5cdc4727be1
MD5 eecae4583c4a7d6efba16ac9f331fe39
BLAKE2b-256 907986c7d54e84ffa65b13fdb52bd057d095288c4f9243e7f23b5a05c2c6ec1b

See more details on using hashes here.

File details

Details for the file confignest-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: confignest-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for confignest-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 baa185afe835a287cc3d9e0237b23c24f33dc8c32eaab7b93a32bda92ce97deb
MD5 6bc0c6d18330afea3f2fdec0b87d24b5
BLAKE2b-256 35cfe7f6cd0137e6d48911fb37832ae66280b7caaf39a4110c5054d08e07c4f0

See more details on using hashes here.

Supported by

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