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.3.tar.gz (5.7 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.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: confignest-1.0.3.tar.gz
  • Upload date:
  • Size: 5.7 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.3.tar.gz
Algorithm Hash digest
SHA256 cf1809aaaa832022042c878af72e8abb9c83dc127dc6272d64901c65fda41cdf
MD5 7901b825367652f765a04de9ce997fe5
BLAKE2b-256 9df1c413de3f728adfa59bb3ca693ccec61c7feefab09a94928f11d58581cb2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: confignest-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d5ad21ca7ac5597e27eb6ce12b281a2de2360bf3e591c993440fd6d25ab789e1
MD5 b93fe73c66be3cbf0c985e2c3a7caa2e
BLAKE2b-256 650b34e12ab2fa2011f00560d28afd4d2eac79b939994d9c540f9124d1e576b9

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