GitHunt
LV

lvignoli/ziggy-python

Python support for Ziggy

ziggy-python

Python support for the Ziggy data serialization language.
Ziggy schema is not supported.

Feature list

Parsing

  • null
  • bool
  • integers and float in base 10
  • integers and float in base 2, 8 and 16, with scientific notation
  • quoted and multiline bytes literals
  • tagged literals
  • tagged literals with custom parser
  • arrays
  • maps
  • structs
  • structs to custom dataclass
  • root struct

Serialization

  • None
  • bool
  • int, float
  • ints and floats in base 2, 8, 16, with scientific notation
  • numpy number types
  • str, bytes, byterarray
  • Sequence
  • Mapping
  • enum
  • dataclass
  • objects satisfying ZiggySerialize protocol
  • minified ziggy documents
  • tagged literal

Languages

Python100.0%

Contributors

Created December 14, 2024
Updated October 31, 2025