No project description provided
Project description
Библиотека для хранения общих JSON-схем
Использование
from event_schema import UserInfoUpdate
from confluent_kafka import Producer
some_data = {} ## insert your data here
kafka_config = {}
producer = Producer(**kafka_config)
new = UserInfoUpdate(**some_data)
producer.produce(topic="topic_name", value=new.model_dump_json())
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
Close
Hashes for event_schema_profcomff-2023.7.29.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e33667d10c11ea8062a4c29a572cc5f6f4ee3d89243c0116ed1b92a7dcb9a52b |
|
MD5 | af8a810049bf65311689b1c34bbe9df5 |
|
BLAKE2b-256 | c6600680cbed69cd6f6b41487f64f1e5b7f15c9b4eb9c3f8a5904a461961d5d4 |
Close
Hashes for event_schema_profcomff-2023.7.29-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be8fe943aad66a49a42eda60869466d8fb944bd8ef556fdd7fb6432ee4262a06 |
|
MD5 | ec542a1b368883b41d24295b54fc4f3b |
|
BLAKE2b-256 | edb721bdeb37a54ea389c6ea36b34e48f990c195d3294b3e4735d3fbb9cebb38 |