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.4.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.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: confignest-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1ffbd1cacc57bc9fa931613ebaeb31366ab46f33d5b768448761d0206365c294
MD5 3d2892a49a47b1c63bdba58578d53739
BLAKE2b-256 4fda337ce3a5f65bf340e3f19c01b272a544dd9807d63a1782ceae46c9adb56c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: confignest-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0948a90931af01418c62c35e8c5528091059f8327892276acda2944c7809ba1a
MD5 89266ad0eb16686a0a272fb309e77234
BLAKE2b-256 1076ec04f453a9fef224e9a71b812c89be39c5ab9f716ce05a592dcb04377318

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