Skip to main content

eXtraction Path

Apply XPath expressions to extract objects from any Python objects.

For XML-based objects, this library defers to the standard ElementTree implementation.

For non-XML-based objects, it provides a pure-Python implementation of the XPath spec… with some “caveats”. Since Python objects are not XML objects, things like a “namespace” need to be adapted in terms of exactly what they mean.

Metadata

Release history Release notifications | RSS feed

This release

0.0.1 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page