2025-01-01 15:39:33 +08:00
|
|
|
[build-system]
|
|
|
|
requires = ["setuptools>=64.0.0", "wheel"]
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "Crawl4AI"
|
|
|
|
dynamic = ["version"]
|
|
|
|
description = "🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & scraper"
|
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.9"
|
|
|
|
license = {text = "MIT"}
|
|
|
|
authors = [
|
|
|
|
{name = "Unclecode", email = "unclecode@kidocode.com"}
|
|
|
|
]
|
2025-01-01 15:45:27 +08:00
|
|
|
dependencies = [
|
|
|
|
"aiosqlite~=0.20",
|
|
|
|
"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",
|
|
|
|
"pydantic>=2.10",
|
|
|
|
"pyOpenSSL>=24.3.0",
|
|
|
|
"psutil>=6.1.1",
|
|
|
|
"nltk>=3.9.1",
|
|
|
|
"playwright",
|
|
|
|
"aiofiles"
|
|
|
|
]
|
2025-01-01 15:39:33 +08:00
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
"Programming Language :: Python :: 3.13",
|
|
|
|
]
|
|
|
|
|
2025-01-01 15:45:27 +08:00
|
|
|
[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.scripts]
|
|
|
|
crawl4ai-download-models = "crawl4ai.model_loader:main"
|
|
|
|
crawl4ai-migrate = "crawl4ai.migrations:main"
|
|
|
|
crawl4ai-setup = "crawl4ai.install:post_install"
|
2025-01-01 16:33:43 +08:00
|
|
|
crawl4ai-doctor = "crawl4ai.install:doctor"
|
2025-01-01 15:45:27 +08:00
|
|
|
crawl = "crawl4ai.cli:cli"
|
|
|
|
|
2025-01-01 15:39:33 +08:00
|
|
|
[tool.setuptools]
|
2025-01-01 17:53:51 +08:00
|
|
|
packages = {find = {where = ["."], include = ["crawl4ai*"]}}
|
2025-01-01 17:38:59 +08:00
|
|
|
|
|
|
|
[tool.setuptools.package-data]
|
|
|
|
crawl4ai = ["js_snippet/*.js"]
|
2025-01-01 15:39:33 +08:00
|
|
|
|
|
|
|
[tool.setuptools.dynamic]
|
2025-01-01 17:53:51 +08:00
|
|
|
version = {attr = "crawl4ai.__version__.__version__"}
|