{"id":21887188,"url":"https://github.com/profcomff/event-schema","last_synced_at":"2026-01-11T02:26:59.180Z","repository":{"id":184640604,"uuid":"672247731","full_name":"profcomff/event-schema","owner":"profcomff","description":"JSON-схемы для общего использования с Apache Kafka","archived":false,"fork":false,"pushed_at":"2024-08-03T22:07:02.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:40:34.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/event-schema-profcomff/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profcomff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-29T12:24:47.000Z","updated_at":"2024-12-07T20:52:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"86aad43b-9c94-43ca-85af-46a58046b77f","html_url":"https://github.com/profcomff/event-schema","commit_stats":null,"previous_names":["profcomff/event-schema"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fevent-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fevent-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fevent-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profcomff%2Fevent-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profcomff","download_url":"https://codeload.github.com/profcomff/event-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628421,"owners_count":20808106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T11:08:44.070Z","updated_at":"2026-01-11T02:26:59.174Z","avatar_url":"https://github.com/profcomff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Библиотека для хранения общих JSON-схем\n\n## Функционал\nПредставление данных, передаваемых через Kafka, в виде pydantic моделей для валидации принимаемых и отправляемых сообщений\n\n## Сценарий использования\n1. Передача соообщения о пользовательских данных\n```python\nfrom event_schema.auth import UserLogin, UserLoginKey\nfrom confluent_kafka import Producer\n\nsome_data = {} ## insert your data here\nkafka_config = {}\n\nproducer = Producer(**kafka_config)\n\nnew = UserLogin(**some_data)\nnew_key = UserLoginKey(user_id=42)\n\nproducer.produce(topic=\"topic_name\", key=new_key.model_dump_json(), value=new.model_dump_json())\nproducer.flush()\n```\n\n## Contributing \n- Основная [информация](https://github.com/profcomff/.github/wiki/%255Bdev%255D-Backend-%25D1%2580%25D0%25B0%25D0%25B7%25D1%2580%25D0%25B0%25D0%25B1%25D0%25BE%25D1%2582%25D0%25BA%25D0%25B0) по разработке наших приложений\n\n- [Ссылка](https://github.com/profcomff/event-schema/blob/main/CONTRIBUTING.md) на страницу с информацией по разработке event-schema\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fevent-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofcomff%2Fevent-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofcomff%2Fevent-schema/lists"}