{"repo":"sasha-tkachev/fastapi-cloudevents","free":true,"listed":false,"github":"https://github.com/sasha-tkachev/fastapi-cloudevents","clone":"git clone https://github.com/sasha-tkachev/fastapi-cloudevents.git","description":"CloudEvents FastAPI plugin. Allows to easily consume and produce events in CloudEvents format over REST API.","language":"Python","stars":118,"topics":["cloudevents","event","event-drive","event-driven-architecture","events","fastapi","fastapi-extension","pydantic","python","rest"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"fastapi-cloudevents FastAPI plugin for CloudEvents Integration Allows to easily consume and produce CloudEvents over REST API. Automatically parses CloudEvents both in the binary and structured format and provides an interface very similar to the regular FastAPI interface. No more hustling with to structured and from http function calls! See more examples below Install Examples Simple Example The rout accepts both binary CloudEvents And structured CloudEvents Both of the requests will yield a response in the same format: CloudEvent Type Routing Structured Response Example To send the response in the http CloudEvent structured format, you MAY use the BinaryCloudEventResponse class More Examples - Custom Default Source - Mixed Usage of events and regular models","default_branch":null,"files":null,"tree":[],"storefront":"/r/sasha-tkachev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sasha-tkachev/fastapi-cloudevents/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}