Skip to main content

Structurize / Avrotize

Structurize is a powerful schema conversion toolkit that helps you transform between various schema formats including JSON Schema, JSON Structure, Avro Schema, Protocol Buffers, XSD, SQL, and many more.

This package is published under two names:

  • structurize - The primary package name, emphasizing JSON Structure conversion capabilities
  • avrotize - The original package name, emphasizing Avro Schema conversion capabilities

Both packages currently share the same features and codebase. However, in future releases, Avro-focused and JSON Structure-focused features may be split across the two tools to make the feature list more manageable and focused for users. Choose whichever variant better aligns with your primary use case.

Quick Start

Install the package:

pip install structurize

or

pip install avrotize

Use the CLI:

# Using structurize
structurize --help

# Or using avrotize
avrotize --help

Key Features

  • Convert between JSON Schema, JSON Structure, and Avro Schema
  • Transform schemas to and from Protocol Buffers, XSD, ASN.1
  • Generate code in C#, Python, TypeScript, Java, Go, Rust, C++, JavaScript
  • Export schemas to SQL databases (MySQL, PostgreSQL, SQL Server, Oracle, Cassandra, MongoDB, DynamoDB, and more)
  • Convert to Parquet, Iceberg, Kusto, and other data formats
  • Generate documentation in Markdown

Documentation

For complete documentation, examples, and detailed usage instructions, please see the main repository:

📖 Full Documentation

The main README includes:

  • Comprehensive command reference
  • Conversion examples and use cases
  • Code generation guides
  • Database schema export instructions
  • API documentation

License

MIT License - see the LICENSE file in the repository root.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

structurize-3.7.2.tar.gz (471.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

structurize-3.7.2-py3-none-any.whl (525.5 kB view details)

Uploaded Python 3

File details

Details for the file structurize-3.7.2.tar.gz.

File metadata

  • Download URL: structurize-3.7.2.tar.gz
  • Upload date:
  • Size: 471.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for structurize-3.7.2.tar.gz
Algorithm Hash digest
SHA256 02068a10698c7cf4cf2295e4fb711d472245a78b8b8124b7a690bc415cafb615
MD5 b7d3ad6d5960c10b65d08e2ceaf0b07b
BLAKE2b-256 0999156c54bcd6c98ad7f770d0abbc109201a2f7d79cee1cd7812acae12341ab

See more details on using hashes here.

File details

Details for the file structurize-3.7.2-py3-none-any.whl.

File metadata

  • Download URL: structurize-3.7.2-py3-none-any.whl
  • Upload date:
  • Size: 525.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for structurize-3.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee4e6161428e995c07f92b0bcce49883cbab255889bcf8e29c6af468894e891
MD5 c52dc830000ad6620fd812c5c0721305
BLAKE2b-256 38cc2a277b92fe6310adab96a0cea4b3cf3c60cefc39513f97e032755fb14193

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page