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 details)

Uploaded Source

Built Distribution

kilroy_module_py_shared-0.7.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file kilroy-module-py-shared-0.7.0.tar.gz.

File metadata

  • Download URL: kilroy-module-py-shared-0.7.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for kilroy-module-py-shared-0.7.0.tar.gz
Algorithm Hash digest
SHA256 393bf4921dc198eaf6f61808d566289e56f4d30e3102deef8056cca86ac092a9
MD5 82c5d9a3a250fff1554300f301be2056
BLAKE2b-256 dd201c8863a664be4e55bb0bc5aeae5e8977739f8456151acb07f16a4af67f53

See more details on using hashes here.

File details

Details for the file kilroy_module_py_shared-0.7.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kilroy_module_py_shared-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a217209f17242d27463863b435196708cac9b54730525444004886c8896d89eb
MD5 3f88ac4a81152ea2828118e2c668cbc8
BLAKE2b-256 1f84f1fc634d39fb86364c64ab31caa527827017b1bc907a93891401b6017f24

See more details on using hashes here.

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