4 releases
new 0.1.5 | Feb 1, 2025 |
---|---|
0.1.4 | Feb 1, 2025 |
0.1.3 | Feb 1, 2025 |
0.1.2 | Feb 1, 2025 |
#1744 in Parser implementations
28 downloads per month
29KB
459 lines
<yaxp ⚡>
Yet Another XSD Parser
Introduction
Using roxmltree to parse XML files.
Converts xsd schema to:
- json
- arrow
- avro
- protobuf
- jsonschema
- json representation of spark schema
- duckdb
Usage
$ ./yaxp-cli --help
<yaxp-cli ⚡> Yet Another XSD Parser
Usage: yaxp-cli [OPTIONS] --xsd <XSD>
Options:
-x, --xsd <XSD> Path to the XSD file
-f, --format <FORMAT> Output format: json (default), arrow [default: json] [possible values: json, arrow]
-o, --output <OUTPUT> optional output filename
-h, --help Print help
-V, --version Print version
$
TODO
- Add pyo3/maturin support (crate pyaxp)
- Add tests
Dependencies
~17–25MB
~379K SLoC