-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.71 KB
/
pyproject.toml
File metadata and controls
62 lines (55 loc) · 1.71 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "hasapi"
version = "0.1.1"
description = "Modern Python web framework for AI-native APIs (LLM + RAG + Streaming)"
requires-python = ">=3.10"
license = "MIT"
authors = [
{ name="HasAPI Team", email="team@hasapi.dev" }
]
readme = "README.md"
keywords = ["ai", "api", "fastapi", "rag", "llm", "vector db", "asgi", "websocket"]
classifiers = [
"Programming Language :: Python :: 3",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Operating System :: OS Independent"
]
dependencies = [
"httpx>=0.24",
"orjson>=3.8",
"uvicorn[standard]>=0.20",
"uvloop>=0.19; sys_platform != 'win32'",
"httptools>=0.6",
"pydantic>=2.0",
"typing-extensions>=4.5",
"python-dotenv>=1.0",
"websockets>=11.0",
"PyJWT>=2.8.0"
]
[project.optional-dependencies]
ai = ["openai>=1.0", "anthropic>=0.5"]
pytorch = ["torch>=2.0"]
onnx = ["onnxruntime>=1.15"]
gguf = ["llama-cpp-python>=0.2"]
vector = ["faiss-cpu>=1.7", "numpy>=1.24"]
benchmark = ["fastapi>=0.100"]
all = ["torch>=2.0", "onnxruntime>=1.15", "faiss-cpu>=1.7", "llama-cpp-python>=0.2", "openai>=1.0", "anthropic>=0.5", "numpy>=1.24", "fastapi>=0.100"]
[project.urls]
Homepage = "https://github.com/Haslab-dev/HasAPI"
Documentation = "https://github.com/Haslab-dev/HasAPI#readme"
Repository = "https://github.com/Haslab-dev/HasAPI"
Issues = "https://github.com/Haslab-dev/HasAPI/issues"
[project.scripts]
hasapi = "hasapi.cli:main"
[tool.setuptools.packages.find]
include = ["hasapi*"]
exclude = ["examples*", "tests*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]