Fork of https://github.com/tgalal/yowsup with minimal maintenance. It should work out of the box. If not, please send a bug report. Also, this fork is python 3 only. See https://github.com/tgalal/yowsup/issues/2631 for more information.

Alex Vong 5fb8c1b821 Update md5 class and version. 6 years ago
.github 222efd5378 Update issue templates 6 years ago
yowsup 5fb8c1b821 Update md5 class and version. 6 years ago
.gitignore a415dbc158 updated .gitignore 9 years ago
.travis.yml 847a700667 Tox tests + importlib dep in py26 9 years ago
LICENSE b000960ddd Changed license to gplv3 10 years ago
MANIFEST.in daf4516692 Fixed pip install 8 years ago
README.md 03795cc9b9 Update README.md 7 years ago
setup.py a49cf1d113 Fixed python2 support 7 years ago
tox.ini f30b6a08fe py36 to tox 8 years ago
yowsup-cli 9943b582d1 Bumped to 2.4.102/2.0.15 9 years ago

README.md

Yowsup 2 Build Status

Updates (December 30, 2017)

Yowsup v2.5.7 is out, See release notes

==========================================================

Yowsup opened WhatsApp service under platforms!

Yowsup is a Python library that enables you to build applications which use the WhatsApp service. Yowsup has been used to create two clients: 1) An unofficial WhatsApp client Nokia N9 through the Wazapp project which was in use by more than 200K users; 2) Another fully featured unofficial client for Blackberry 10.

Quickstart

Installation

  • Requires python2.6+, or python3.0 +
  • Required python packages: python-dateutil,
  • Required python packages for end-to-end encryption: protobuf, pycrypto, python-axolotl-curve25519
  • Required python packages for yowsup-cli: argparse, readline (or pyreadline for windows), pillow (for sending images)

Install using setup.py to pull all Python dependencies, or pip:

pip install yowsup2

Linux

You need to have installed Python headers (probably from python-dev package) and ncurses-dev, then run

python setup.py install

Because of a bug with python-dateutil package you might get permission error for some dateutil file called requires.txt when you use yowsup (see this bug report) to fix you'll need to chmod 644 that file.

FreeBSD (*BSD)

You need to have installed: py27-pip-7.1.2(+), py27-sqlite3-2.7.11_7(+), then run

pip install yowsup2

Mac

python setup.py install

Administrators privileges might be required, if so then run with 'sudo'

Windows

  • Install mingw compiler
  • Add mingw to your PATH
  • In PYTHONPATH\Lib\distutils create a file called distutils.cfg and add these lines:
[build]
compiler=mingw32
  • Install gcc: mingw-get.exe install gcc
  • Install zlib
  • python setup.py install

If pycrypto fails to install with some "chmod error". You can install it separately using something like easy_install http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win32-py2.7.exe

or for python3 from:

https://github.com/axper/python3-pycrypto-windows-installer

and then rerun the install command again

Special thanks

Special thanks to:

and everyone else on the WhatsAPI project for their contributions to yowsup and the amazing effort they put into WhatsAPI, the PHP WhatsApp library

Special thanks goes to all other people who use and contribute to the library as well.

Please read this if you'd like to contribute to yowsup 2.0

Thanks!

License:

As of January 1, 2015 yowsup is licensed under the GPLv3+: http://www.gnu.org/licenses/gpl-3.0.html.