first commit
This commit is contained in:
70
pyproject.toml
Normal file
70
pyproject.toml
Normal file
@@ -0,0 +1,70 @@
|
||||
[project]
|
||||
name = "llm_gateway"
|
||||
version = "0.1.0"
|
||||
description = "LLM Gateway to provide unified interface for various LLM services."
|
||||
authors = [{ name = "Your Name", email = "your@email.com" }]
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"PyMuPDF==1.23.7",
|
||||
"pdf2image",
|
||||
"pytesseract",
|
||||
"Pillow",
|
||||
"python-docx",
|
||||
"uvicorn[standard]",
|
||||
"fastapi",
|
||||
"python-multipart",
|
||||
"markdown2",
|
||||
"sqlalchemy",
|
||||
"psycopg2-binary",
|
||||
"aiofiles",
|
||||
"streamlit",
|
||||
"requests",
|
||||
"httpx",
|
||||
"python-dotenv",
|
||||
"google-generativeai",
|
||||
"anthropic",
|
||||
"openai",
|
||||
"ollama",
|
||||
"prometheus-fastapi-instrumentator",
|
||||
"tiktoken",
|
||||
"redis",
|
||||
"celery",
|
||||
"flower",
|
||||
"snowflake-id",
|
||||
"minio",
|
||||
"pytest>=8.4.1",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"ruff",
|
||||
"pytest",
|
||||
"pytest-asyncio",
|
||||
"httpx",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
cache-keys = [{ file = "pyproject.toml" }, { file = "uv.lock" }]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
indent-width = 4
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E4", "E7", "E9", "F"]
|
||||
ignore = []
|
||||
fixable = ["ALL"]
|
||||
unfixable = []
|
||||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "double"
|
||||
indent-style = "space"
|
||||
skip-magic-trailing-comma = false
|
||||
line-ending = "auto"
|
||||
docstring-code-format = false
|
||||
docstring-code-line-length = "dynamic"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# Add 'src' to the pythonpath to allow pytest to find the modules inside the src directory.
|
||||
pythonpath = ["src", "."]
|
||||
Reference in New Issue
Block a user