2023-02-16 01:02:30 +00:00
|
|
|
[build-system]
|
2023-02-17 23:08:05 +00:00
|
|
|
requires = ["hatchling", "hatch-vcs"]
|
2023-02-16 01:02:30 +00:00
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[project]
|
2024-07-16 16:15:41 +00:00
|
|
|
name = "khoj"
|
2024-08-04 20:56:41 +00:00
|
|
|
description = "Your Second Brain"
|
2023-02-16 01:02:30 +00:00
|
|
|
readme = "README.md"
|
2024-01-29 12:33:43 +00:00
|
|
|
license = "AGPL-3.0-or-later"
|
2024-07-09 06:58:11 +00:00
|
|
|
requires-python = ">=3.10"
|
2023-02-16 01:02:30 +00:00
|
|
|
authors = [
|
2023-02-16 09:12:04 +00:00
|
|
|
{ name = "Debanjum Singh Solanky, Saba Imran" },
|
2023-02-16 01:02:30 +00:00
|
|
|
]
|
|
|
|
keywords = [
|
|
|
|
"search",
|
|
|
|
"semantic-search",
|
|
|
|
"productivity",
|
|
|
|
"NLP",
|
|
|
|
"AI",
|
|
|
|
"org-mode",
|
|
|
|
"markdown",
|
|
|
|
"images",
|
2023-06-01 04:25:48 +00:00
|
|
|
"pdf",
|
2023-02-16 01:02:30 +00:00
|
|
|
]
|
|
|
|
classifiers = [
|
2024-03-28 18:28:15 +00:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
2023-02-16 01:02:30 +00:00
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
2023-06-29 21:54:51 +00:00
|
|
|
"Programming Language :: Python :: 3.11",
|
2024-04-07 05:07:54 +00:00
|
|
|
"Programming Language :: Python :: 3.12",
|
2023-02-16 01:02:30 +00:00
|
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
|
2024-03-28 18:28:15 +00:00
|
|
|
"Intended Audience :: Information Technology",
|
2023-02-16 01:02:30 +00:00
|
|
|
]
|
|
|
|
dependencies = [
|
2024-03-09 18:38:48 +00:00
|
|
|
"beautifulsoup4 ~= 4.12.3",
|
2023-08-07 05:48:40 +00:00
|
|
|
"dateparser >= 1.1.1",
|
2023-02-16 01:02:30 +00:00
|
|
|
"defusedxml == 0.7.1",
|
2024-09-04 06:55:21 +00:00
|
|
|
"fastapi >= 0.110.0",
|
2024-02-14 12:02:47 +00:00
|
|
|
"python-multipart >= 0.0.7",
|
2024-06-04 03:35:53 +00:00
|
|
|
"jinja2 == 3.1.4",
|
2023-12-03 23:16:00 +00:00
|
|
|
"openai >= 1.0.0",
|
2023-08-09 06:00:40 +00:00
|
|
|
"tiktoken >= 0.3.2",
|
2023-03-25 05:36:51 +00:00
|
|
|
"tenacity >= 8.2.2",
|
2024-04-03 04:54:16 +00:00
|
|
|
"magika ~= 0.5.1",
|
2024-06-22 09:42:39 +00:00
|
|
|
"pillow ~= 10.0.0",
|
2024-06-24 09:28:56 +00:00
|
|
|
"pydantic[email] >= 2.0.0",
|
2024-04-07 05:07:54 +00:00
|
|
|
"pyyaml ~= 6.0",
|
2023-02-16 01:02:30 +00:00
|
|
|
"rich >= 13.3.1",
|
|
|
|
"schedule == 1.1.0",
|
2024-07-05 10:37:42 +00:00
|
|
|
"sentence-transformers == 3.0.1",
|
|
|
|
"einops == 0.8.0",
|
2023-08-02 16:10:14 +00:00
|
|
|
"transformers >= 4.28.0",
|
2024-04-07 05:07:54 +00:00
|
|
|
"torch == 2.2.2",
|
2024-09-04 06:55:21 +00:00
|
|
|
"uvicorn == 0.30.6",
|
2023-11-29 00:57:07 +00:00
|
|
|
"aiohttp ~= 3.9.0",
|
2024-06-17 09:22:11 +00:00
|
|
|
"langchain == 0.2.5",
|
|
|
|
"langchain-community == 0.2.5",
|
2023-06-17 08:39:57 +00:00
|
|
|
"requests >= 2.26.0",
|
2024-06-17 09:22:11 +00:00
|
|
|
"tenacity == 8.3.0",
|
2023-08-31 21:14:13 +00:00
|
|
|
"anyio == 3.7.1",
|
2024-10-21 19:56:51 +00:00
|
|
|
"pymupdf == 1.24.11",
|
2024-12-10 23:47:47 +00:00
|
|
|
"django == 5.0.10",
|
2024-12-05 07:53:43 +00:00
|
|
|
"django-unfold == 0.42.0",
|
2023-10-15 02:39:13 +00:00
|
|
|
"authlib == 1.2.1",
|
2024-08-16 10:20:24 +00:00
|
|
|
"llama-cpp-python == 0.2.88",
|
2023-10-15 02:39:13 +00:00
|
|
|
"itsdangerous == 2.1.2",
|
|
|
|
"httpx == 0.25.0",
|
2023-12-20 07:55:43 +00:00
|
|
|
"pgvector == 0.2.4",
|
2023-10-26 16:42:29 +00:00
|
|
|
"psycopg2-binary == 2.9.9",
|
2023-11-01 00:59:53 +00:00
|
|
|
"lxml == 4.9.3",
|
2023-11-03 06:02:38 +00:00
|
|
|
"tzdata == 2023.3",
|
2024-09-19 02:12:16 +00:00
|
|
|
"rapidocr-onnxruntime == 1.3.24",
|
2023-11-26 11:37:45 +00:00
|
|
|
"openai-whisper >= 20231117",
|
2024-01-18 13:54:14 +00:00
|
|
|
"django-phonenumber-field == 7.3.0",
|
|
|
|
"phonenumbers == 8.13.27",
|
2024-03-09 18:38:48 +00:00
|
|
|
"markdownify ~= 0.11.6",
|
2024-04-26 19:35:29 +00:00
|
|
|
"markdown-it-py ~= 3.0.0",
|
2024-03-20 08:41:18 +00:00
|
|
|
"websockets == 12.0",
|
2024-04-13 16:45:34 +00:00
|
|
|
"psutil >= 5.8.0",
|
2024-04-16 19:39:36 +00:00
|
|
|
"huggingface-hub >= 0.22.2",
|
2024-03-11 21:29:32 +00:00
|
|
|
"apscheduler ~= 3.10.0",
|
2024-04-26 19:26:49 +00:00
|
|
|
"pytz ~= 2024.1",
|
2024-04-29 13:24:54 +00:00
|
|
|
"cron-descriptor == 1.4.3",
|
2024-04-30 12:13:27 +00:00
|
|
|
"django_apscheduler == 0.6.2",
|
2024-05-26 17:20:34 +00:00
|
|
|
"anthropic == 0.26.1",
|
2024-09-13 01:17:55 +00:00
|
|
|
"docx2txt == 0.8",
|
2024-11-02 05:51:00 +00:00
|
|
|
"google-generativeai == 0.8.3",
|
2024-11-27 00:16:00 +00:00
|
|
|
"pyjson5 == 1.6.7",
|
2023-02-16 01:02:30 +00:00
|
|
|
]
|
2023-02-17 23:08:05 +00:00
|
|
|
dynamic = ["version"]
|
2023-02-16 01:02:30 +00:00
|
|
|
|
|
|
|
[project.urls]
|
2024-03-14 22:33:39 +00:00
|
|
|
Homepage = "https://khoj.dev"
|
|
|
|
Documentation = "https://docs.khoj.dev"
|
|
|
|
Code = "https://github.com/khoj-ai/khoj"
|
2023-02-16 01:02:30 +00:00
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
khoj = "khoj.main:run"
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
2024-02-14 09:50:27 +00:00
|
|
|
prod = [
|
2024-04-24 05:58:55 +00:00
|
|
|
"gunicorn == 22.0.0",
|
2024-02-14 09:50:27 +00:00
|
|
|
"google-auth == 2.23.3",
|
|
|
|
"stripe == 7.3.0",
|
|
|
|
"twilio == 8.11",
|
2024-03-08 05:24:13 +00:00
|
|
|
"boto3 >= 1.34.57",
|
2024-05-30 01:35:11 +00:00
|
|
|
"resend == 1.0.1",
|
2024-02-14 09:50:27 +00:00
|
|
|
]
|
2024-02-14 10:27:32 +00:00
|
|
|
dev = [
|
2024-07-16 16:15:41 +00:00
|
|
|
"khoj[prod]",
|
2023-02-17 18:07:59 +00:00
|
|
|
"pytest >= 7.1.2",
|
2024-02-14 10:27:32 +00:00
|
|
|
"pytest-xdist[psutil]",
|
|
|
|
"pytest-django == 4.5.2",
|
|
|
|
"pytest-asyncio == 0.21.1",
|
2023-06-29 05:04:34 +00:00
|
|
|
"freezegun >= 1.2.0",
|
|
|
|
"factory-boy >= 3.2.1",
|
2023-02-17 18:07:59 +00:00
|
|
|
"mypy >= 1.0.1",
|
|
|
|
"black >= 23.1.0",
|
|
|
|
"pre-commit >= 3.0.4",
|
2024-11-02 06:57:22 +00:00
|
|
|
"gitpython ~= 3.1.43",
|
2024-11-02 09:38:26 +00:00
|
|
|
"datasets",
|
|
|
|
"pandas",
|
2023-02-16 01:02:30 +00:00
|
|
|
]
|
|
|
|
|
2023-02-17 23:08:05 +00:00
|
|
|
[tool.hatch.version]
|
|
|
|
source = "vcs"
|
|
|
|
raw-options.local_scheme = "no-local-version" # PEP440 compliant version for PyPi
|
|
|
|
|
2023-02-16 01:02:30 +00:00
|
|
|
[tool.hatch.build.targets.sdist]
|
|
|
|
include = ["src/khoj"]
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
2023-02-16 09:33:08 +00:00
|
|
|
packages = ["src/khoj"]
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
files = "src/khoj"
|
|
|
|
pretty = true
|
|
|
|
strict_optional = false
|
|
|
|
install_types = true
|
2023-02-17 18:07:59 +00:00
|
|
|
ignore_missing_imports = true
|
2023-02-16 09:33:08 +00:00
|
|
|
non_interactive = true
|
|
|
|
show_error_codes = true
|
2023-02-17 22:11:17 +00:00
|
|
|
warn_unused_ignores = false
|
2023-02-17 16:04:26 +00:00
|
|
|
|
|
|
|
[tool.black]
|
2023-02-17 18:07:59 +00:00
|
|
|
line-length = 120
|
2023-03-15 00:56:14 +00:00
|
|
|
|
2023-11-21 20:48:12 +00:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
|
2023-03-15 00:56:14 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "--strict-markers"
|
|
|
|
markers = [
|
|
|
|
"chatquality: Evaluate chatbot capabilities and quality",
|
|
|
|
]
|