PKG-INFO 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. Metadata-Version: 2.1
  2. Name: xmpppy
  3. Version: 0.7.1
  4. Summary: XMPP implementation in Python
  5. Home-page: https://github.com/xmpppy/xmpppy
  6. Author: Alexey Nezhdanov
  7. Author-email: snakeru@users.sourceforge.net
  8. License: GPL
  9. Download-URL: https://pypi.org/project/xmpppy/
  10. Keywords: jabber,xmpp,RFC3920,RFC3921
  11. Platform: All
  12. Classifier: Programming Language :: Python
  13. Classifier: Programming Language :: Python :: 2
  14. Classifier: Programming Language :: Python :: 3
  15. Classifier: License :: OSI Approved :: GNU General Public License (GPL)
  16. Classifier: Development Status :: 4 - Beta
  17. Classifier: Operating System :: OS Independent
  18. Classifier: Natural Language :: English
  19. Classifier: Intended Audience :: Developers
  20. Classifier: Intended Audience :: Education
  21. Classifier: Intended Audience :: Information Technology
  22. Classifier: Intended Audience :: System Administrators
  23. Classifier: Intended Audience :: Telecommunications Industry
  24. Classifier: Topic :: Communications
  25. Classifier: Topic :: Communications :: Chat
  26. Classifier: Topic :: Database
  27. Classifier: Topic :: Internet
  28. Classifier: Topic :: Software Development :: Libraries
  29. Classifier: Topic :: System :: Networking
  30. Classifier: Topic :: Text Processing
  31. Classifier: Topic :: Utilities
  32. License-File: LICENSE
  33. ######
  34. xmpppy
  35. ######
  36. *Python 2/3 implementation of XMPP (RFC3920, RFC3921).*
  37. ----
  38. **Documentation**: http://xmpppy.sf.net/
  39. **Source Code**: https://github.com/xmpppy/xmpppy
  40. **Status**:
  41. .. image:: https://img.shields.io/pypi/pyversions/xmpppy.svg
  42. :target: https://pypi.org/project/xmpppy/
  43. .. image:: https://img.shields.io/pypi/v/xmpppy.svg
  44. :target: https://pypi.org/project/xmpppy/
  45. .. image:: https://img.shields.io/pypi/l/xmpppy.svg
  46. :target: https://pypi.org/project/xmpppy/
  47. .. image:: https://img.shields.io/pypi/dm/xmpppy.svg
  48. :target: https://pypi.org/project/xmpppy/
  49. ----
  50. *****
  51. About
  52. *****
  53. This library has been written to be compliant with
  54. `RFC3920 <https://datatracker.ietf.org/doc/rfc3920/>`_
  55. and
  56. `RFC3921 <https://datatracker.ietf.org/doc/rfc3921/>`_.
  57. ************
  58. Installation
  59. ************
  60. Using ``pip``, you can install the package with::
  61. pip install xmpppy --upgrade
  62. *****
  63. Usage
  64. *****
  65. As a library
  66. ============
  67. Regularly, the module is used as a library, like::
  68. jabberid = "foobar@xmpp.domain.tld"
  69. password = "secret"
  70. receiver = "bazqux@xmpp.domain.tld"
  71. message = "hello world"
  72. jid = xmpp.protocol.JID(jabberid)
  73. connection = xmpp.Client(server=jid.getDomain(), debug=debug)
  74. connection.connect()
  75. connection.auth(user=jid.getNode(), password=password, resource=jid.getResource())
  76. connection.send(xmpp.protocol.Message(to=receiver, body=message))
  77. Command line interface
  78. ======================
  79. The package also installs a command line program called ``xmpp-message``.
  80. Its synopsis is::
  81. xmpp-message --debug \
  82. --jabberid foobar@xmpp.domain.tld --password secret \
  83. --receiver bazqux@xmpp.domain.tld --message 'hello world'
  84. You can also put your credentials into an ``~/.xsend`` file, like::
  85. JID=foobar@xmpp.domain.tld
  86. PASSWORD=secret
  87. and then invoke ``xmpp-message`` omitting the ``--jabberid`` and ``--password`` options, like::
  88. xmpp-message --receiver bazqux@xmpp.domain.tld --message 'hello world'
  89. *************
  90. Documentation
  91. *************
  92. The canonical documentation is hosted at https://xmpppy.github.io/ and
  93. http://xmpppy.sourceforge.net/.
  94. For learning about how to use this module, please have a look at these spots
  95. within the code base.
  96. - The ``xmpp-message`` program, located at ``xmpp/cli.py``, for sending a single XMPP message.
  97. - The other programs within the ``doc/examples`` directory.
  98. - The docstrings within the library itself.
  99. *******
  100. Support
  101. *******
  102. If you have any questions about xmpppy usage or you have found a bug or want
  103. to share some ideas - you are welcome to join us on the
  104. `issue tracker <https://github.com/xmpppy/xmpppy/issues>`_
  105. or on the
  106. `xmpppy-devel mailing list <http://lists.sourceforge.net/lists/listinfo/xmpppy-devel>`_.
  107. **************
  108. Other projects
  109. **************
  110. - https://github.com/poezio/slixmpp
  111. - https://github.com/horazont/aioxmpp
  112. - https://github.com/Jajcus/pyxmpp2
  113. - https://github.com/fritzy/SleekXMPP
  114. - https://dev.gajim.org/gajim/python-nbxmpp
  115. - https://github.com/xmpppy/xmpppy/files/4346179/xmpp_libs.xlsx