# PyZon - Zon parser in Python

**URL:** <https://ziggit.dev/t/pyzon-zon-parser-in-python/15121>\
**Category:** Showcase\
**Tags:** zon\
**Created:** [April 22, 2026, 7:10pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121 "2026-04-22T19:10:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan200101](https://ziggit.dev/user_avatar/ziggit.dev/jan200101/32/8236_2.png) [@Jan200101](https://ziggit.dev/u/Jan200101)\
**Post date:** [April 22, 2026, 7:10pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/1 "2026-04-22T19:10:26Z")

</div>

With the upcoming build system changes I’ve written a Zon parser in Pure Python so I can parse the data in my python tooling.

Others might also find a use for it:  
[https://codeberg.org/Jan200101/pyzon](https://codeberg.org/Jan200101/pyzon)  
[https://pypi.org/project/pyzon/](https://pypi.org/project/pyzon/)

---

<div class="post-metadata">

**Author:** ![Calder-Ty](https://ziggit.dev/user_avatar/ziggit.dev/calder-ty/32/10237_2.png) [@Calder-Ty](https://ziggit.dev/u/Calder-Ty)\
**Post date:** [April 22, 2026, 8:08pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/2 "2026-04-22T20:08:01Z")

</div>

Out of curiosity, what are you doing with it in python tooling?

---

<div class="post-metadata">

**Author:** ![Jan200101](https://ziggit.dev/user_avatar/ziggit.dev/jan200101/32/8236_2.png) [@Jan200101](https://ziggit.dev/u/Jan200101)\
**Post date:** [April 22, 2026, 8:20pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/3 "2026-04-22T20:20:51Z")

</div>

I have a tool that is intended to make vendoring zig dependencies easier for distros, the upcoming build system changes in 0.17.0 will remove the whole build runner system and instead expose the build graph information with a flag.

---

<div class="post-metadata">

**Author:** ![gwenzek](https://ziggit.dev/user_avatar/ziggit.dev/gwenzek/32/8137_2.png) [@gwenzek](https://ziggit.dev/u/gwenzek)\
**Post date:** [April 27, 2026, 8:16am UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/4 "2026-04-27T08:16:50Z")

</div>

cool, it will make it easier to adopt .zon in non Zig projects

---

<div class="post-metadata">

**Author:** ![dasimmet](https://ziggit.dev/user_avatar/ziggit.dev/dasimmet/32/6618_2.png) [@dasimmet](https://ziggit.dev/u/dasimmet)\
**Post date:** [June 21, 2026, 7:46pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/5 "2026-06-21T19:46:15Z")

</div>

I have an alternative take on this:  
[https://codeberg.org/dasimmet/python-zig-zon](https://codeberg.org/dasimmet/python-zig-zon)  
[zig-zon · PyPI](https://pypi.org/project/zig-zon/)

its a native cpython extension using the zig standard library zon parser to convert .zon into python dictionaries,arrays, integers, strings, floats.  
It should just compile during installation from pip 😉

---

<div class="post-metadata">

**Author:** ![biom4st3r](https://ziggit.dev/user_avatar/ziggit.dev/biom4st3r/32/4342_2.png) [@biom4st3r](https://ziggit.dev/u/biom4st3r)\
**Post date:** [June 21, 2026, 8:10pm UTC](https://ziggit.dev/t/pyzon-zon-parser-in-python/15121/6 "2026-06-21T20:10:04Z")

</div>

Oh incredible! I’m going adapt this to gdscript later. I’m currently exporting zon files from godot for my game, but I’d really like to pipe zon files in to configure my tools scripts.
