Box
Box copied to clipboard
Python dictionaries with advanced dot notation access
We're thrilled to share that [your project](https://hellogithub.com/en/repository/6c3941ac8e324828abf4001f2c9d8cf5) has caught the attention of the HelloGitHub community and has been recognized for its merit. Your work is truly inspiring, and we'd like...
Fix #291 I'm not entirely convinced this solution is valid. Maybe the merge_update function should accept a `frozen_merge` keyword argument. This argument would be set to True in the `__add__`...
Fixes #282 ## Fix yaml.load deprecation warning Replaced deprecated `yaml.load()` calls with `yaml.safe_load()` to avoid deprecation warnings and potential security risks. The change maintains the same functionality while using the...
# What happens when I add two frozen boxes ```python c = a + b ``` exception is being thrown ``` File "box/box.py", line 311, in box.box.Box.__add__ File "box/box.py", line...
When attempting to use Box.from_yaml(string), I get: "load()" has been removed, use yaml = YAML(typ='rt') yaml.load(...) and register any classes that you use, or check the tag attribute on the...
[The TOON format](https://github.com/toon-format/spec) is an useful alternative for data serialization when data needs to be sent to LLMs. There is a [Python implementation](https://github.com/toon-format/toon-python) to serialize and deserialize the format.
Hello! Thank you for this awesome package. The combination of camel killer box and box dots does exactly what I'm looking for. Well, almost - there's a couple of behaviours...
The following piece of code could be added in the source code, which allows using `myboxobj("a.b.c.d")` instead of `myboxobj.a.b.c.d`. This simplifies some dynamic coding. ~~~python #!/usr/bin/env python3 from box import...
Fixes #295 - use case is using IP addresses as keys in a Box with dot functionality enabled
Essentially I want the user to _not_ have to use this ```python empty_box = Box(default_box=True) ``` but rather I want this call: ```python config = MyConfigClass() ``` to be equivalent...