Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
Agent-Hellboy authored Oct 17, 2024
1 parent 881d7e9 commit 51b85e4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,6 @@ For development
- python -m venv .venv
- source .venv/bin/activate

Example
=======


you can use the library as ``python3 -m trace_dkey --file=test.json --key=name``, test.json is

A JSON file containing name as key

.. code:: py
>>> from trace_dkey import trace
>>> l={'a':{'b':{'c':{'d':{'e':{'f':1}}}}}}
>>> print(trace(l,'f'))
[['a', 'b', 'c', 'd', 'e', 'f']]
Now you can query it as l['a']['b']['c']['d']['e']['f']
>>> l['a']['b']['c']['d']['e']['f']
1
Documentation
=============

Expand Down

0 comments on commit 51b85e4

Please sign in to comment.