Skip to main content

Tools to convert from and to JSON Structure from various other schema languages.

Project description

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.

Project details


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.9.0.tar.gz (500.4 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.9.0-py3-none-any.whl (555.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for structurize-3.9.0.tar.gz
Algorithm Hash digest
SHA256 9d3f9f00522890cf06e3699d1d71eeabf91516ddd46080da1c6eaa90d007f0e5
MD5 06ac34408a31b48192c70788d76be50b
BLAKE2b-256 30c4dd3e29d7a7d8b3b59c1082af205b41d9d5606a5286bca9457b44db45f1d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: structurize-3.9.0-py3-none-any.whl
  • Upload date:
  • Size: 555.3 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.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c630fed8c0f30cff0d9b57c4bff1d73157943308e775a144452a78996ff6c7
MD5 693b4d4ca8852fdf392971492f571e5d
BLAKE2b-256 daa8e8a5f07de8bd4b4c0e0f3117731c41318c769f604bbace51fc8515a90005

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