Skip to main content

Python XML Binding

Project description

https://github.com/tefra/xsdata/raw/master/docs/_static/logo.png

xsData naive XML Bindings for python

https://travis-ci.org/tefra/xsdata.svg?branch=master https://readthedocs.org/projects/xsdata/badge https://codecov.io/gh/tefra/xsdata/branch/master/graph/badge.svg https://img.shields.io/github/languages/top/tefra/xsdata.svg https://api.codacy.com/project/badge/Grade/1248c5bc72684854899a043986d4fa06 https://img.shields.io/pypi/pyversions/xsdata.svg https://img.shields.io/pypi/v/xsdata.svg

Features

  • Generate code for XML Schema 1.0 definitions
  • Generate namespaces all qualified elements and attributes
  • Generate Enum and inner classes
  • Generate restrictions and rules (validations coming)
  • Reduce schemas overhead by flattening common types
  • Preserve embedded documentation and references
  • Pluggable code writer to support multiple formats
  • Format: Python Data Classes
    • PEP8 naming conventions and code output
    • Full support for type hints even with forward references
    • XML Parser & Serializer based on lxml with type casting
    • JSON Parser & Serializer with type casting
    • Serializer/Parser for xml and json
  • Format: PlantUML class diagram

https://github.com/tefra/xsdata/raw/master/docs/_static/demo.gif

Check the samples repo for more ✨✨✨

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 xsdata, version 20.1.2
Filename, size File type Python version Upload date Hashes
Filename, size xsdata-20.1.2-py3-none-any.whl (36.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size xsdata-20.1.2.tar.gz (142.5 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