mst-python 0.4.0__cp312-cp312-macosx_14_0_universal2.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.
- mst/__init__.py +29 -0
- mst/_mst.cpython-312-darwin.so +0 -0
- mst/_mst.so +0 -0
- mst_python-0.4.0.dist-info/METADATA +13 -0
- mst_python-0.4.0.dist-info/RECORD +7 -0
- mst_python-0.4.0.dist-info/WHEEL +5 -0
- mst_python-0.4.0.dist-info/top_level.txt +1 -0
mst/__init__.py
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""mst: CGO Python bindings for mst (Meta-Search Tool).
|
|
2
|
+
|
|
3
|
+
Concurrent multi-engine web search with RRF ranking, zero subprocess overhead.
|
|
4
|
+
|
|
5
|
+
Usage:
|
|
6
|
+
import mst
|
|
7
|
+
|
|
8
|
+
result = mst.search("rust async runtime comparison")
|
|
9
|
+
for item in result["results"]:
|
|
10
|
+
print(f"{item['rank']}. {item['title']}")
|
|
11
|
+
|
|
12
|
+
engines = mst.list_engines()
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from ._mst import MSTError, list_engines, search
|
|
16
|
+
|
|
17
|
+
__all__ = ["search", "list_engines", "MSTError"]
|
|
18
|
+
|
|
19
|
+
# Reflect the installed distribution version (populated by setup.py from the
|
|
20
|
+
# release tag). Falls back when run from a source tree that isn't installed.
|
|
21
|
+
try:
|
|
22
|
+
from importlib.metadata import PackageNotFoundError, version as _dist_version
|
|
23
|
+
|
|
24
|
+
try:
|
|
25
|
+
__version__ = _dist_version("mst")
|
|
26
|
+
except PackageNotFoundError:
|
|
27
|
+
__version__ = "0.0.0-dev"
|
|
28
|
+
except ImportError: # Python <3.8 (unsupported, but stay safe)
|
|
29
|
+
__version__ = "0.0.0-dev"
|
|
Binary file
|
mst/_mst.so
ADDED
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mst-python
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: CGO Python bindings for mst (Meta-Search Tool) — concurrent multi-engine web search with RRF ranking
|
|
5
|
+
Author: mst contributors
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: Intended Audience :: Developers
|
|
9
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Requires-Python: >=3.11
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
mst/__init__.py,sha256=RL1rYzGpRxfFWJiXyotSCKo-HD8zmKA3O5-IAYuY33s,896
|
|
2
|
+
mst/_mst.cpython-312-darwin.so,sha256=PKxF6hyy_NTEFO6jhOucSOkSDDY7xPPtVRZIyISfX_Q,216112
|
|
3
|
+
mst/_mst.so,sha256=_iFsivMQxXofsXw_Zr4Fi41-cI3Z7L27YOIqjTSiuH4,7586770
|
|
4
|
+
mst_python-0.4.0.dist-info/METADATA,sha256=_tCeEVLm4iLd3p3Szj6OxB2JRGcNlugI_vQBpV8oW6c,539
|
|
5
|
+
mst_python-0.4.0.dist-info/WHEEL,sha256=_uRG1dkrnRkMKz05DG1FZ4HxyPdHNn0bhnE5H2IfiCE,114
|
|
6
|
+
mst_python-0.4.0.dist-info/top_level.txt,sha256=wWnObFIH0CbsgenDXlDpKZv1zdBkbCM4iASswi0Vofw,4
|
|
7
|
+
mst_python-0.4.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mst
|