summaryrefslogtreecommitdiff
path: root/examples/user_location.py
AgeCommit message (Collapse)Author
2020-05-02Change session_start callback to async in most examplesmathieui
If we fetch the roster, we should probably wait until we get it back
2016-09-30Fix uses of super() in the codebasemathieui
Fix #3165, we don’t need to use the long form to get the superobject in our supported python versions.
2014-09-01Remove all trailing whitespaces.Emmanuel Gil Peyrot
2014-09-01Move examples from the deprecated optparse to argparse, and remove the ↵Emmanuel Gil Peyrot
redundant -v option.
2014-09-01Import getpass from getpass, instead of using getpass.getpass everytime.Emmanuel Gil Peyrot
2014-09-01Remove (usually) useless comments in examples about OpenFire and how to ↵Emmanuel Gil Peyrot
verify a certificate.
2014-09-01Reintroduce XMLStream.process, making it run the asyncio event loop.Emmanuel Gil Peyrot
2014-09-01Remove threaded from examples’ add_event_handler.Emmanuel Gil Peyrot
2014-09-01Remove raw_input usage and other python2 support in examplesEmmanuel Gil Peyrot
2014-09-01Set the shebang to python3 everywhere.Emmanuel Gil Peyrot
2014-07-17Rename to slixmppFlorent Le Coz
2013-09-20Chmod +x examples, and add shebang linesLance Stout
2012-05-06Update other examples to use threaded mode for handlers that call disconnect()Lance Stout
2012-03-18Add example for using user location.Lance Stout
Uses http://freegeoip.com to get an approximate location based on the machine's IP address.