mathieui
603cbccddd
examples: rewrite copyright notices
2021-02-05 20:51:15 +01:00
mathieui
f1ab9ab964
Change session_start callback to async in most examples
...
If we fetch the roster, we should probably wait until we get it back
2020-05-02 16:47:04 +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
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
373505f483
Clean a new bunch of stuf
2014-07-21 20:32:09 +02:00
Florent Le Coz
5ab77c7452
Rename to slixmpp
2014-07-17 14:19:04 +02:00
Lance Stout
cd2d25cf87
Chmod +x examples, and add shebang lines
2013-09-20 11:50:51 -07:00
Lance Stout
9a6bfc6614
Enable force_registration in the register account example.
2013-02-08 09:44:39 -08:00
Lance Stout
79914fb56b
Add option to XEP-0077 plugin to force registration attempts.
2013-02-08 09:36:51 -08: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
24234bf718
Update other examples to use threaded mode for handlers that call disconnect()
2012-05-06 20:19:02 -07:00
Lance Stout
b077ef9150
Fix error in the registration example.
...
The now=True parameter was not being passed to allow the registration
submission to be submitted while the send queue is paused.
2012-03-19 06:05:15 -07:00
Lance Stout
02f4006153
Add basic start for a client side XEP-0077 plugin.
2012-01-19 02:37:36 -08:00