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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file primed-avro-0.0.2b0.tar.gz
.
File metadata
- Download URL: primed-avro-0.0.2b0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
11706b4dbd5a78b5719177489559f540b36ea92619122fb51ad5a71aa8b5830c
|
|
MD5 |
1d9a0175b7df87e7cee715113014c1d6
|
|
BLAKE2b-256 |
ac8a76f95f319b86e42e03618d1c2ef76aaebacabc801e8679b7745cdbc9a719
|