{"id":20770598,"url":"https://github.com/ably/ably-python","last_synced_at":"2026-01-22T15:23:59.841Z","repository":{"id":23993961,"uuid":"27377485","full_name":"ably/ably-python","owner":"ably","description":"Python client library SDK for Ably realtime messaging service","archived":false,"fork":false,"pushed_at":"2025-04-24T13:38:47.000Z","size":1771,"stargazers_count":52,"open_issues_count":38,"forks_count":27,"subscribers_count":26,"default_branch":"main","last_synced_at":"2025-05-16T05:03:21.562Z","etag":null,"topics":["client-library","python","rest","sdk"],"latest_commit_sha":null,"homepage":"https://ably.com/download","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ably.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-12-01T12:00:59.000Z","updated_at":"2025-04-29T14:46:36.000Z","dependencies_parsed_at":"2023-10-02T23:25:25.061Z","dependency_job_id":"d6299ed5-a859-4173-a44b-fe1533225dd4","html_url":"https://github.com/ably/ably-python","commit_stats":{"total_commits":656,"total_committers":32,"mean_commits":20.5,"dds":0.7012195121951219,"last_synced_commit":"0477cc1379b69b1a8d9e9eb5edba3a39047db51c"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fably-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fably-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fably-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fably-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ably","download_url":"https://codeload.github.com/ably/ably-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471061,"owners_count":22076585,"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":["client-library","python","rest","sdk"],"created_at":"2024-11-17T12:10:44.463Z","updated_at":"2026-01-22T15:23:59.835Z","avatar_url":"https://github.com/ably.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Ably Pub/Sub Python Header](images/pythonSDK-github.png)\n[![PyPI version](https://badge.fury.io/py/ably.svg)](https://pypi.org/project/ably/)\n[![License](https://img.shields.io/github/license/ably/ably-python)](https://github.com/ably/ably-python/blob/main/LICENSE)\n\n\n# Ably Pub/Sub Python SDK\n\nBuild any realtime experience using Ably’s Pub/Sub Python SDK.\n\nAbly Pub/Sub provides flexible APIs that deliver features such as pub-sub messaging, message history, presence, and push notifications. Utilizing Ably’s realtime messaging platform, applications benefit from its highly performant, reliable, and scalable infrastructure.\n\nFind out more:\n\n* [Ably Pub/Sub docs.](https://ably.com/docs/basics)\n* [Ably Pub/Sub examples.](https://ably.com/examples?product=pubsub)\n\n---\n\n## Getting started\n\nEverything you need to get started with Ably:\n\n* [Getting started with Pub/Sub using Python.](https://ably.com/docs/getting-started/python)\n* [SDK Setup for Python.](https://ably.com/docs/getting-started/setup?lang=python)\n\n---\n\n## Supported platforms\n\nAbly aims to support a wide range of platforms. If you experience any compatibility issues, open an issue in the repository or contact [Ably support](https://ably.com/support).\n\nThe following platforms are supported:\n\n| Platform | Support                  |\n|----------|--------------------------|\n| Python | Python 3.7+ through 3.14 |\n\n\u003e [!NOTE]\n\u003e This SDK works across all major operating platforms (Linux, macOS, Windows) as long as Python 3.7+ is available.\n\n\u003e [!IMPORTANT]\n\u003e SDK versions \u003c 2.0.0 are [deprecated](https://ably.com/docs/platform/deprecate/protocol-v1).\n\n---\n\n## Installation\n\nTo get started with your project, install the package:\n\n```sh\npip install ably\n```\n\n\u003e [!NOTE]\nInstall [Python](https://www.python.org/downloads/) version 3.8 or greater.\n\n## Usage\n\nThe following code connects to Ably's realtime messaging service, subscribes to a channel to receive messages, and publishes a test message to that same channel.\n\n```python\n# Initialize Ably Realtime client\nasync with AblyRealtime('your-ably-api-key', client_id='me') as realtime_client:\n    # Wait for connection to be established\n    await realtime_client.connection.once_async('connected')\n    print('Connected to Ably')\n    \n    # Get a reference to the 'test-channel' channel\n    channel = realtime_client.channels.get('test-channel')\n    \n    # Subscribe to all messages published to this channel\n    def on_message(message):\n        print(f'Received message: {message.data}')\n    \n    await channel.subscribe(on_message)\n    \n    # Publish a test message to the channel\n    await channel.publish('test-event', 'hello world')\n```\n\n## Releases\n\nThe [CHANGELOG.md](https://github.com/ably/ably-python/blob/main/CHANGELOG.md) contains details of the latest releases for this SDK. You can also view all Ably releases on [changelog.ably.com](https://changelog.ably.com).\n\n---\n\n## Contribute\n\nRead the [CONTRIBUTING.md](./CONTRIBUTING.md) guidelines to contribute to Ably.\n\n---\n\n## Support, feedback, and troubleshooting\n\nFor help or technical support, visit Ably's [support page](https://ably.com/support) or [GitHub Issues](https://github.com/ably/ably-python/issues) for community-reported bugs and discussions.\n\n### Full Realtime support unavailable\n\nThis SDK currently supports only [Ably REST](https://ably.com/docs/rest) and basic realtime message subscriptions. To access full [Ably Realtime](https://ably.com/docs/realtime) features in Python, consider using the [MQTT adapter](https://ably.com/docs/mqtt).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fably-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fably%2Fably-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fably-python/lists"}