{"repo":"cloudevents/sdk-python","free":true,"listed":false,"github":"https://github.com/cloudevents/sdk-python","clone":"git clone https://github.com/cloudevents/sdk-python.git","description":"Python SDK for CloudEvents","language":"Python","stars":341,"topics":["cloudevents","python3","python","cloudnative","cncf","serverless","events","cloudevents-schema"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Python SDK v2 for CloudEvents Status This SDK is still considered a work in progress, therefore things might (and will) break with every update. This SDK current supports the following versions of CloudEvents: - v1.0 - v0.3 Python SDK Package cloudevents provides primitives to work with CloudEvents specification. Installing The CloudEvents SDK can be installed with pip: Sending CloudEvents Below we will provide samples on how to send cloudevents using the popular requests library. Binary HTTP CloudEvent Structured HTTP CloudEvent You can find a complete example of turning a CloudEvent into a HTTP request in the samples' directory. Receiving CloudEvents The code below shows how to consume a cloudevent using the popular python web framework flask: You can find a complete example of turning a CloudEvent into a HTTP request in the samples' directory. SDK versioning The goal of this package is to provide support for all released versions of CloudEvents, ideally while maintaining the same API. It will use semantic versioning with following rules: - MAJOR version increments when backwards incompatible changes is introduced. - MINOR version increments when backwards compatible feature is introduced INCLUDING support for new CloudEvents version. - PATCH version increments when a backwards compatible bug fix is introduced. Community - There are bi-weekly calls immediately following the Serverless/CloudEvents call at 9am PT (US Pacific). Which means they will typically start at 10am PT,","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudevents","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudevents/sdk-python/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."}