$npx skillfedfor your agent

cloudevents

CloudEvents Python SDK

Worth itPyPI WWW/HTTPReleased Jun 202611.2M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cloudevents-2.2.0-py3-none-any.whl
v2.2.0 · released 2026-06-11 · Python >=3.10 · 2 runtime deps: deprecation, python-dateutil

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and is widely used (top 5000 on PyPI). It directly implements a CNCF standard, making it the natural choice for Python projects that need CloudEvents support. The permissive Apache license and broad Python version support (3.10–3.14) add to its appeal.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with just two runtime dependencies (deprecation and python-dateutil).
  • Actively maintained with a recent release 64 days ago and an active repository.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2026-06-11 (64 days) · last repo commit 2026-08-10 · 341 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,244,857 downloads/mo, #1,405 on PyPI

Verify before relying

pip install cloudevents

from cloudevents.core.v1.event import CloudEvent
from cloudevents.core.bindings.http import to_binary_event

attributes = {"type": "com.example.type", "source": "https://example.com"}
event = CloudEvent(attributes, {"message": "Hello"})
message = to_binary_event(event)
  • Whether the SDK's 'work in progress' status (noted in description) affects production readiness despite Production/Stable classifier.
  • Support timeline for CloudEvents versions beyond v1.0 and v0.3.
Same gist for agents: .md · .json

What it is and what it does

CloudEvents is a Python SDK for the CNCF CloudEvents specification, enabling you to construct and exchange events in a standardized format across distributed systems. It handles both binary and structured HTTP content modes, allowing events to be sent as HTTP headers plus body or as JSON payloads. The package manages CloudEvent attributes (type, source, id, specversion) and arbitrary event data, with automatic id generation and v1.0 as the default specification version.

The SDK is designed for serverless and event-driven architectures where multiple systems need to exchange events reliably. It works with popular HTTP libraries like requests and web frameworks like Flask, making it straightforward to integrate into existing Python applications. With low install friction (only two dependencies) and support for Python 3.10 through 3.14, it fits into modern Python environments.

Use it for

  • Sending events from a producer service to an event broker or HTTP endpoint using binary or structured CloudEvent format.
  • Receiving and parsing CloudEvents in a Flask or other WSGI-based web application endpoint.
  • Building serverless event handlers that need to conform to the CloudEvents specification for interoperability.
  • Converting between CloudEvents versions (v1.0 and v0.3) when integrating legacy and modern event systems.
  • Standardizing event metadata (type, source, id) across microservices in an event-driven architecture.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and is widely used (top 5000 on PyPI). It directly implements a CNCF standard, making it the natural choice for Python projects that need CloudEvents support. The permissive Apache license and broad Python version support (3.10–3.14) add to its appeal.

Install

cloudevents on PyPI

Before you install

Low friction install with just two runtime dependencies (deprecation and python-dateutil). Actively maintained with a recent release 64 days ago and an active repository.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install cloudevents

from cloudevents.core.v1.event import CloudEvent
from cloudevents.core.bindings.http import to_binary_event

attributes = {"type": "com.example.type", "source": "https://example.com"}
event = CloudEvent(attributes, {"message": "Hello"})
message = to_binary_event(event)

Verify before relying

  • Whether the SDK's 'work in progress' status (noted in description) affects production readiness despite Production/Stable classifier.
  • Support timeline for CloudEvents versions beyond v1.0 and v0.3.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
deprecationpython-dateutil
MaintenanceActively maintained 64 days since the last release
Last repo commit
First released
Downloads11,244,857 / month, #1,405 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Evidence: cloudevents-2.2.0-py3-none-any.whl

Tags

Capabilities
cloudevents python sdkevent serialization httpserverless event formatcloudevents binary structuredevent-driven architecturecncf cloudeventsevent specification implementation
Topics
event-drivenserverlesscncf-standard
PyPI keywords
CloudEventsEventingServerless

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cloudevents python sdk”

  • cloudeventsProvides Python primitives to create, serialize, and deserialize…
  • fastapi-cloudeventsFastAPI plugin that automatically parses and serializes CloudEvents…
  • google-eventsProvides Python classes for Google CloudEvents event types, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also fastapi-cloudevents · functions-framework · google-events · slackeventsapi · eventlet · modal · dagster-cloud · yamlable · aeventkit · qstash