Emmanuel Gil Peyrot
dda4e18b81
examples: Remove unused asyncio imports.
2018-10-09 10:57:19 +02:00
Emmanuel Gil Peyrot
9f6fa65139
examples, tests: Replace all @asyncio.coroutines with proper async functions.
2018-08-19 17:47:26 +01:00
mathieui
acc52fd935
Merge branch 'develop' of https://github.com/fritzy/SleekXMPP into sleek-merge
...
Conflicts:
README.rst
examples/IoT_TestDevice.py
examples/disco_browser.py
setup.py
sleekxmpp/jid.py
sleekxmpp/plugins/google/auth/stanza.py
sleekxmpp/plugins/google/gmail/notifications.py
sleekxmpp/plugins/google/nosave/stanza.py
sleekxmpp/plugins/google/settings/settings.py
sleekxmpp/thirdparty/__init__.py
sleekxmpp/thirdparty/socks.py
sleekxmpp/thirdparty/statemachine.py
sleekxmpp/util/__init__.py
sleekxmpp/xmlstream/xmlstream.py
slixmpp/basexmpp.py
slixmpp/plugins/xep_0004/stanza/form.py
slixmpp/plugins/xep_0009/rpc.py
slixmpp/plugins/xep_0050/adhoc.py
slixmpp/plugins/xep_0065/proxy.py
slixmpp/plugins/xep_0084/stanza.py
slixmpp/plugins/xep_0202/time.py
slixmpp/plugins/xep_0323/sensordata.py
slixmpp/plugins/xep_0325/control.py
slixmpp/plugins/xep_0325/stanza/control.py
slixmpp/roster/single.py
slixmpp/stanza/atom.py
slixmpp/stanza/rootstanza.py
slixmpp/test/slixtest.py
slixmpp/util/sasl/mechanisms.py
slixmpp/version.py
slixmpp/xmlstream/stanzabase.py
tests/test_stanza_xep_0323.py
tests/test_stanza_xep_0325.py
tests/test_stream_xep_0323.py
tests/test_stream_xep_0325.py
2015-10-02 19:00:19 +02:00
Emmanuel Gil Peyrot
349b05b9b7
Stop disco_browser and pubsub_client examples once they are finished.
2015-08-08 17:34:06 +02:00
elya5
edd9199be8
Fix UnboundlocalError in disco_browser.py example
...
If self.get is in self.info_types and self.items_types, only self['xep_0030'].get_info is executed and not self['xep_0030'].get_items. So the condition in line 129 is successful but items is not assigned.
2015-07-09 17:15:36 +02:00
mathieui
83d00a5913
Fix examples relying on the changed API
2015-02-28 19:02:44 +01:00
mathieui
c66a4d4097
Update the documentation and examples
...
- update most of the examples with slixmpp
- change the help channels pointed out in the doc
- add a page listing differences from slixmpp and how to use asyncio
nicely with slixmpp
- fix some in-code rst documentation
2015-02-24 22:47:15 +01:00
Emmanuel Gil Peyrot
8660148960
Move examples from the deprecated optparse to argparse, and remove the redundant -v option.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
67ca2dd0f4
Import getpass from getpass, instead of using getpass.getpass everytime.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
882f984b26
Remove (usually) useless comments in examples about OpenFire and how to verify a certificate.
2014-09-01 02:47:15 +02:00
Emmanuel Gil Peyrot
6175cbcd99
Reintroduce XMLStream.process, making it run the asyncio event loop.
2014-09-01 02:47:08 +02:00
Emmanuel Gil Peyrot
476d76a533
Remove threaded from examples’ add_event_handler.
2014-09-01 02:42:45 +02:00
Emmanuel Gil Peyrot
df68bb4896
Remove raw_input usage and other python2 support in examples
2014-09-01 02:42:45 +02:00
Emmanuel Gil Peyrot
815e647c97
Set the shebang to python3 everywhere.
2014-09-01 02:42:45 +02:00
Florent Le Coz
5ab77c7452
Rename to slixmpp
2014-07-17 14:19:04 +02:00
Paul Molodowitch
52feabbe76
added setdefaultencoding method so reload(sys) not needed
...
reload(sys) could cause problem in user code - ie, sys.stdout, excepthook, and displayhook would be reset, etc
2012-10-24 13:06:36 -07:00
Lance Stout
295d23ccf3
Fix disco browser example to handle errors.
2012-08-07 16:44:52 -07:00
Lance Stout
24234bf718
Update other examples to use threaded mode for handlers that call disconnect()
2012-05-06 20:19:02 -07:00
Rodolfo Carvalho
7d1c5f4a2b
Fix a typo in several files.
...
This fixes several instances of "intial" for "initial".
2012-01-02 18:59:39 -02:00
Rodolfo Carvalho
cc63bef179
Remove unused imports in the examples.
2011-12-31 19:50:53 -02:00
Rodolfo Carvalho
8cafa8578f
Update examples to use the block'' argument instead of the deprecated threaded''.
2011-12-30 17:25:03 -02:00
Rodolfo Carvalho
2dc230a68b
Replace pydns with dnspython in the comments of the examples.
2011-12-30 00:08:05 -02:00
Lance Stout
015f662249
Update examples to work with Python3 (raw_input vs input)
2011-08-18 01:06:59 -07:00
Lance Stout
4916a12b6f
Tidy up the examples.
2011-03-23 22:59:21 -04:00
Lance Stout
874c51d74d
Added the disco browser as an example.
2010-12-16 21:58:53 -05:00