Status License Last version Python versions GitHub stars GitHub forks GitHub issues

Whalesong

Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented

Warning

NEW VERSION 0.7.0

With new version some new requirements have been defined and some API change have been committed.

Version 0.7.0 introduces new driver for Chromium browser. It has required some changes on base driver’s API. It should not affect anyone. But be aware.

Warning

NEW VERSION 0.7.

Stream model now uses enumerations. It means that if you check stream states you must be aware that they are not a string anymore, now they are enumerations. Look at documentation.

Binary Requirements

  • Python 3.6+

Using Firefox

  • Geckodriver
  • Firefox 50+

Using Chromium

  • Execute this after installation:

    $ pyppeteer-install
    

Development requirements

  • node (only for development)
  • npm (only for development)
  • make (only for development)

Installation

Starting with version 0.7.0 Whalesong introduces new browsers backends. It means you must decide which browser backend you want to use. So, depending on it:

Tip

You could install both with no problems.

Using Firefox

$ pip3 install whalesong[firefox]

Using Chronium

$ pip3 install whalesong[chromium]

If you choose Chromium backend, you should execute this after installation:

$ pyppeteer-install

It will download a patched Chromium distribution needed for that backend.

Table of contents

Indices and tables