Skip to main content

A python package that provides functionality to interface with the Confluent Schema Registtry

Project description

version number: 0.0.1 author: Matthijs van der Kroon

Overview

A python package that provides Avro serialisation and deserialisation compatible with the Confluent Schema Registry.

WARNING: python2.7 not supported

Installation / Usage

To install use pip:

$ pip install primed_avro

Or clone the repo:

$ git clone https://github.com/mvanderkroon/primed_avro.git $ python setup.py install

Contributing

TBD

Example

from primed_avro.writer import Writer from primed_avro.registry import ConfluentSchemaRegistryClient

csr = ConfluentSchemaRegistryClient(url=”http://localhost:8081”) schemaMeta = csr.get_schema(subject=topic) writer = Writer(schema=schemaMeta.schema)

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

primed-avro-0.0.1b1.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

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