xmtp-bindings
Python bindings for libxmtp (XMTP v3) generated via UniFFI.
Install-time build
The Python package now builds the libxmtp native library during install. This requires:
- Rust toolchain (
cargo) git
Environment overrides:
XMTP_LIBXMTP_PATH: use an existing libxmtp checkout instead of cloningXMTP_LIBXMTP_REF: git ref (tag/branch/commit) to checkoutXMTP_LIBXMTP_REPO: override the libxmtp git URLXMTP_BINDINGS_SKIP_BUILD=1: skip native build (requires a prebuiltlibxmtpv3next toxmtpv3.py)XMTP_BINDINGS_FORCE_BUILD=1: rebuild even if a native library already exists
If XMTP_LIBXMTP_REF is not set, builds default to the pinned ref stored in
src/xmtp_bindings/libxmtp.ref.
During builds, the UniFFI Python bindings (xmtpv3.py) are regenerated from the
same libxmtp checkout used to build the native library to keep the wrapper and
shared library in sync.
Manual build
These bindings are generated from the libxmtp Rust workspace. To regenerate manually:
# Clone libxmtp into .deps if needed
mkdir -p .deps
[ -d .deps/libxmtp ] || git clone --depth 1 https://github.com/xmtp/libxmtp .deps/libxmtp
# Build the native library
cd .deps/libxmtp
cargo build -p xmtpv3 --release
# Generate Python bindings
cd bindings/mobile
cargo run --bin ffi-uniffi-bindgen --release --features uniffi/cli generate \
--library ../../target/release/libxmtpv3.so \
--out-dir ../../../../bindings/python/src/xmtp_bindings \
--language python
# Copy the shared library next to the generated module
cp ../../target/release/libxmtpv3.so ../../../../bindings/python/src/xmtp_bindings/
Notes
- The generated
xmtpv3.pyexpectslibxmtpv3to sit next to it. - This package is intended to be consumed by the higher-level
python-sdk.
Metadata
Release files for xmtp-bindings 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| xmtp_bindings-0.1.8.tar.gz | 66.6 kB | With provenance | Details |
Built distributions (wheels)
Total release size: 168.0 MB
Release files / xmtp_bindings-0.1.8.tar.gz
| Download URL | xmtp_bindings-0.1.8.tar.gz |
|---|---|
| Size | 66.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6b2de13af984452214ba34ec3f348ff18bb8f5cb55d5409d3f523359e6d681b
|
|
BLAKE2b-256 checksum How to use checksums |
27f5f2b259ddb7ff863b00a13d603c0ec1e310ec1e49459993a4dc1c542d6a07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp313-cp313-win_amd64.whl
| Download URL | xmtp_bindings-0.1.8-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3216919a72a3e94d30a8e667ace820c44d7b51f6b9f715850e047b8c0fff893f
|
|
BLAKE2b-256 checksum How to use checksums |
372612324e6ecd7cd61e40b1948b024ae0ecc0fcdbc9e7a532ac1597f0216250
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xmtp_bindings-0.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff6c7c45ce2f078a17bd48fa0c89e46244ca55c033a524b11ec88368527fa973
|
|
BLAKE2b-256 checksum How to use checksums |
3a5ea130ed0c53271b3575ec18508e93079ea29bc02b259a71bff9d17dae5718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xmtp_bindings-0.1.8-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
634b63602e95e4d18f76b492717ac9e6df0f4abc5dcc6c9e56b82ab5878a7595
|
|
BLAKE2b-256 checksum How to use checksums |
ff255a49d4eac9db0acae9101053efeb487397c9a79d499ae91bf8b711f6cdb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | xmtp_bindings-0.1.8-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c05773069fc490a162d5395bc52a83e603a993f8f09d295c04248438e6b673d1
|
|
BLAKE2b-256 checksum How to use checksums |
68d6a1e8bd4109700f37e58d82c944e4c0ee500b73ac97080d9a457243a0ac89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp312-cp312-win_amd64.whl
| Download URL | xmtp_bindings-0.1.8-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d56fbb1aee47842afd89ac6c8a366a1e018d9ab1c531125e969229cbd62b8684
|
|
BLAKE2b-256 checksum How to use checksums |
dc4a8b01d5a58f8357d8f537fbdd890c5774e694b444342eabe26c3aa123fe22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xmtp_bindings-0.1.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
88b96a79c07df8ee331215f2b3cea13a319f1e786c02ca766b78f9f51623ff92
|
|
BLAKE2b-256 checksum How to use checksums |
ffc3fe05d552b4c0a14272b52d471f134b3f59a91631377ec322e4673dde10db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xmtp_bindings-0.1.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
2dc356ffda483162c5c3ff9d9519f2f9ffc3c29dcc0d440869d562aaa98780b6
|
|
BLAKE2b-256 checksum How to use checksums |
99c4357a4a303c5d9dc3c2558f8cb8b39a0918e9b5ea21b057172e468664adf1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | xmtp_bindings-0.1.8-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
115c286e2546844c068b7192584fd77317ff2df45ba170c9aca9e0bee00fc172
|
|
BLAKE2b-256 checksum How to use checksums |
da1e9761e299a225ba850825054dfad76c8d08e88fbe818e09ce13e4b6eb91dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp311-cp311-win_amd64.whl
| Download URL | xmtp_bindings-0.1.8-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
78268b510c306bd9af1931948a121c9f7392bdd4ef4f2812610c347cff6800d1
|
|
BLAKE2b-256 checksum How to use checksums |
1f7bcfaca7a791b38b5d0c5c9e3588a71f77726a13cdd747f9543589a90064d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xmtp_bindings-0.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
dedaaacf011d90d2f4706ee117e3229cf3a3c06510c24fa0120b3446952aca77
|
|
BLAKE2b-256 checksum How to use checksums |
a05dc7f6ec1e7e97fa5ac73b0ad8d7cab015ed0c84948ee3baaa87b6f89a5ef1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xmtp_bindings-0.1.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
b57c3d8c4c61744a42c5fa8441daa8cc497a4a10e7a6b7a556bb0adfb244311e
|
|
BLAKE2b-256 checksum How to use checksums |
12f5dedd18874c5ab5ce5552ccdc2b4eb90ade3355faa011d1283cdd9922f95c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | xmtp_bindings-0.1.8-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fd863eda5805f94b9e947e1f37b8b0b5bfa73e9d8c6d643d724004aabb53f2f3
|
|
BLAKE2b-256 checksum How to use checksums |
5c8b34568aeaa2e06f4aadf83cbc890e39c2294268ec06124d962ac4d7a78dbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp310-cp310-win_amd64.whl
| Download URL | xmtp_bindings-0.1.8-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
36539063a37f45ef3315c152e2e5684af0cbf3ed81f7e517f7d81f173c9b723a
|
|
BLAKE2b-256 checksum How to use checksums |
c78b37eab4e01510391ac8cfe4ace1b31f5644ec08213be7439be9b92817ccdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xmtp_bindings-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
41d622faf2b6b5cca425136c5cbc707ec7c75cbd0381d933b0c5b3cb4160488e
|
|
BLAKE2b-256 checksum How to use checksums |
8e8968851d8530ade173644d97e25a71972df56a77e773241be546428a895907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xmtp_bindings-0.1.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 12.3 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
dcb88a568c6a5d18e0be007753bc01585a05df2b7d17fb2b58a346f0912b85ef
|
|
BLAKE2b-256 checksum How to use checksums |
ff6eeaadfb205c1a633a9821bf916532344db9d0c8cb7e172c83694951b799d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / xmtp_bindings-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | xmtp_bindings-0.1.8-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 10.3 MB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9cb206ead51c0b6dfccc175191ea64369b05b3ad929a3784e1740dd6ba47fef6
|
|
BLAKE2b-256 checksum How to use checksums |
0aa071c3df5d3b7977405cebc42c7c1c7e52ff04c9c0f3caf35c0d44ca2e9afd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logSecurity for xmtp-bindings 0.1.8
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.
Full provenance
All 17 files in this release have been uploaded with provenance metadata.
Attestation for xmtp_bindings-0.1.8.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logA 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.