$npx skillfedfor your agent

pubnub

PubNub Real-time push service in the cloud

With conditionsPyPI Python ModulesReleased Jul 2026244.1K downloads / moSource build

Decision gist · record as of 2026-08-14

sdist only — pubnub-10.7.2.tar.gz · builds from source
v10.7.2 · released 2026-07-08 · Python >=3.9 · 6 runtime deps: pycryptodomex, httpx, h2, requests, aiohttp, cbor2

Yes, if you need a managed real-time messaging service and accept the proprietary license. The SDK is production-stable, actively maintained, has no known vulnerabilities, and supports modern Python versions. The high install friction (six dependencies) is typical for a full-featured messaging client. Verify the license terms for your use case before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; publish and subscribe keys must be obtained from the PubNub Admin Portal.
  • High install friction due to six runtime dependencies including pycryptodomex, httpx, h2, requests, aiohttp, and cbor2.
  • Active maintenance with a release 37 days ago and recent commits indicate ongoing support.

License · maintenance · safety

(unclear) — License treatment is unclear—the package uses a proprietary 'PubNub Software Development Kit License' with no SPDX identifier. Review the license terms directly before adopting in commercial or open-source projects.

last release 2026-07-08 (37 days) · last repo commit 2026-07-08 · 167 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 244,128 downloads/mo, #8,762 on PyPI

Verify before relying

pip install pubnub

from pubnub.pnconfiguration import PNConfiguration
from pubnub.pubnub import PubNub

pnconfig = PNConfiguration()
pnconfig.subscribe_key = 'mySubscribeKey'
pnconfig.publish_key = 'myPublishKey'
pnconfig.uuid = 'myUniqueUUID'
pubnub = PubNub(pnconfig)
pubnub.publish().channel('my_channel').message('Hello world!').pn_async(callback)
  • Whether the proprietary license permits use in commercial applications without additional agreements.
  • Performance characteristics and latency guarantees under typical production loads.
  • Whether all six runtime dependencies are always required or if some are optional for specific use cases.
Same gist for agents: .md · .json

What it is and what it does

PubNub is a cloud-hosted real-time messaging platform with an official Python SDK that handles the infrastructure for sending and receiving messages globally. The SDK manages publish-subscribe channels, presence detection, signal delivery, and event callbacks through a configuration-based setup and listener pattern.

The package wraps PubNub's REST API and WebSocket infrastructure, abstracting away network complexity so developers can focus on application logic. It supports asynchronous operations via callbacks, integrates with multiple HTTP backends (requests, httpx, aiohttp), and includes cryptographic message signing through pycryptodomex. The SDK is actively maintained, supports Python 3.9 through 3.13, and carries no known security vulnerabilities.

Use it for

  • Build real-time chat or messaging applications where messages must arrive globally in under 100ms.
  • Implement presence tracking to show which users are currently online or active in your application.
  • Send event notifications and signals across distributed services without managing your own message broker.
  • Create collaborative applications where multiple clients need to synchronize state changes instantly.
  • Monitor and react to status events such as connection failures, authentication issues, or network changes.

Worth the install?

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

With conditions

Yes, if you need a managed real-time messaging service and accept the proprietary license.

The SDK is production-stable, actively maintained, has no known vulnerabilities, and supports modern Python versions. The high install friction (six dependencies) is typical for a full-featured messaging client. Verify the license terms for your use case before committing.

Install

pubnub on PyPI

Before you install

High install friction due to six runtime dependencies including pycryptodomex, httpx, h2, requests, aiohttp, and cbor2. Active maintenance with a release 37 days ago and recent commits indicate ongoing support.

Requires Python 3.9 or later; publish and subscribe keys must be obtained from the PubNub Admin Portal.

License in practice

License treatment is unclear—the package uses a proprietary 'PubNub Software Development Kit License' with no SPDX identifier. Review the license terms directly before adopting in commercial or open-source projects.

Quickstart

pip install pubnub

from pubnub.pnconfiguration import PNConfiguration
from pubnub.pubnub import PubNub

pnconfig = PNConfiguration()
pnconfig.subscribe_key = 'mySubscribeKey'
pnconfig.publish_key = 'myPublishKey'
pnconfig.uuid = 'myUniqueUUID'
pubnub = PubNub(pnconfig)
pubnub.publish().channel('my_channel').message('Hello world!').pn_async(callback)

Verify before relying

  • Whether the proprietary license permits use in commercial applications without additional agreements.
  • Performance characteristics and latency guarantees under typical production loads.
  • Whether all six runtime dependencies are always required or if some are optional for specific use cases.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionHigh. Source build required
Runtime dependencies
6 packages
pycryptodomexhttpxh2requestsaiohttpcbor2
MaintenanceActively maintained 37 days since the last release
Last repo commit
First released
Downloads244,128 / month, #8,762 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 :: DevelopersLicense :: Other/Proprietary LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules

Evidence: pubnub-10.7.2.tar.gz

Tags

Capabilities
real-time messaging sdkpublish subscribe pythonpush notifications clouddistributed messaging serviceevent streaming platformpresence detection messagingglobal message delivery
Topics
realtime-messagingmanaged-serviceevent-driven

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 › “real-time messaging sdk”

  • pubnubPubNub Python SDK provides real-time publish-subscribe messaging and…
  • azure-communication-chatPython SDK for Azure Communication Services Chat, enabling creation…
  • centrifuge-pythonWebSocket real-time client SDK for Centrifugo and Centrifuge-based…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ably · Pypubsub · slixmpp · solace-pubsubplus · broadcaster · neonize · firebase-messaging · google-cloud-pubsub · lcm · pusher