LLM-Bridge 1.13.1__py3-none-any.whl → 1.14.0a0__py3-none-any.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: LLM-Bridge
3
- Version: 1.13.1
3
+ Version: 1.14.0a0
4
4
  Summary: A Bridge for LLMs
5
5
  Author-email: windsnow1025 <windsnow1025@gmail.com>
6
6
  License-Expression: MIT
@@ -21,11 +21,6 @@ Requires-Dist: PyMuPDF
21
21
  Requires-Dist: docxlatex>=1.1.1
22
22
  Requires-Dist: openpyxl
23
23
  Requires-Dist: python-pptx
24
- Provides-Extra: test
25
- Requires-Dist: pytest; extra == "test"
26
- Requires-Dist: pytest-asyncio; extra == "test"
27
- Requires-Dist: python-dotenv; extra == "test"
28
- Requires-Dist: protobuf; extra == "test"
29
24
  Dynamic: license-file
30
25
 
31
26
  # LLM Bridge
@@ -71,18 +66,37 @@ The features listed represent the maximum capabilities of each API type supporte
71
66
  pip install --upgrade llm_bridge
72
67
  ```
73
68
 
74
- ## Test
69
+ ## Development
75
70
 
76
- ```bash
77
- pytest
78
- ```
71
+ ### Python uv
79
72
 
80
- ## Quick Start
73
+ 1. Install uv: `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"`
74
+ 2. Install Python in uv: `uv python install 3.12`; upgrade Python in uv: `uv python install 3.12`
75
+ 3. Configure requirements:
76
+ ```bash
77
+ uv sync
78
+ ```
81
79
 
82
- ### Setup
80
+ ### Pycharm
83
81
 
84
- 1. Copy `./usage/.env.example` and rename it to `./usage/.env`, then fill in the environment variables.
85
- 2. Install requirements: `pip install -r requirements.txt`
86
- 3. In PyCharm, add a new Python configuration:
82
+ Add New Configuration >> uv run
87
83
  - script: `./usage/main.py`
88
84
  - Paths to ".env" files: `./usage/.env`
85
+
86
+ If uv interpreter is not found, create a new project with uv.
87
+
88
+ ### Usage
89
+
90
+ Copy `./usage/.env.example` and rename it to `./usage/.env`, then fill in the environment variables.
91
+
92
+ ### Test
93
+
94
+ ```bash
95
+ uv run pytest
96
+ ```
97
+
98
+ ### Build
99
+
100
+ ```bash
101
+ uv build
102
+ ```
@@ -56,8 +56,8 @@ llm_bridge/type/model_message/claude_message.py,sha256=gYJUTbLUeifQMva3Axarc-VFe
56
56
  llm_bridge/type/model_message/gemini_message.py,sha256=mh8pf929g7_NkBzSOwnLXyrwSzTT4yt2FmyX7NZn0sM,4302
57
57
  llm_bridge/type/model_message/openai_message.py,sha256=xFaLY-cZoSwNd7E9BSWQjBNcRfCVH11X9s2yxXlctR0,453
58
58
  llm_bridge/type/model_message/openai_responses_message.py,sha256=be1q2euA0ybjj4NO6NxOGIRB9eJuXSb4ssUm_bM4Ocs,1529
59
- llm_bridge-1.13.1.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
60
- llm_bridge-1.13.1.dist-info/METADATA,sha256=-UnhTogwrioLevGqr6kyMCyXy4fq1LpkPstEQzUjM4k,3500
61
- llm_bridge-1.13.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
62
- llm_bridge-1.13.1.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
63
- llm_bridge-1.13.1.dist-info/RECORD,,
59
+ llm_bridge-1.14.0a0.dist-info/licenses/LICENSE,sha256=m6uon-6P_CaiqcBfApMfjG9YRtDxcr40Z52JcqUCEAE,1069
60
+ llm_bridge-1.14.0a0.dist-info/METADATA,sha256=sw7QoaHd3F3rkGPNB5bsa_KUR3hZp_y34Rzbn__zBS4,3616
61
+ llm_bridge-1.14.0a0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
62
+ llm_bridge-1.14.0a0.dist-info/top_level.txt,sha256=PtxyrgNX1lSa1Ab_qswg0sekSXejG5zrS6b_v3Po05g,11
63
+ llm_bridge-1.14.0a0.dist-info/RECORD,,