7 releases

new 0.1.6 Feb 17, 2025
0.1.5 Feb 15, 2025

#1415 in Encoding

Download history 81/week @ 2025-02-03 523/week @ 2025-02-10

604 downloads per month
Used in yaxp-cli

MIT license

53KB
1K SLoC

versions downloads pipelines

<yaxp ⚡> Yet Another XSD Parser

📌 Note: This project is still under heavy development, and its APIs are subject to change.

🏃 RUNNING EXAMPLE USING WASM
<xsd ⚡> convert

Introduction

Using roxmltree to parse XML files.

Converts xsd schema to:

  • arrow
  • avro
  • duckdb (read_csv columns/types)
  • json
  • json representation of spark schema
  • jsonschema
  • polars
  • protobuf

TODO

  • pyo3/maturin support
  • parameter for timezone unit/TZ (testing with polars)
  • support for different xsd file encoding: UTF-16, UTF16LE, ...
  • more tests
  • strict schema validation to spec (xsd, avro, json-schema, ...)
  • example implementation <xsd ⚡> convert
  • option to lowercase column names
  • add custom types to json output

Dependencies

~49–81MB
~1.5M SLoC