Skip to main content

Provide patche for the package XML Schema.

Project description

Patches and extensions of the xmlschema by Davide Brunato <brunato@sissa.it>. The main intention is here to offer xmlschema for all relevant main Python implementations and OS platforms as a pendant to jsonschema.

While the runtime API remains unchanged -but requires minor internal patches, the test structure had to be altered completely in order to fit into distributed testing and independently into PyDev with PyUnit for the support of atomic TDD developer tests. The structure supports combined tests as part of heterogeneous IT stacks. The xmlschema integrates seamless into datafusion, xmllathe, and xmldata including combined distributed tests by xmlschema_acue.

The changes of xmlschema_acue keep the API unchanged. Just use e.g:

import xmlschema_acue

For a comprehensive list refer to the section Current Release.

Online documentation:

Runtime-Repository:

Downloads:

Project Data

  • PROJECT: ‘xmlschema_acue’
  • MISSION: Provide required patches for structure processing of XML based data including by Jython.
  • VERSION: 1.00
  • RELEASE: 01.00.012
  • STATUS: beta (imported API is almost unchanged so production)
  • AUTHOR-CHANGES: Arno-Can Uestuensoez
  • COPYRIGHT-CHANGES: Copyright (C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez
  • AUTHOR-ORIGINAL: Davide Brunato <brunato@sissa.it>
  • COPYRIGHT-ORIGINAL: Copyright (c), 2016-2019, SISSA (International School for Advanced Studies).
  • LICENSE: MIT-License

Runtime Environment

For a comprehensive list refer to the documentation.

Python Syntax Support

  • Python2.7, and Python3.5+

Python Implementation Support

  • CPython, IPython, IronPython, Jython, and PyPy

OS on Server, Workstation, Laptops, Virtual Machines, and Containers

  • Linux: AlpineLinux, ArchLinux, CentOS, Debian, Fedora, Gentoo, OpenSUSE, Raspbian, RHEL, Slackware, SLES, Ubuntu, …
  • BSD: DragonFlyBSD, FreeBSD, NetBSD, OpenBSD, GhostBSD, TrueOS, NomadBSD
  • OS-X: Snow Leopard
  • Windows: Win10, Win8.1, Win7, WinXP, Win2019, Win2016, Win2012, Win2008, Win2000
  • WSL-1.0: Alpine, Debian, KaliLinux, openSUSE, SLES, Ubuntu
  • Cygwin
  • UNIX: Solaris10, Solaris11
  • Minix: Minix3
  • ReactOS

Network and Security

  • Network Devices: OpenWRT
  • Security: KaliLinux, pfSense, BlackArch, ParrotOS, Pentoo

OS on Embedded Devices

  • RaspberryPI: ArchLinux, CentOS, OpenBSD, OpenWRT, Raspbian
  • ASUS-TinkerBoard: Armbian
  • RaspberryPI-Zero with: MicroPython

Current Release

Major Changes:

  • Changes of the runtime API in the runtime package is 100% compatible, while the test-data and the cases are now contained in the source package only.

  • Renamed package temporarily to xmlschema_acue for avoidance of name collisions in public repos - PyPi.org.

  • Added Jython support:

    • Added some hotfixes for the support of Jython version 2.7.0 and 2.7.1.
    • Ignored the non-availale surrogates, e.g. 0xD000-0xDFFF.
    • Several minor patches, e.g. for test cases.
  • After several import errors changed all imports to absolute/relative to PYTHONPATH, and separated code and tests:

    • Production package with runtime only including runtime sources and data.
    • SDK package, including complete sources, document sources, and test data and test cases.
    • Changed file locations for test data: * from : xmlschema/tests/test_cases * to: testdata/xmlschema
    • Changed file locations for tests: * from : xmlschema/tests * to: tests
    • Decomposed test cases to smaller more speific subdirectory structures: * from : xmlschema/tests/* * to: tests/<case-tree>
  • Added support for implementations, and though tested - see also datafusion, xmllathe, xmldata, and pythonids:

    • IPython - some minor differences to CPython
    • IronPython
    • Jython
    • PyPy
  • Official support for Python-3.4 dropped due to platform components which may require Python-3.5+, but may still work.

  • Added support for all mayor OS, and though tested - see also datafusion, xmllathe, xmldata, and platformids:

    • Linux
    • BSD
    • OS-X
    • Windows
    • UNIX - Solaris10 + Solaris11
  • Changes to the original setup.py of xmlschema:

    • introduced new setup.py based on setuplib
    • added command classes for setuplib
  • Added extended documentation with epydoc integration into sphinx, therefore changed:

    • mover doc to docsrc
    • generate distribution documents optional into doc directory
    • included the setuplib with new commands, currently support html only:
      • build_docx
      • install_docx
      • dist_docx
    • added create_sphinx.sh for custom compilation of documents
  • Added extended documentation with epydoc integration into sphinx, therefore changed:

    • mover doc to docsrc
    • generate distribution documents optional into doc directory
    • included the setuplib with new commands:
      • build_docx
      • install_docx
      • dist_docx
  • made several commn minor patches

  • adapted .gitignore

  • Development Status of the changes set to Beta, while the imported original code remains Production/Stable.

  • Additional tests on various Python implementations.

  • Additional tests on various Linux, BSD, OSX, and Unix.

  • Additional tests on devices RaspberryPI and Asus-TinkerBoard.

ToDo:

  • The complete list of regression tests - will be done soon
  • AIX
  • test OpenBSD on RPI3
  • test Windows10IoT-Core on RPI2/3

Known Issues

  • Python-3.5(.2) has some order issues with lists, use sets or sorted-lists, later releases(?), or better use Python3.6+ instead. For the HowTo refer to pythonids :-).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xmlschema-acue, version 1.0.12
Filename, size File type Python version Upload date Hashes
Filename, size xmlschema_acue-1.0.12.tar.gz (370.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page