[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#33565] [PATCH] gnu: Add python-xmltodict.
From: |
Ludovic Courtès |
Subject: |
[bug#33565] [PATCH] gnu: Add python-xmltodict. |
Date: |
Tue, 04 Dec 2018 09:47:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi!
Oleg Pykhalov <address@hidden> skribis:
> address@hidden (Ludovic Courtès) writes:
>
>> Oleg Pykhalov <address@hidden> skribis:
>>
>>> * gnu/packages/xml.scm (python-xmltodict, python2-xmltodict): New variables.
>>
>> [...]
>>
>>> + (home-page "https://github.com/martinblech/xmltodict")
>>> + (synopsis "Work with XML like you are working with JSON")
>>> + (description "This package provides a Python library to work with XML
>>> like
>>> +you are working with JSON")
>>
>> Could you expound a bit on what this means (I’m curious!) and add a
>> period?
>
> It's a quote from the home page. :-) But in reality this Python library
> converts input string which contains XML to an OrderedDict object which
> looks like a JSON. Queries for data inside OrderedDict feels (I guess)
> like you're working with JSON. Maybe we should change a description to
> “This package provides a Python library to convert XML to OrderedDict.”,
@code{OrderedDict} even. :-)
LGTM with this change, thank you!
Ludo’.