Skip to main content

Renamed to vivarium-config-tree; this package is a redirect. See README.

Reason this release was yanked:

Empty shim causes ImportError on import layered_config_tree; users should pin v4.1.7 (last real release) until a working shim is published alongside a migrated vivarium-core. See https://github.com/ihmeuw/layered_config_tree for migration guidance.

Project description

NOTE: This repository has been archived.

Development has moved to the vivarium-suite monorepo, where this code now lives at libs/config-tree/. The package has been renamed and is published as vivarium-config-tree on PyPI and imported as vivarium.config_tree. The primary class LayeredConfigTree has been renamed to ConfigTree.

This repository’s final release is v4.1.8: a shim that contains no code and only declares vivarium-config-tree>=5.0.0 as a dependency. No further releases will be cut from this repository. File issues and PRs against vivarium-suite instead.

Existing users do not need to change anything immediately. pip install layered_config_tree continues to work (the v4.1.8 shim transparently installs vivarium-config-tree), and import layered_config_tree continues to work (temporarily) via the vivarium-compat import shim (with a DeprecationWarning). Update at your own pace.

To migrate fully to the new package:

Install:

pip install vivarium-config-tree   # was: pip install layered_config_tree

Import:

import vivarium.config_tree                       # was: import layered_config_tree
from vivarium.config_tree import ConfigTree       # was: from layered_config_tree import LayeredConfigTree

The class rename is a two-step migration when consumed through the import shim: from layered_config_tree import LayeredConfigTree still works because LayeredConfigTree is kept as a deprecated alias on the new module. To clear the deprecation warnings entirely, update both the import path and the class name to their new forms above.

Original package overview

Layered Config Tree is a configuration structure that supports cascading layers.

Supported Python versions: 3.10, 3.11, 3.12, 3.13

You can install layered_config_tree from PyPI with pip:

> pip install layered_config_tree

or build it from from source:

> git clone https://github.com/ihmeuw/layered_config_tree.git

> cd layered_config_tree

> conda create -n ENVIRONMENT_NAME python=3.13

> pip install .

This will make the layered_config_tree library available to python.

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

layered_config_tree-4.1.8.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

layered_config_tree-4.1.8-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file layered_config_tree-4.1.8.tar.gz.

File metadata

  • Download URL: layered_config_tree-4.1.8.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for layered_config_tree-4.1.8.tar.gz
Algorithm Hash digest
SHA256 8f7a3cc7b6063ba6b3820ab60285ada41953cfea8ccf5415b46e2b08c76c4cec
MD5 dd4b5d5d75f3ba8164ccb75cdf4f2bc7
BLAKE2b-256 628ba34af014496b6ab5d9afcb274e3f1987e1577b9acdbc4da4ae14f416dfd6

See more details on using hashes here.

File details

Details for the file layered_config_tree-4.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for layered_config_tree-4.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba6a220dc9f574d274c81bbcc4fe17ff22c466f8d7b1540f5583d4b4581456d
MD5 cf5ecfcd0e261515085e94a45084f083
BLAKE2b-256 f23a204d4159f87a84a08a90189d4a84d8aa35b4f3b786a2a3c4e97083867c80

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