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:

  • Support for python 3

  • 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.

  • Support for python 3

Many thanks to our community contributors for their patches (alan gibson, xhh2a).

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-57.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file dpath-1.2-57.tar.gz.

File metadata

  • Download URL: dpath-1.2-57.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dpath-1.2-57.tar.gz
Algorithm Hash digest
SHA256 d47ef9bb5b9650d412ea52301d1a62e99ab01b87510a3e9d324d15baaf349f44
MD5 298ef67bf3a2f692c1f7a1fe0ae7f93d
BLAKE2b-256 0f6d603aeb86600e1f6b7ac6ee539e1186ea0fb9f2c76e3f9a72924500a49e21

See more details on using hashes here.

Supported by

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