76 lines
1.9 KiB
TOML
76 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling", "hatch-fancy-pypi-readme>=22.5.0"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "Crawl4AI"
|
|
dynamic = ["version"]
|
|
description = "🔥🕷️ Crawl4AI: Open-source LLM Friendly Web Crawler & scraper"
|
|
readme = "README.md"
|
|
license = "Apache-2.0"
|
|
requires-python = ">=3.7"
|
|
authors = [
|
|
{ name = "Unclecode", email = "unclecode@kidocode.com" },
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
]
|
|
dependencies = [
|
|
"aiosqlite~=0.20",
|
|
"html2text~=2024.2",
|
|
"lxml~=5.3",
|
|
"litellm>=1.53.1",
|
|
"numpy>=1.26.0,<3",
|
|
"pillow~=10.4",
|
|
"playwright>=1.49.0",
|
|
"python-dotenv~=1.0",
|
|
"requests~=2.26",
|
|
"beautifulsoup4~=4.12",
|
|
"tf-playwright-stealth>=1.1.0",
|
|
"xxhash~=3.4",
|
|
"rank-bm25~=0.2",
|
|
"aiofiles>=24.1.0",
|
|
"colorama~=0.4",
|
|
"snowballstemmer~=2.2",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
torch = ["torch", "nltk", "scikit-learn"]
|
|
transformer = ["transformers", "tokenizers"]
|
|
cosine = ["torch", "transformers", "nltk"]
|
|
sync = ["selenium"]
|
|
all = [
|
|
"torch",
|
|
"nltk",
|
|
"scikit-learn",
|
|
"transformers",
|
|
"tokenizers",
|
|
"selenium",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/unclecode/crawl4ai"
|
|
Documentation = "https://crawl4ai.com/mkdocs/"
|
|
|
|
[project.scripts]
|
|
crawl4ai-download-models = "crawl4ai.model_loader:main"
|
|
crawl4ai-migrate = "crawl4ai.migrations:main"
|
|
crawl4ai-post-install = "crawl4ai.post_install:main"
|
|
|
|
[tool.hatch.version]
|
|
path = "crawl4ai/__version__.py"
|
|
|
|
[tool.hatch.build.hooks.custom]
|
|
dependencies = ["hatch-fancy-pypi-readme>=22.5.0"]
|
|
path = "build_hooks.py"
|
|
|
|
[project.entry-points.hatch]
|
|
crawl4ai = "crawl4ai.plugin:post_install"
|