Skip to main content

shared code for kilroy module SDKs in Python 🤝

Project description

kilroy-module-py-shared

shared code for kilroy module SDKs in Python 🤝

Lint Tests Docs


Overview

This package contains code shared by SDKs related to modules. Mostly it's just a bunch of utilities and dataclasses.

Installing

Using pip:

pip install kilroy-module-py-shared

Messages

Messages are dataclasses that are used in the APIs. They are automatically generated from the protobuf definitions.

Posts

Posts are pydantic models that are used to represent various types of posts. There are definitions for:

  • TextOnlyPost
  • ImageOnlyPost
  • TextAndImagePost
  • TextOrImagePost
  • TextWithOptionalImagePost
  • ImageWithOptionalTextPost

Models

One useful thing this package provides is a SerializableModel class. It's a base class for pydantic models that can be serialized to and from JSON with a proper case convention.

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

kilroy-module-py-shared-0.7.0.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

kilroy_module_py_shared-0.7.0-py3-none-any.whl (6.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