Microsoft Azure Schema Registry Avro Serializer Client Library for Python
Project description
Microsoft Azure SDK for Python
This package is no longer being maintained. Use the azure-schemaregistry-avroencoder package instead.
For migration instructions, see the migration guide.
Release History
1.0.0b4.post1 (2023-08-15)
This package is no longer being maintained. Use the azure-schemaregistry-avroencoder package instead.
For migration instructions, see the migration guide.
1.0.0b4 (2021-11-11)
Features Added
- Async version of
AvroSerializer
has been added underazure.schemaregistry.serializer.avroserializer.aio
. - Depends on
azure-schemaregistry>=1.0.0,<2.0.0
.
Breaking Changes
SchemaParseError
,SchemaSerializationError
, andSchemaDeserializationError
have been introduced underazure.schemaregistry.serializer.avroserializer.exceptions
and will be raised for corresponding operations.SchemaParseError
andSchemaSerializationError
may be raised for errors when callingserialize
onAvroSerializer
.SchemaParseError
andSchemaDeserializationError
may be raised for errors when callingdeserialize
onAvroSerializer
.
1.0.0b3 (2021-10-06)
Features Added
auto_register_schemas
keyword argument has been added toAvroSerializer
, which will allow for automatically registering schemas passed in to theserialize
, when set toTrue
, otherwiseFalse
by default.value
parameter inserialize
onAvroSerializer
takes typeMapping
rather thanDict
.- Depends on
azure-schemaregistry==1.0.0b3
.
Breaking Changes
SchemaRegistryAvroSerializer
has been renamedAvroSerializer
.schema_registry
parameter in theAvroSerializer
constructor has been renamedclient
.schema_group
parameter in theAvroSerializer
constructor has been renamedgroup_name
.data
parameter in theserialize
anddeserialize
methods onAvroSerializer
has been renamedvalue
.schema
parameter in theserialize
method onAvroSerializer
no longer accepts argument of typebytes
.AvroSerializer
constructor no longer takes in thecodec
keyword argument.- The following positional arguments are now required keyword arguments:
client
andgroup_name
inAvroSerializer
constructorschema
inserialize
onAvroSerializer
1.0.0b2 (2021-08-18)
This version and all future versions will require Python 2.7 or Python 3.6+, Python 3.5 is no longer supported.
Features Added
- Depends on
azure-schemaregistry==1.0.0b2
which supports client-level caching.
1.0.0b1 (2020-09-09)
Version 1.0.0b1 is the first preview of our efforts to create a user-friendly and Pythonic client library for Azure Schema Registry Avro Serializer.
New features
SchemaRegistryAvroSerializer
is the top-level client class that provides the functionality to encode and decode avro data utilizing the avro library. It will automatically register schema and retrieve schema from Azure Schema Registry Service. It provides two methods:serialize
: Serialize dict data into bytes according to the given schema and register schema if needed.deserialize
: Deserialize bytes data into dict data by automatically retrieving schema from the service.
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
Built Distribution
Hashes for azure-schemaregistry-avroserializer-1.0.0b4.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef24d2defe989a0e198d935875eddbdad0b0b71d47e23a9e4382ce3ca601e3c |
|
MD5 | 613c3cfa3172ff6c80f5251b2cd28aad |
|
BLAKE2b-256 | a6828d1dc0d7dbc6d37516711b7482b205a8d20d17c30516c1a4ad220fa85b89 |
Hashes for azure_schemaregistry_avroserializer-1.0.0b4.post1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e49d57210f8e15b756436df91a54be8718ad77d0a87bc448ce09859dd7297f5a |
|
MD5 | 288fa56e7195d9f2c399db2d970eea50 |
|
BLAKE2b-256 | babccca381aed69164c16d1a29d22f2fffdc3e905830772d45b215a65683c995 |