Skip to main content

Confluent Cloud for Apache Flink (CCAF) Avro Schema Helpers Python Library

Table of Contents

1.0 Overview

This module's class constructs a pair of Flink SQL statements using a breadth-first traversal method from an Avro schema based on the provided outermost JSON object or JSON array column. These Flink SQL statements include the CREATE TABLE and INSERT INTO SELECT FROM statements. The CREATE TABLE statement creates the Sink Table, which subsequently establishes the backing sink Kafka topic. The INSERT INTO SELECT FROM statement generates a continuous, unbounded data stream that populates the sink table

breadth-first traversal

1.2 swap_camelcase_with_snakecase module

This module's class uses a depth-first traversal method to traverse an entire Avro schema and converts every camelCase record or field name into a snake_case record or field name. This is useful for transforming Avro schema field names into Flink SQL style field names.

depth-first traversal

2.0 Installation

Install the Confluent Cloud for Apache Flink (CCAF) Avro Schema Helpers Python Library using pip:

pip install ccaf-avro-schema-helpers-python-lib

Or, using uv:

uv add ccaf-avro-schema-helpers-python-lib

3.0 Resources

3.1 Traversal Method Background

Metadata

Release files for ccaf-avro-schema-helpers-python-lib 0.4.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ccaf-avro-schema-helpers-python-lib 0.4.2.0
File Size Uploaded Provenance
ccaf_avro_schema_helpers_python_lib-0.4.2.0.tar.gz 89.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ccaf-avro-schema-helpers-python-lib 0.4.2.0
File Interpreter ABI Platform
ccaf_avro_schema_helpers_python_lib-0.4.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 102.8 kB

Release files / ccaf_avro_schema_helpers_python_lib-0.4.2.0.tar.gz

Download URL ccaf_avro_schema_helpers_python_lib-0.4.2.0.tar.gz
Size 89.7 kB
Tags Source
SHA-256 checksum
How to use checksums
22c203b8e5ce4f19506ce8fc61f413d78bd4635c53f16afaae0ec83323baf32d
BLAKE2b-256 checksum
How to use checksums
76a3c4ca12d3a7018d686dc28ae4734e4bd7f0571f938bde6e85c3371773c536
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2025.

Transparency log

Release files / ccaf_avro_schema_helpers_python_lib-0.4.2.0-py3-none-any.whl

Download URL ccaf_avro_schema_helpers_python_lib-0.4.2.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
910698b84c37641fd16461aaf89132b125a0058c14c272234830a7808be7f967
BLAKE2b-256 checksum
How to use checksums
80acc1e31803ea39d6099d5dfca6459594ab2fce8c721ff7a34d7f2dd4df4ca5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2025.

Transparency log

Security for ccaf-avro-schema-helpers-python-lib 0.4.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ccaf_avro_schema_helpers_python_lib-0.4.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 5, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page