代码拉取完成,页面将自动刷新
# https://python-poetry.org/docs/libraries/#versioning
# https://pypi.org/project/hcaptcha-challenger/#history
[tool.poetry]
name = "hcaptcha-challenger"
version = "0.9.3"
description = "🥂 Gracefully face hCaptcha challenge with MoE(ONNX) embedded solution."
license = "GPL-3.0-or-later"
authors = ["QIN2DIM <yaoqinse@gmail.com>", "Bingjie Yan <bj.yan.pa@qq.com>"]
readme = "README.md"
homepage = "https://github.com/QIN2DIM/hcaptcha-challenger"
repository = "https://github.com/QIN2DIM/hcaptcha-challenger"
documentation = "https://github.com/QIN2DIM/hcaptcha-challenger"
keywords = ["hcaptcha", "hcaptcha-challenger", "hcaptcha-solver"]
packages = [{ include = "hcaptcha_challenger", format = "sdist" }]
classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
]
[virtualenvs]
# https://python-poetry.org/docs/configuration/#virtualenvsin-project
# Create a `.venv` virtual environment in the project root
in-project = true
# https://python-poetry.org/docs/pyproject/#dependencies-and-dependency-groups
[tool.poetry.dependencies]
python = "^3.8"
# Run `poetry install` in the project root
opencv-python = "^4.8.0.76"
numpy = "^1.24.4"
httpx = { version = "*", extras = ["http2"] }
onnxruntime = "^1.16.1"
loguru = "*"
tqdm = "*"
pyyaml = "*"
scikit-learn = "^1.3.1"
scikit-image = "^0.21.0"
importlib_metadata = "*"
ftfy = "*"
regex = "*"
# The following dependencies will not be installed
# when you just run `poetry install` or `pip install hcaptcha-challenger`
undetected-chromedriver = { version = "^3.5.3", optional = true }
webdriver-manager = { version = "^4.0.1", optional = true }
selenium = { version = "*", optional = true }
playwright = { version = "*", optional = true }
PyGithub = { version = "^1.59.1", optional = true }
istockphoto = { version = "0.1.2", optional = true }
fastapi = { version = "*", optional = true }
uvicorn = { version = "*", extras = ["standard"], optional = true }
[tool.poetry.group.test.dependencies]
# https://docs.pytest.org/en/stable/reference/plugin_list.html#plugin-list
# https://docs.pytest.org/en/stable/contents.html
pytest = "*"
# https://pytest-asyncio.readthedocs.io/en/latest/
pytest-asyncio = "*"
# https://pytest-cov.readthedocs.io/en/latest/readme.html
pytest-cov = "*"
# https://pytest-xdist.readthedocs.io/en/stable/
pytest-xdist = { version = "*", extras = ["psutil"] }
# https://black.readthedocs.io/en/stable/
black = { version = "*", extras = ["jupyter"] }
# https://github.com/pythonprofilers/memory_profiler
memory-profiler = "*"
[tool.pytest.ini_options]
# https://docs.pytest.org/en/stable/reference/reference.html#configuration-options
testpaths = ["tests", "examples"]
asyncio_mode = "auto"
filterwarnings = "ignore::DeprecationWarning"
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311"]
skip-magic-trailing-comma = true
[tool.poetry.extras]
# 1. Running `poetry install -E [extras]` will install the general dependencies
# and specified dependencies at the same time.
# 2. The `-E` parameter can accept multiple extras-names,
# that is, if you only specify one extra, poetry will first uninstall the other extras installed
# and then try to install the extra you specified
# 3. Install all extra dependencies with `--all-extras`.
# poetry install --all-extras
# Developer: `poetry install -E selenium`
# User: `pip install hcaptcha-challenger[selenium]`
selenium = ["selenium", "undetected-chromedriver", "webdriver-manager"]
# Developer: `poetry install -E playwright`
# User: `pip install hcaptcha-challenger[playwright]`
playwright = ["playwright"]
# Developer: `poetry install -E sentinel`
# --> ci: sentinel
# --> ci: collector
sentinel = ["playwright", "PyGithub"]
# Developer: `poetry install -E istock`
# --> pull open source datasets
istock = ["istockphoto"]
# Developer: `poetry install -E server`
# User: `pip install hcaptcha-challenger[server]`
# https://fastapi.tiangolo.com/tutorial/
# https://www.uvicorn.org/#quickstart
server = ["fastapi", "uvicorn", "playwright", "PyGithub"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。