Files
browser-use/pyproject.toml
Nick Sweeting cc98598fb9 fix tests
2025-03-27 23:00:25 -07:00

86 lines
2.1 KiB
TOML

[project]
name = "browser-use"
description = "Make websites accessible for AI agents"
authors = [{ name = "Gregor Zunic" }]
version = "0.1.40"
readme = "README.md"
requires-python = ">=3.11,<4.0"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"httpx>=0.27.2",
"pydantic>=2.10.4",
"python-dotenv>=1.0.1",
"requests>=2.32.3",
"posthog>=3.7.0",
"playwright>=1.51.0",
"markdownify==1.1.0",
"langchain-core==0.3.49",
"langchain-openai==0.3.11",
"langchain-anthropic==0.3.3",
"langchain-ollama==0.3.0",
"google-api-core>=2.24.0",
"pyperclip>=1.9.0",
"pyobjc>=11.0; platform_system == 'darwin'",
"screeninfo>=0.8.1; platform_system != 'darwin'",
"typing-extensions>=4.12.2",
"psutil>=7.0.0",
]
# google-api-core: only used for Google LLM APIs
# pyperclip: only used for examples that use copy/paste
# pyobjc: only used to get screen resolution on macOS
# screeninfo: only used to get screen resolution on Linux/Windows
# markdownify: used for page text content extraction for passing to LLM
urls = { "Repository" = "https://github.com/browser-use/browser-use" }
[project.optional-dependencies]
dev = [
"ruff>=0.11.2",
"tokencost>=0.1.16",
"build>=1.2.2",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"fastapi>=0.115.8",
"inngest>=0.4.19",
"uvicorn>=0.34.0",
"langchain>=0.3.21",
"langchain-aws>=0.2.11",
"langchain-fireworks>=0.2.6",
"langchain-google-genai==2.0.8",
"pytest>=8.3.5",
]
[tool.ruff]
line-length = 130
fix = true
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.format]
quote-style = "single"
indent-style = "tab"
docstring-code-format = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = [
"browser_use/**/*.py",
"!browser_use/**/tests/*.py",
"!browser_use/**/tests.py",
"browser_use/agent/system_prompt.md",
"browser_use/dom/buildDomTree.js",
]
[tool.uv]
dev-dependencies = [
"ruff>=0.11.2",
]