pryscraper/pyproject.toml
cryptorugmunch 47ba268131 docs: apply fleet-template (16-artifact scaffold)
Adds missing standard artifacts:
- README.md (if missing)
- AGENTS.md (AI agent contract)
- PLAN.md (current sprint)
- STATUS.md (where we are)
- DEVELOPMENT.md (dev workflow)
- DEPLOYMENT.md (deploy procedure)
- TESTING.md (test strategy)
- DECISIONS.md (ADR index + templates)
- .github/CODEOWNERS
- .github/workflows/ci.yml

Preserves all existing artifacts.

Refs: RugMunchMedia/fleet-template
2026-07-02 02:07:13 +07:00

102 lines
2 KiB
TOML

[build-system]
requires = ["setuptools>=69.0"]
build-backend = "setuptools.build_meta"
[project]
name = "pry"
version = "3.0.0"
description = "Free web scraping + browser automation API — self-hosted, no API keys needed"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Proprietary" }
authors = [{ name = "Rug Munch Media LLC" }]
dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"trafilatura>=2.0.0",
"readability-lxml>=0.8.1",
"lxml>=5.3.0",
"httpx>=0.28.0",
"markdownify>=0.14.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"playwright>=1.50.0",
"redis>=5.0.0",
"pypdf>=5.0.0",
"python-docx>=1.1.0",
"tiktoken>=0.8.0",
"pillow>=10.0.0",
"click>=8.0.0",
"pyyaml>=6.0",
"pandas>=2.0.0",
"anyio>=4.0.0",
"croniter>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"ruff>=0.7.0",
"mypy>=1.12.0",
"pre-commit>=4.0.0",
]
[project.scripts]
pry = "cli:main"
[tool.setuptools.packages.find]
include = ["pry*"]
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "B", "A", "C4", "SIM", "UP", "RUF"]
ignore = ["E501", "N815", "B008", "A002", "RUF006"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.11"
strict = true
ignore_missing_imports = true
exclude = [
"build/",
"dist/",
".git/",
"__pycache__/",
]
warn_unused_ignores = false
[[tool.mypy.overrides]]
module = [
"trafilatura",
"trafilatura.*",
"readability",
"readability.*",
"playwright",
"playwright.*",
"pypdf",
"pypdf.*",
"docx",
"docx.*",
"PIL",
"PIL.*",
"markdownify",
"markdownify.*",
"pandas",
"pandas.*",
"yaml",
"yaml.*",
"numpy",
"numpy.*",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]