A Python2 and Python3 cross-version API for talking to Stack Exchange chat.
- Supported Python versions (Travis-CI build passes):
2.6 2.7 3.2 3.3 3.4 3.5 3.5-dev - Unclear versions (Travis-CI build fails because of the packages we use for our Travis-CI tests):
Those Python versions are always built by Travis-CI, but the result is ignored in the summary.
3.6-dev (nightly) because of packagecoverage
(see link)
Make sure you use either pip2
or pip3
depending on which Python version you want to run this on.
- BeautifulSoup (
pip install beautifulsoup4
) - Requests (
pip install requests
). Usually there by default. Please upgrade it withpip install requests --upgrade
Note that Ubuntu comes with an old version ofpip
that is not compatible any more with the latest version ofrequests
. It will be broken after you installedrequests
, except if you update it before (or afterwards) witheasy_install pip
orpip install --upgrade pip
(that one works only before). - python-websockets for the experimental websocket listener (
pip install websocket-client
). This module is optional, without itinitSocket()
from SEChatBrowser will not work
make install-dependencies
will install the necessary Python package dependencies into your current environment (active virtualenv or system site packages)make test
will run the testsmake run-example
will run the example scriptmake
will run the above three in order
This project is licensed under GPL