Skip to main content

Python dictionary representations of Avro Schema for the nubium project

Project description

A python package containing dictionary representations of Avro Schemas, for use with the nubium project.

Usage Examples

The first step is to include the latest version of the schema library in the requirements for the app. For code examples, go to

When a git tag is created, the .gitlab-ci.yml pipeline will automatically trigger, creating a new pypi version.


  1. Import one of the schema dictionaries from the package
  2. Dump the dictionary to a string using json.dumps
  3. Define a serializer using the FaustSerializer class

Confluent Kafka

  1. Import the schema dictionary
  2. Dump the schema to a string using json.dumps
  3. Create a schema object using confluent_kafka.avro.loads
  4. Use the schema when instantiating Avro producer and consumer clients

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

nubium-schemas-2.0.0.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

nubium_schemas-2.0.0-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

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