Skip to main content

Filesystem-like pathing and searching for dictionaries

Project description

DPath is a library that allows you to access dictionaries similar to using find over a filesystem. The proper documentation is maintained on GitHub: https://github.com/akesterson/dpath-python

Version 1.2 introduces a number of fixes against 1.1:

  • List handling has been completely redone. Various builds of 1.1 had fundamentally broken list handling. 1.2 handles list insertions, deletions, and searches as expected.

  • The backend path library has been improved to include type information with each path component, so the issue of lists mysteriously being transformed into dictionaries will no longer happen

  • The merge function’s filtering has been fixed; before, it was broken, as directory nodes were merged in before filtering leaf nodes, making the filters essentially useless.

  • The unit test suite has been expanded.

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

dpath-1.2-46.tar.gz (7.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page