openai-http-proxy 3.3.0__tar.gz → 3.3.2__tar.gz

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.
Files changed (29) hide show
  1. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/PKG-INFO +16 -37
  2. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/README.md +1 -1
  3. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/pyproject.toml +15 -16
  4. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/LICENSE +0 -0
  5. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/__init__.py +0 -0
  6. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/__main__.py +0 -0
  7. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/api_key_check/__init__.py +0 -0
  8. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/api_key_check/allow_all.py +0 -0
  9. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/api_key_check/in_config.py +0 -0
  10. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/api_key_check/with_request.py +0 -0
  11. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/app.py +0 -0
  12. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/base_types.py +0 -0
  13. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/bootstrap.py +0 -0
  14. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config.py +0 -0
  15. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config_loaders/__init__.py +0 -0
  16. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config_loaders/json.py +0 -0
  17. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config_loaders/python.py +0 -0
  18. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config_loaders/toml.py +0 -0
  19. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/config_loaders/yaml.py +0 -0
  20. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/core.py +0 -0
  21. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/errors.py +0 -0
  22. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/handlers/__init__.py +0 -0
  23. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/handlers/forward_http_headers.py +0 -0
  24. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/handlers/rate_limiter.py +0 -0
  25. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/loggers.py +0 -0
  26. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/models_endpoint.py +0 -0
  27. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/strategies/__init__.py +0 -0
  28. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/strategies/fallback.py +0 -0
  29. {openai_http_proxy-3.3.0 → openai_http_proxy-3.3.2}/lm_proxy/utils.py +0 -0
@@ -1,28 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openai-http-proxy
3
- Version: 3.3.0
3
+ Version: 3.3.2
4
4
  Summary: OpenAI HTTP Proxy is an OpenAI-compatible http proxy server for inferencing various LLMs capable of working with Google, Anthropic, OpenAI APIs, local PyTorch inference, etc.
5
- License: MIT License
6
-
7
- Copyright (c) 2025–2026 Vitalii Stepanenko
8
-
9
- Permission is hereby granted, free of charge, to any person obtaining a copy
10
- of this software and associated documentation files (the "Software"), to deal
11
- in the Software without restriction, including without limitation the rights
12
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13
- copies of the Software, and to permit persons to whom the Software is
14
- furnished to do so, subject to the following conditions:
15
-
16
- The above copyright notice and this permission notice shall be included in all
17
- copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
- SOFTWARE.
5
+ License-Expression: MIT
26
6
  License-File: LICENSE
27
7
  Keywords: llm,large language models,ai,gpt,openai,proxy,http,proxy-server,llm gateway,openai,anthropic,google genai
28
8
  Author: Vitalii Stepanenko
@@ -36,7 +16,6 @@ Classifier: Programming Language :: Python :: 3
36
16
  Classifier: Programming Language :: Python :: 3.11
37
17
  Classifier: Programming Language :: Python :: 3.12
38
18
  Classifier: Programming Language :: Python :: 3.13
39
- Classifier: License :: OSI Approved :: MIT License
40
19
  Classifier: Operating System :: OS Independent
41
20
  Classifier: Intended Audience :: Developers
42
21
  Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
@@ -46,20 +25,20 @@ Provides-Extra: all
46
25
  Provides-Extra: anthropic
47
26
  Provides-Extra: google
48
27
  Provides-Extra: test
49
- Requires-Dist: ai-microcore (>=6.6.1,<7)
50
- Requires-Dist: anthropic (>=0.77,<1) ; extra == "all"
51
- Requires-Dist: anthropic (>=0.77,<1) ; extra == "anthropic"
52
- Requires-Dist: fastapi (>=0.136.3,<1)
53
- Requires-Dist: google-genai (>=1.62.0,<2) ; extra == "all"
54
- Requires-Dist: google-genai (>=1.62.0,<2) ; extra == "google"
28
+ Requires-Dist: ai-microcore (>=6.7.2,<7)
29
+ Requires-Dist: anthropic (>=0.77,<2) ; extra == "all"
30
+ Requires-Dist: anthropic (>=0.77,<2) ; extra == "anthropic"
31
+ Requires-Dist: fastapi (>=0.141.1,<1)
32
+ Requires-Dist: google-genai (>=1.62.0,<3) ; extra == "all"
33
+ Requires-Dist: google-genai (>=1.62.0,<3) ; extra == "google"
55
34
  Requires-Dist: pydantic (>=2.12.5,<2.13.0)
