Python module that makes working with XML feel like you are working with JSON (by martinblech)

Xmltodict Alternatives

Similar projects and alternatives to xmltodict

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better xmltodict alternative or higher similarity.

Suggest an alternative to xmltodict

Reviews and mentions

Posts with mentions or reviews of xmltodict. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-07.
  • Like JQ, but for HTML
    news.ycombinator.com | 2021-09-07
    xmlstarlet is really nothing like jq, as a language. But yes, I use it because it is the best commandline xml processor I'd found. That's the only similarity to jq.

    Is this the yq? https://kislyuk.github.io/yq/ It does contain an 'xq', as a literal wrapper for jq, piping output into it after transcoding XML to JSON using xmltodict https://github.com/martinblech/xmltodict (which explodes xml into separate JSON data structures).

    This is a bash one-liner! But TBF it really is a 'jq for xml'. I think it would be horrible for some things, but you could also do a lot of useful things painlessly.

  • Parsing unknown XML file with Python?
  • I used raw data from my watch (and Python) to make a map of all the NH48 hikes from this year. I hiked Liberty and Flume before I got the watch in June, so I need to do those again! Color-coded by altitude.
    reddit.com/r/wmnf | 2021-01-05
    Super-easy, take a look at xmltodict https://github.com/martinblech/xmltodict xmltodict.parse(xml_str) gets you a dictionary


Basic xmltodict repo stats
4 months ago

martinblech/xmltodict is an open source project licensed under MIT License which is an OSI approved license.

Find remote Python jobs at our new job board 99remotejobs.com. There are 10 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.