Skip to content

gordon-code/filterpath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filterpath

Recursively gets and filters dict/list-like objects with a path-like syntax

Examples

>>> from filterpath import get
>>> obj = ["one", {"two": {"three": [4, [{"four": [5]}], 6]}}]
>>> get(obj, "1.two.three.-2.0.four.0")
5

See more in-depth examples in tests/get_test.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages