Python REST client library SDK for Ably realtime messaging service

ably-python
This is a Python client library for Ably. The library currently targets the Ably 1.1 client library specification.
Running example
import asyncio
from ably import AblyRest
async def main():
async with AblyRest('api:key') as ably:
channel = ably.channels.get("channel_name")
if __name__ == "__main__":
asyncio.run(main())
Installation
The client library is available as a PyPI package.
From PyPI
pip install ably
Or, if you need encryption features:
pip install 'ably[crypto]'
Locally
git clone https://github.com/ably/ably-python.git
cd ably-python
python setup.py install
Breaking API Changes in Version 1.2.x
Please see our Upgrade / Migration Guide for notes on changes you need to make to your code to update it to use the new API
introduced by version 1.2.x
Usage
All examples assume a client and/or channel has been created in one of the following ways:
With closing