56
- Requires-Dist: pytest (>=8.4.2,<8.5.0) ; extra == "test"
57
- Requires-Dist: pytest-asyncio (>=1.2.0,<1.3.0) ; extra == "test"
58
- Requires-Dist: pytest-cov (>=7.0.0,<7.1.0) ; extra == "test"
59
- Requires-Dist: requests (>=2.32.5,<3)
60
- Requires-Dist: typer (>=0.24.0,<1)
61
- Requires-Dist: uvicorn (>=0.41.0)
62
- Requires-Dist: websockets (>=14.0,<16)
35
+ Requires-Dist: pytest (>=9.1.1,<9.2.0) ; extra == "test"
36
+ Requires-Dist: pytest-asyncio (>=1.4.0,<1.5.0) ; extra == "test"
37
+ Requires-Dist: pytest-cov (>=7.1.0,<7.2.0) ; extra == "test"
38
+ Requires-Dist: requests (>=2.34.2,<3)
39
+ Requires-Dist: typer (>=0.27.1,<1)
40
+ Requires-Dist: uvicorn (>=0.52.4)
41
+ Requires-Dist: websockets (>=14.0,<18)
63
42
  Project-URL: Bug Tracker, https://github.com/Nayjest/lm-proxy/issues
64
43
  Project-URL: Source Code, https://github.com/Nayjest/lm-proxy
65
44
  Description-Content-Type: text/markdown
@@ -217,7 +196,7 @@ completion = client.chat.completions.create(
217
196
  ### Run with Docker<a id="run-with-docker"></a>
218
197
 
219
198
  Official images are published to GitHub Container Registry on every release
220
- (`latest`, `3`, `3.2`, `3.2.2`, …; `edge` tracks the `main` branch).
199
+ (`latest`, `3`, `3.3`, `3.3.0`, …; `edge` tracks the `main` branch).
221
200
  They include the Anthropic and Google connectors and YAML config support out of the box.
222
201
 
223
202
  Mount your `config.toml` and provide API keys via an `.env` file:
@@ -151,7 +151,7 @@ completion = client.chat.completions.create(
151
151
  ### Run with Docker<a id="run-with-docker"></a>
152
152
 
153
153
  Official images are published to GitHub Container Registry on every release
154
- (`latest`, `3`, `3.2`, `3.2.2`, …; `edge` tracks the `main` branch).
154
+ (`latest`, `3`, `3.3`, `3.3.0`, …; `edge` tracks the `main` branch).
155
155
  They include the Anthropic and Google connectors and YAML config support out of the box.
156
156
 
157
157
  Mount your `config.toml` and provide API keys via an `.env` file:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "openai-http-proxy"
3
- version = "3.3.0"
3
+ version = "3.3.2"
4
4
  description = "OpenAI HTTP Proxy is an OpenAI-compatible http proxy server for inferencing various LLMs capable of working with Google, Anthropic, OpenAI APIs, local PyTorch inference, etc."
5
5
  readme = "README.md"
6
6
  keywords = ["llm", "large language models", "ai", "gpt", "openai", "proxy", "http", "proxy-server", "llm gateway", "openai", "anthropic", "google genai"]
@@ -11,7 +11,6 @@ classifiers = [
11
11
  "Programming Language :: Python :: 3.11",
12
12
  "Programming Language :: Python :: 3.12",
13
13
  "Programming Language :: Python :: 3.13",
14
- "License :: OSI Approved :: MIT License",
15
14
  "Operating System :: OS Independent",
16
15
  "Intended Audience :: Developers",
17
16
  "Topic :: Software Development :: Libraries :: Application Frameworks",
@@ -32,33 +31,33 @@ maintainers = [
32
31
  homepage = "https://github.com/Nayjest/lm-proxy"
33
32
  repository = "https://github.com/Nayjest/lm-proxy"
34
33
  documentation = "https://github.com/Nayjest/lm-proxy#readme"
35
- license = { file = "LICENSE" }
34
+ license = "MIT"
36
35
 
37
36
  dependencies = [
38
- "ai-microcore>=6.6.1,<7",
39
- "fastapi>=0.136.3,<1",
40
- "uvicorn>=0.41.0",
41
- "typer>=0.24.0,<1",
42
- "requests>=2.32.5,<3",
37
+ "ai-microcore>=6.7.2,<7",
38
+ "fastapi>=0.141.1,<1",
39
+ "uvicorn>=0.52.4",
40
+ "typer>=0.27.1,<1",
41
+ "requests>=2.34.2,<3",
43
42
  "pydantic~=2.12.5",
44
- "websockets>=14.0,<16",
43
+ "websockets>=14.0,<18",
45
44
  ]
46
45
 
47
46
  [project.optional-dependencies]
48
47
  test = [
49
- "pytest~=8.4.2",
50
- "pytest-asyncio~=1.2.0",
51
- "pytest-cov~=7.0.0"
48
+ "pytest~=9.1.1",
49
+ "pytest-asyncio~=1.4.0",
50
+ "pytest-cov~=7.1.0"
52
51
  ]
53
52
  google = [
54
- "google-genai>=1.62.0,<2",
53
+ "google-genai>=1.62.0,<3",
55
54
  ]
56
55
  anthropic = [
57
- "anthropic>=0.77,<1",
56
+ "anthropic>=0.77,<2",
58
57
  ]
59
58
  all = [
60
- "google-genai>=1.62.0,<2",
61
- "anthropic>=0.77,<1",
59
+ "google-genai>=1.62.0,<3",
60
+ "anthropic>=0.77,<2",
62
61
  ]
63
62
 
64
63
  [project.urls]