./textproc/py-xmlschema, XML Schema validator and decoder

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.6.4, Package name: py38-xmlschema-1.6.4, Maintainer: pkgsrc-users

The xmlschema library is an implementation of XML Schema for Python (supports
Python 2.7 and Python 3.5+).

This library arises from the needs of a solid Python layer for processing XML
Schema based files for MaX (Materials design at the Exascale) European project.
A significant problem is the encoding and the decoding of the XML data files
produced by different simulation software. Another important requirement is the
XML data validation, in order to put the produced data under control. The lack
of a suitable alternative for Python in the schema-based decoding of XML data
has led to build this library. Obviously this library can be useful for other
cases related to XML Schema based processing, not only for the original scope.


Required to run:
[devel/py-setuptools] [lang/python37] [textproc/py-elementpath]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 968b8b250adb86f7e5f27deb07ea104fa4170b6f
RMD160: 1528201ae06f11cc05d93792482c57f387c308e9
Filesize: 360.615 KB

Version history: (Expand)


CVS history: (Expand)


   2021-06-11 07:24:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xmlschema: updated to 1.6.4

v1.6.4
* Add testing config for Python 3.10 (Tox and CI)
* Fix internal _PurePath class with Python 3.10
* Remove redundant xmlns="" declaration when encoding with lxml

v1.6.3
* Refactor normalize_url() using pathlib.PurePath
* Support UNC paths
* Fix API docs
   2021-05-03 17:15:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xmlschema: updated to 1.6.2

v1.6.2
* Fix for issue 245 (key/keyref with dynamic types)
* Change default decoding of mixed content with only text to a string
  instead of a dictionary
   2021-04-15 08:39:33 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xmlschema: updated to 1.6.1

v1.6.1:
* Add multi-source initialization and add_schema() to schema class
* Add bytes strings to accepted XML sources
   2021-04-06 21:44:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xmlschema: updated to 1.6.0

v1.6.0
* XML data bindings and code generators are now considered stable
* Add arguments 'max_depth' and 'extra_validator' to validation methods
* Enhance decoding with 'value_hook' argument
   2021-03-15 08:18:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xmlschema: updated to 1.5.3

v1.5.3:
* Remove unnecessary bindings with schema proxy from ElementPathMixin
  to avoid conflicts when schema is used by an XPath 3 parser
* Fix schema logger
   2021-03-05 08:58:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xmlschema: updated to 1.5.2

v1.5.2
* Improve empty content checking
* Fix simple content restriction of xs:complexType
* Fix facets retrieving for xs:complexType with simple content
   2021-02-14 16:11:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xmlschema: updated to 1.5.1

v1.5.1
* Optimize NamespaceView read-only mapping
* Add experimental XML data bindings with a DataBindingConverter
* Add experimental PythonGenerator for static codegen with Jinja2
   2021-02-05 19:58:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xmlschema: updated to 1.5.0

v1.5.0
* Add DataElement class for creating objects with schema bindings
* Add DataElementConverter for decode to structured objects
* Add an experimental abstract base class for building jinja2 based
  code generators (jinja2 as an optional dependency)