Files
MoFin/venv/lib/python3.12/site-packages/curl_cffi/__init__.py
T
知微 fa45d8aa5f fix: 小果地址统一node122(兼容LAN+EasyTier)
- health_checklist.json: 192.168.1.122→node122
- ocr_client.py: docstring IP→node122
- docs/market-data-requirements.md: IP→node122
- 所有API调用通过ProxyHandler({})绕过系统代理
  Privoxy对node122:18003返回500,直连正常
2026-06-30 02:56:35 +08:00

101 lines
1.7 KiB
Python

__all__ = [
"Curl",
"AsyncCurl",
"CurlMime",
"CurlError",
"CurlInfo",
"CurlOpt",
"CurlMOpt",
"CurlECode",
"CurlHttpVersion",
"CurlFollow",
"CurlSslVersion",
"CurlWsFlag",
"config_warnings",
"ffi",
"is_pro",
"lib",
"Session",
"AsyncSession",
"BrowserType",
"BrowserTypeLiteral",
"request",
"head",
"get",
"post",
"put",
"patch",
"delete",
"options",
"Cookies",
"Headers",
"Request",
"Response",
"AsyncWebSocket",
"WebSocket",
"WebSocketError",
"WebSocketClosed",
"WebSocketTimeout",
"WebSocketRetryStrategy",
"WsCloseCode",
"ExtraFingerprints",
"CookieTypes",
"HeaderTypes",
"ProxySpec",
"exceptions",
]
import _cffi_backend # noqa: F401 # required by _wrapper
from .__version__ import __curl_version__, __description__, __title__, __version__ # noqa: F401
# This line includes _wrapper.so into the wheel
from ._wrapper import ffi, lib
from .aio import AsyncCurl
from .const import (
CurlECode,
CurlFollow,
CurlHttpVersion,
CurlInfo,
CurlMOpt,
CurlOpt,
CurlSslVersion,
CurlWsFlag,
)
from .curl import Curl, CurlError, CurlMime
from .requests import (
AsyncSession,
AsyncWebSocket,
BrowserType,
BrowserTypeLiteral,
Cookies,
CookieTypes,
ExtraFingerprints,
Headers,
HeaderTypes,
ProxySpec,
Request,
Response,
Session,
WebSocket,
WebSocketClosed,
WebSocketError,
WebSocketTimeout,
WebSocketRetryStrategy,
WsCloseCode,
delete,
exceptions,
get,
head,
options,
patch,
post,
put,
request,
)
from .utils import config_warnings, is_pro
config_warnings(on=False)