Skip to main content

Библиотека для хранения общих JSON-схем

Функционал

Представление данных, передаваемых через Kafka, в виде pydantic моделей для валидации принимаемых и отправляемых сообщений

Сценарий использования

  1. Передача соообщения о пользовательских данных
from event_schema.auth import UserLogin, UserLoginKey
from confluent_kafka import Producer

some_data = {} ## insert your data here
kafka_config = {}

producer = Producer(**kafka_config)

new = UserLogin(**some_data)
new_key = UserLoginKey(user_id=42)

producer.produce(topic="topic_name", key=new_key.model_dump_json(), value=new.model_dump_json())
producer.flush()

Contributing

  • Основная информация по разработке наших приложений

  • Ссылка на страницу с информацией по разработке event-schema

Metadata

Release files for event-schema-profcomff 2024.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for event-schema-profcomff 2024.8.4
File Size Uploaded Provenance Actions
event_schema_profcomff-2024.8.4.tar.gz 3.3 kB Without provenance Details for event_schema_profcomff-2024.8.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for event-schema-profcomff 2024.8.4
File Interpreter ABI Platform Actions
event_schema_profcomff-2024.8.4-py3-none-any.whl Python 3 none any Details for event_schema_profcomff-2024.8.4-py3-none-any.whl

Total release size: 7.5 kB

Release files / event_schema_profcomff-2024.8.4.tar.gz

Download URL event_schema_profcomff-2024.8.4.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5be31895f172a34ab61194a78b3e3cc14164f7fc4bae9f27e47c59791f029ec0
BLAKE2b-256 checksum
How to use checksums
7d229e8496d370f2b49925dc82c08459a3fee08d1c2a6d2b2a222666d62ded57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / event_schema_profcomff-2024.8.4-py3-none-any.whl

Download URL event_schema_profcomff-2024.8.4-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4227bbc98871411c26de936795a574a0966261c5400152d5e919eb05fb413488
BLAKE2b-256 checksum
How to use checksums
1c3ca97cc5e201778f9e16fa5930a5eb908b191d210339f5747bb0bc4bcd7522
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Security for event-schema-profcomff 2024.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page