We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d383f6b commit 672269aCopy full SHA for 672269a
README.md
@@ -1,2 +1,12 @@
1
-# python-hash
2
-A way access values in key-value lists using dot notation
+# Python Dict Dots
+A way access values in nested key-value dicts using dot notation.
3
+
4
+I wrote this is reduce the amount of times I will have to do
5
6
+```
7
+data = None
8
+if nested_needle in haystack[needle]:
9
+ data = haystack[needle][nested_needle]
10
11
12
+or some kind of loop that searches nested dicts
tests/test_dict_dots.py
@@ -1,5 +1,5 @@
import pytest
-from dictdots.DictDots import DictDots, InvalidQueryString
+from DictDots import DictDots, InvalidQueryString
@pytest.mark.parametrize("query,result", [
0 commit comments