Skip to content

Python2&3 API for talking to the StackExchange chat

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ByteCommander/ChatExchange6

 
 

Repository files navigation

ChatExchange

WARNING

This is a fork of the original https://github.com/Manishearth/ChatExchange . I created it originally because I wanted to make ChatExchange portable for Python 2 and 3. Now my ChatExchange6 fork has been merged back to the original ChatExchange repository.

Therefore please use the original repository linked above for your projects instead of this one. It's not guaranteed to be kept up to date and regularly maintained!

Travis CI build status for master

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.3 3.4 3.5 3.5-dev 3.6-dev (nightly)
  • 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.2 because of package pytest

Dependencies

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 with pip install requests --upgrade
    Note that Ubuntu comes with an old version of pip that is not compatible any more with the latest version of requests. It will be broken after you installed requests, except if you update it before (or afterwards) with easy_install pip or pip install --upgrade pip (that one works only before).
  • python-websockets for the experimental websocket listener (pip install websocket-client). This module is optional, without it initSocket() from SEChatBrowser will not work

Shortcuts

  1. make install-dependencies will install the necessary Python package dependencies into your current environment (active virtualenv or system site packages)
  2. make test will run the tests
  3. make run-example will run the example script
  4. make will run the above three in order

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Python2&3 API for talking to the StackExchange chat

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.8%
  • Shell 1.1%
  • Makefile 1.1%