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.
@@ -0,0 +1,23 @@
1
+ import inspect
2
+
3
+ from ._version import __version__
4
+ from ._generated import matrix_sdk_ffi as _ffi
5
+
6
+
7
+ def _is_public_ffi_symbol(name: str, obj: object) -> bool:
8
+ if name.startswith("_"):
9
+ return False
10
+ if inspect.ismodule(obj):
11
+ return False
12
+ if name.endswith("Protocol"):
13
+ return False
14
+ module_name = getattr(obj, "__module__", "")
15
+ return module_name.startswith("matrix_sdk_python._generated.matrix_sdk_ffi")
16
+
17
+
18
+ for _name, _obj in vars(_ffi).items():
19
+ if _is_public_ffi_symbol(_name, _obj):
20
+ globals()[_name] = _obj
21
+
22
+
23
+ __all__ = ["__version__", *sorted(name for name, obj in vars(_ffi).items() if _is_public_ffi_symbol(name, obj))]
@@ -0,0 +1 @@
1
+ # Generated UniFFI Python bindings live in this package.