Skip to main content

TinyXMPP

TinyXMPP is a small XMPP client for Python applications. It allows developers to easily connect to XMPP servers and exchange messages in a fast and secure way.

Getting Started

pip install tinyxmpp

To connect to an XMPP server:

from tinyxmpp import XMPPClient

async def main():
    client = XMPPClient(jid='user@xmppserver.net/python',
                        password='mypassword')
    client.on_message = on_message
    client.on_iq = on_iq
    client.on_presence = on_presence
    await client.connect(host_addr='xmppserver.net')
    await client.send_message(to='someuser@xmppserver.net/Resource',
                              message='Hello There')

async def on_message(message):
    print(message)

async def on_presence(element):
    print(element)

async def on_iq(element):
    print(element)

loop = asyncio.get_event_loop()
loop.create_task(main())
loop.run_forever()

License

TinyXMPP is made available under the Apache 2.0 license.

Development

You can follow the development of TinyXMPP on GitHub.

Contributing

To contribute to TinyXMPP, please open an issue on our GitHub issue tracker and/or leave a Pull Request. Thanks!

Metadata

Release files for tinyxmpp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tinyxmpp 0.1.1
File Size Uploaded Provenance Actions
tinyxmpp-0.1.1.tar.gz 7.4 kB Without provenance Details for tinyxmpp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tinyxmpp 0.1.1
File Interpreter ABI Platform Actions
tinyxmpp-0.1.1-py3-none-any.whl Python 3 none any Details for tinyxmpp-0.1.1-py3-none-any.whl

Total release size: 18.2 kB

Release files / tinyxmpp-0.1.1.tar.gz

Download URL tinyxmpp-0.1.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e177ddd89d3cf0306824b664f5754eff205f2d709713530e382139aa4f0224d8
BLAKE2b-256 checksum
How to use checksums
be75ef58af2c112ba324defbf3dddf9bc28d58c8ebfc341fcb1a356740805880
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Release files / tinyxmpp-0.1.1-py3-none-any.whl

Download URL tinyxmpp-0.1.1-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
20c54f37c4b6630bc907b2b12369887707e1341c74f37897354078d818815bad
BLAKE2b-256 checksum
How to use checksums
22a735215c27140323c88b6dee65d3db7ff2437221d098bcd749a60173b80af0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

Security for tinyxmpp 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page