From a274289ebbb33ee30cf0abad3642c23b523803a4 Mon Sep 17 00:00:00 2001 From: libremente Date: Wed, 28 Aug 2019 11:28:58 +0200 Subject: [PATCH] Fix MIME type and description --- publiccode.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/publiccode.yml b/publiccode.yml index 888e6bd..ac98953 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -15,7 +15,7 @@ platforms: - mac softwareType: library inputTypes: - - XML + - text/XML categories: - data-analytics - data-collection @@ -57,17 +57,17 @@ description: You can install the package with _pip_ in a Python 2.7 or Python 3.5+ environment: - - pip install elementpath - + ~~~ + pip install elementpath + ~~~ For using it import the package and apply the selectors on ElementTree nodes: - - >>> import elementpath - >>> from xml.etree import ElementTree - >>> root = ElementTree.XML('') - >>> elementpath.select(root, '/A/B2/\*') [, , ] - + ~~~ + >>> import elementpath + >>> from xml.etree import ElementTree + >>> root = ElementTree.XML('') + >>> elementpath.select(root, '/A/B2/\*') [, , ] + ~~~ features: - XPath 1.0 and XPath 2.0 implementations