Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Asynchronous library to the Roku media player. Easy, breezy, beautiful.

Project description

Screw remotes. Control your Roku via Python. Asynchronously.


pip install aioroku


Requires Python 3.5 and uses asyncio and aiohttp.

 import asyncio
 import aiohttp
 from aioroku import AioRoku

def get_args():
    arg_parser = ArgumentParser()
    arg_parser.add_argument('--roku_ip', '-r', metavar="ROKU_IP_ADDRESS")
    args = arg_parser.parse_args()
    return args.roku_ip

 async def main():
     async with aiohttp.ClientSession() as session:
         my_roku = AioRoku(host, session)
         print(await my_roku.active_app)

 if __name__ == '__main__':
     roku_ip = get_args()
     loop = asyncio.get_event_loop()


  • Docs
  • Tests, of course.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aioroku, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size aioroku-1.0.0-py2.py3-none-any.whl (13.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size aioroku-1.0.0.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page