openrag/sdks/python/pyproject.toml
2025-12-16 02:04:31 -05:00

62 lines
1.5 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openrag-sdk"
version = "0.1.0"
description = "Official Python SDK for OpenRAG API"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "OpenRAG Team" }
]
keywords = ["openrag", "rag", "retrieval", "ai", "sdk", "api"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.25.0",
"pydantic>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
]
[project.urls]
Homepage = "https://github.com/langflow-ai/openrag"
Documentation = "https://docs.openr.ag/sdk/python"
Repository = "https://github.com/langflow-ai/openrag"
Issues = "https://github.com/langflow-ai/openrag/issues"
[tool.hatch.build.targets.wheel]
packages = ["openrag_sdk"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "module"
testpaths = ["tests"]
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.10"
strict = true