matrix-sdk-python 0.18.0a1__cp314-cp314-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- matrix_sdk_python/__init__.py +23 -0
- matrix_sdk_python/_generated/__init__.py +1 -0
- matrix_sdk_python/_generated/matrix_sdk.py +2533 -0
- matrix_sdk_python/_generated/matrix_sdk_base.py +1061 -0
- matrix_sdk_python/_generated/matrix_sdk_common.py +1101 -0
- matrix_sdk_python/_generated/matrix_sdk_contentscanner.py +942 -0
- matrix_sdk_python/_generated/matrix_sdk_crypto.py +1876 -0
- matrix_sdk_python/_generated/matrix_sdk_ffi.dll +0 -0
- matrix_sdk_python/_generated/matrix_sdk_ffi.py +65464 -0
- matrix_sdk_python/_generated/matrix_sdk_ui.py +1542 -0
- matrix_sdk_python/_version.py +1 -0
- matrix_sdk_python/py.typed +1 -0
- matrix_sdk_python-0.18.0a1.dist-info/METADATA +87 -0
- matrix_sdk_python-0.18.0a1.dist-info/RECORD +16 -0
- matrix_sdk_python-0.18.0a1.dist-info/WHEEL +5 -0
- matrix_sdk_python-0.18.0a1.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.18.0"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Marker for PEP 561 consumers.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: matrix-sdk-python
|
|
3
|
+
Version: 0.18.0a1
|
|
4
|
+
Summary: Python bindings for matrix-rust-sdk via UniFFI
|
|
5
|
+
Author: Elysia
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/matrix-org/matrix-rust-sdk
|
|
8
|
+
Project-URL: Repository, https://github.com/matrix-org/matrix-rust-sdk
|
|
9
|
+
Keywords: matrix,chat,messaging,ffi,uniffi
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Operating System :: MacOS
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
21
|
+
Requires-Python: >=3.10
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
|
|
24
|
+
# matrix-sdk-python
|
|
25
|
+
|
|
26
|
+
Python bindings for `matrix-rust-sdk` built from the existing `matrix-sdk-ffi` UniFFI layer.
|
|
27
|
+
|
|
28
|
+
## Overview
|
|
29
|
+
|
|
30
|
+
This repository packages the upstream Rust FFI bindings as a Python distribution:
|
|
31
|
+
|
|
32
|
+
- Rust FFI source lives in `matrix-rust-sdk/bindings/matrix-sdk-ffi`
|
|
33
|
+
- Python packaging lives in this repository root
|
|
34
|
+
- `uv` manages the Python project and developer workflows
|
|
35
|
+
- GitHub Actions builds platform wheels and publishes them to PyPI and GitHub Releases
|
|
36
|
+
|
|
37
|
+
## Requirements
|
|
38
|
+
|
|
39
|
+
- Python 3.10+
|
|
40
|
+
- [uv](https://docs.astral.sh/uv/)
|
|
41
|
+
- Rust toolchain
|
|
42
|
+
- Git with submodule support
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
Sync dependencies:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
uv sync
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Generate Python bindings and copy the native library into the package tree:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
uv run python scripts/build_bindings.py --profile reldev
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Use the package through the top-level public API, for example:
|
|
59
|
+
|
|
60
|
+
```python
|
|
61
|
+
from matrix_sdk_python import MediaSource, matrix_to_user_permalink
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Build the Sphinx API documentation locally:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uv run python scripts/build_docs.py
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Run smoke tests:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
uv run pytest
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Build wheel and sdist metadata locally:
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
uv build
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## Notes
|
|
83
|
+
|
|
84
|
+
- The generated UniFFI Python modules are treated as build artifacts and are not checked in.
|
|
85
|
+
- Wheels are platform-specific because they bundle the native `matrix-sdk-ffi` shared library.
|
|
86
|
+
- The first release path is optimized for wheel publication; source installs are not the primary target.
|
|
87
|
+
- The Sphinx docs build exports the full generated Python API surface by running `sphinx-apidoc` over `src/matrix_sdk_python` after bindings have been generated.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
matrix_sdk_python/__init__.py,sha256=cIBYKXFQ9EPjcNuYopu_n4wFrQln0xp8OIKf0aQQW_o,675
|
|
2
|
+
matrix_sdk_python/_version.py,sha256=0EHw4xygmgkGSyfwNfEoMlQyN0uHxjHtlSFF79s6120,23
|
|
3
|
+
matrix_sdk_python/py.typed,sha256=0jlc6yyXzRyetkQMumot9IkrD0voQMcLtjlGTUU2KqU,32
|
|
4
|
+
matrix_sdk_python/_generated/__init__.py,sha256=UCy9PI0BKqwGYFN-qVDDKAEdj0HkG09UhOUkKx_P5uA,58
|
|
5
|
+
matrix_sdk_python/_generated/matrix_sdk.py,sha256=l-oDDg9hE2LyAlRGCzx5gmhAQlk81obxc1zh4Zu-Kdg,87013
|
|
6
|
+
matrix_sdk_python/_generated/matrix_sdk_base.py,sha256=KyzqZAQxbpg4OSEtcLBCPHkVrHf9E0DmajYFlqEqS3s,35972
|
|
7
|
+
matrix_sdk_python/_generated/matrix_sdk_common.py,sha256=JRqkW75y-5pBsfIFf9swZm0NMobEMdLt2OPOaHpEsrI,37752
|
|
8
|
+
matrix_sdk_python/_generated/matrix_sdk_contentscanner.py,sha256=jH9NUx35fWvxEH0wyJAcRNueLsVR_EdJGESTZbyCqMc,33070
|
|
9
|
+
matrix_sdk_python/_generated/matrix_sdk_crypto.py,sha256=9Qwhunlr42CgFOT_rTj5UPvWCdODRafpyJWypfdnwaE,61705
|
|
10
|
+
matrix_sdk_python/_generated/matrix_sdk_ffi.dll,sha256=hmBXFyZwOptOmfwZmEluf-P7ze7ysFnXK5YQ8_QP00w,71356928
|
|
11
|
+
matrix_sdk_python/_generated/matrix_sdk_ffi.py,sha256=aaDgIUX2z50zrRxyS0Nv0UeW0Pn0R046mZgH7dXUSEo,2575999
|
|
12
|
+
matrix_sdk_python/_generated/matrix_sdk_ui.py,sha256=7du9XZxKPPwm4Fyt4e5zcVbuvFnaVqkb0cyjJdk08Vg,49418
|
|
13
|
+
matrix_sdk_python-0.18.0a1.dist-info/METADATA,sha256=rlSPhHuRFNyGRP1J-2_o8Wrzhhm2eRhfRgOytPuLYlI,2653
|
|
14
|
+
matrix_sdk_python-0.18.0a1.dist-info/WHEEL,sha256=jhxrRP3tdEfm7toB1X7dl5x6f0bu6Tve2cWwIdkbL8U,101
|
|
15
|
+
matrix_sdk_python-0.18.0a1.dist-info/top_level.txt,sha256=hYJg7FpUO1ceO0dr-NeaXkxlTxaaEctA2Hv-peVo4iI,18
|
|
16
|
+
matrix_sdk_python-0.18.0a1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
matrix_sdk_python
|