-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (60 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "blockrun-litellm"
version = "0.4.0"
description = "LiteLLM adapter for BlockRun — call x402-paid AI models via LiteLLM (custom provider or local OpenAI-compatible proxy)"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "BlockRun", email = "hello@blockrun.ai" }
]
keywords = ["litellm", "blockrun", "x402", "openai", "llm-proxy", "openrouter", "ai-gateway"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
# >=0.37.0: concurrency-safe Solana payments (per-client signing lock +
# whole-request payment retry) so the shared cached client in _adapter is
# reliable under the proxy's concurrent load. See blockrun-llm 0.37.0.
"blockrun-llm>=0.37.0",
"litellm>=1.40.0",
]
[project.optional-dependencies]
# Re-exported here so `pip install 'blockrun-litellm[solana]'` pulls the
# x402 SVM toolchain that SolanaLLMClient needs (x402 SDK + solders).
solana = ["blockrun-llm[solana]>=0.37.0"]
proxy = [
"fastapi>=0.110.0",
"uvicorn[standard]>=0.27.0",
]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"httpx>=0.27",
"ruff>=0.4",
]
[project.scripts]
blockrun-litellm-proxy = "blockrun_litellm.proxy:main"
[project.urls]
Homepage = "https://blockrun.ai"
Repository = "https://github.com/BlockRunAI/blockrun-litellm"
Documentation = "https://github.com/BlockRunAI/blockrun-litellm#readme"
[tool.hatch.build.targets.wheel]
packages = ["blockrun_litellm"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]