|
@@ -1,8 +1,3 @@
|
|
-[[tool.poetry.source]]
|
|
|
|
-name = "aliyun"
|
|
|
|
-url = "https://mirrors.aliyun.com/pypi/simple"
|
|
|
|
-priority = "primary"
|
|
|
|
-
|
|
|
|
[build-system]
|
|
[build-system]
|
|
requires = ["poetry-core", "setuptools", "wheel"]
|
|
requires = ["poetry-core", "setuptools", "wheel"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
build-backend = "poetry.core.masonry.api"
|
|
@@ -10,12 +5,19 @@ build-backend = "poetry.core.masonry.api"
|
|
[tool.poetry]
|
|
[tool.poetry]
|
|
name = "r2r"
|
|
name = "r2r"
|
|
readme = "README.md"
|
|
readme = "README.md"
|
|
-version = "3.3.14"
|
|
|
|
|
|
+version = "3.3.18"
|
|
|
|
|
|
description = "SciPhi R2R"
|
|
description = "SciPhi R2R"
|
|
authors = ["Owen Colegrove <owen@sciphi.ai>"]
|
|
authors = ["Owen Colegrove <owen@sciphi.ai>"]
|
|
license = "MIT"
|
|
license = "MIT"
|
|
-include = ["r2r.toml", "compose.yaml", "compose.full.yaml", "pyproject.toml", "migrations/**/*" ]
|
|
|
|
|
|
+include = [
|
|
|
|
+ "r2r.toml",
|
|
|
|
+ "compose.yaml",
|
|
|
|
+ "compose.full.yaml",
|
|
|
|
+ "compose.full_with_replicas.yaml",
|
|
|
|
+ "pyproject.toml",
|
|
|
|
+ "migrations/**/*"
|
|
|
|
+]
|
|
packages = [
|
|
packages = [
|
|
{ include = "r2r" },
|
|
{ include = "r2r" },
|
|
{ include = "sdk", from = "." },
|
|
{ include = "sdk", from = "." },
|
|
@@ -41,7 +43,7 @@ python-dotenv = "^1.0.1"
|
|
requests = "^2.31.0"
|
|
requests = "^2.31.0"
|
|
toml = "^0.10.2"
|
|
toml = "^0.10.2"
|
|
types-requests = "^2.31.0"
|
|
types-requests = "^2.31.0"
|
|
-unstructured-client = "^0.25.5"
|
|
|
|
|
|
+unstructured-client = "0.25.5"
|
|
psycopg-binary = "^3.2.3"
|
|
psycopg-binary = "^3.2.3"
|
|
aiosmtplib = "^3.0.2"
|
|
aiosmtplib = "^3.0.2"
|
|
types-aiofiles = "^24.1.0.20240626"
|
|
types-aiofiles = "^24.1.0.20240626"
|
|
@@ -82,14 +84,23 @@ aiofiles = { version = "^24.1.0", optional = true }
|
|
aioshutil = { version = "^1.5", optional = true }
|
|
aioshutil = { version = "^1.5", optional = true }
|
|
beautifulsoup4 = { version = "^4.12.3", optional = true }
|
|
beautifulsoup4 = { version = "^4.12.3", optional = true }
|
|
bs4 = { version = "^0.0.2", optional = true }
|
|
bs4 = { version = "^0.0.2", optional = true }
|
|
-numpy = { version = ">=1.22.4,<1.29.0", optional = true }
|
|
|
|
|
|
+epub = { version = "^0.5.2", optional = true }
|
|
|
|
+extract-msg = { version = "^0.52.0", optional = true }
|
|
markdown = { version = "^3.6", optional = true }
|
|
markdown = { version = "^3.6", optional = true }
|
|
|
|
+numpy = { version = ">=1.22.4,<1.29.0", optional = true }
|
|
|
|
+olefile = { version = "^0.47", optional = true }
|
|
openpyxl = { version = "^3.1.2", optional = true }
|
|
openpyxl = { version = "^3.1.2", optional = true }
|
|
|
|
+orgparse = { version = "^0.4.20231004", optional = true }
|
|
pdf2image = { version = "^1.17.0", optional = true }
|
|
pdf2image = { version = "^1.17.0", optional = true }
|
|
|
|
+pillow-heif = { version = "^0.21.0", optional = true }
|
|
pypdf = { version = "^4.2.0", optional = true }
|
|
pypdf = { version = "^4.2.0", optional = true }
|
|
pypdf2 = { version = "^3.0.1", optional = true }
|
|
pypdf2 = { version = "^3.0.1", optional = true }
|
|
python-pptx = { version = "^1.0.1", optional = true }
|
|
python-pptx = { version = "^1.0.1", optional = true }
|
|
python-docx = { version = "^1.1.0", optional = true }
|
|
python-docx = { version = "^1.1.0", optional = true }
|
|
|
|
+docutils = { version = "^0.21.2", optional = true }
|
|
|
|
+striprtf = { version = "^0.0.28", optional = true }
|
|
|
|
+xlrd = { version = "^2.0.1", optional = true }
|
|
|
|
+pynacl = { version = "^1.5.0", optional = true }
|
|
|
|
|
|
[tool.poetry.extras]
|
|
[tool.poetry.extras]
|
|
core = [
|
|
core = [
|
|
@@ -121,6 +132,7 @@ core = [
|
|
"uvicorn",
|
|
"uvicorn",
|
|
"vecs",
|
|
"vecs",
|
|
"python-multipart",
|
|
"python-multipart",
|
|
|
|
+ "pynacl"
|
|
]
|
|
]
|
|
ingestion-bundle = [
|
|
ingestion-bundle = [
|
|
"aiofiles",
|
|
"aiofiles",
|
|
@@ -128,13 +140,22 @@ ingestion-bundle = [
|
|
"beautifulsoup4",
|
|
"beautifulsoup4",
|
|
"bs4",
|
|
"bs4",
|
|
"numpy",
|
|
"numpy",
|
|
|
|
+ "docutils",
|
|
|
|
+ "epub",
|
|
|
|
+ "extract-msg",
|
|
"markdown",
|
|
"markdown",
|
|
|
|
+ "numpy",
|
|
|
|
+ "olefile",
|
|
"openpyxl",
|
|
"openpyxl",
|
|
|
|
+ "orgparse",
|
|
"pdf2image",
|
|
"pdf2image",
|
|
|
|
+ "pillow-heif",
|
|
"pypdf",
|
|
"pypdf",
|
|
"pypdf2",
|
|
"pypdf2",
|
|
"python-pptx",
|
|
"python-pptx",
|
|
"python-docx",
|
|
"python-docx",
|
|
|
|
+ "striprtf",
|
|
|
|
+ "xlrd",
|
|
]
|
|
]
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
[tool.poetry.group.dev.dependencies]
|
|
@@ -150,6 +171,7 @@ pytest-mock = "^3.14.0"
|
|
pytest-cov = "^5.0.0"
|
|
pytest-cov = "^5.0.0"
|
|
pytest-html = "^4.1.1"
|
|
pytest-html = "^4.1.1"
|
|
types-toml = "^0.10.8"
|
|
types-toml = "^0.10.8"
|
|
|
|
+pytest-xdist = "^3.6.1"
|
|
|
|
|
|
[tool.black]
|
|
[tool.black]
|
|
line-length = 79
|
|
line-length = 79
|