[{"data":1,"prerenderedAt":317},["ShallowReactive",2],{"repo-psf-requests-zh-CN":3,"i18n-psf-requests-zh-CN":314},{"mirrorPool":4,"detail":13,"relatedProjects":175},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":24,"homepage":25,"pushedAt":26,"ownerAvatar":27,"ownerName":28,"ownerBio":29,"lastSyncTime":30,"lastReleaseTime":31,"tags":32,"license":40,"category":41,"subgroup":42,"releases":43},"psf","requests",1362490,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests",54522,"Python","A simple, yet elegant, HTTP library.",{"Python":22,"Makefile":23},99.4,0.6,[],"https:\u002F\u002Frequests.readthedocs.io\u002Fen\u002Flatest\u002F","2026-09-28","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50630501?v=4","Python Software Foundation","Official repositories for the Python Software Foundation, the nonprofit steward of Python—supporting the language, community, infrastructure, grants, and PyCon ","2026-10-20T10:24:07.955621+00:00","2026-05-14T19:27:15Z",[33,34,35,36,37,38,39,15],"client","cookies","forhumans","http","humans","python","python-requests","Apache-2.0","development","开发库\u002F框架",[44,63,79,94,112,127,144,160],{"tag":45,"publishAt":31,"semVer":46,"prerelease":49,"assets":50},"v2.34.2",[47,48,47],2,34,false,[51,57],{"fileName":52,"sizeMb":53,"sha256":54,"downloadCount":55,"originUrl":56},"requests-2.34.2-py3-none-any.whl",0.07,"2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0",587,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.2\u002Frequests-2.34.2-py3-none-any.whl",{"fileName":58,"sizeMb":59,"sha256":60,"downloadCount":61,"originUrl":62},"requests-2.34.2.tar.gz",0.14,"f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed",595,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.2\u002Frequests-2.34.2.tar.gz",{"tag":64,"publishAt":65,"semVer":66,"prerelease":49,"assets":68},"v2.34.1","2026-05-13T19:23:51Z",[47,48,67],1,[69,74],{"fileName":70,"sizeMb":53,"sha256":71,"downloadCount":72,"originUrl":73},"requests-2.34.1-py3-none-any.whl","bf38a3ff993960d3dd819c08862c40b3c703306eb7c744fcd9f4ddbb95b548f0",36,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.1\u002Frequests-2.34.1-py3-none-any.whl",{"fileName":75,"sizeMb":59,"sha256":76,"downloadCount":77,"originUrl":78},"requests-2.34.1.tar.gz","0fc5669f2b69704449fe1552360bd2a73a54512dfd03e65529157f1513322beb",105,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.1\u002Frequests-2.34.1.tar.gz",{"tag":80,"publishAt":81,"semVer":82,"prerelease":49,"assets":84},"v2.34.0","2026-05-11T19:40:27Z",[47,48,83],0,[85,89],{"fileName":86,"sizeMb":53,"sha256":87,"downloadCount":72,"originUrl":88},"requests-2.34.0-py3-none-any.whl","917520a21b767485ce7c588f4ebb917c436b24a31231b44228715eaeb5a52c60","https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.0\u002Frequests-2.34.0-py3-none-any.whl",{"fileName":90,"sizeMb":59,"sha256":91,"downloadCount":92,"originUrl":93},"requests-2.34.0.tar.gz","7d62fe92f50eb82c529b0916bb445afa1531a566fc8f35ffdc64446e771b856a",59,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.34.0\u002Frequests-2.34.0.tar.gz",{"tag":95,"publishAt":96,"semVer":97,"prerelease":49,"assets":99},"v2.33.1","2026-03-30T16:12:09Z",[47,98,67],33,[100,106],{"fileName":101,"sizeMb":102,"sha256":103,"downloadCount":104,"originUrl":105},"requests-2.33.1-py3-none-any.whl",0.06,"4e6d1ef462f3626a1f0a0a9c42dd93c63bad33f9f1c1937509b8c5c8718ab56a",170,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.33.1\u002Frequests-2.33.1-py3-none-any.whl",{"fileName":107,"sizeMb":108,"sha256":109,"downloadCount":110,"originUrl":111},"requests-2.33.1.tar.gz",0.13,"18817f8c57c6263968bc123d237e3b8b08ac046f5456bd1e307ee8f4250d3517",256,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.33.1\u002Frequests-2.33.1.tar.gz",{"tag":113,"publishAt":114,"semVer":115,"prerelease":49,"assets":116},"v2.33.0","2026-03-25T16:38:25Z",[47,98,83],[117,122],{"fileName":118,"sizeMb":102,"sha256":119,"downloadCount":120,"originUrl":121},"requests-2.33.0-py3-none-any.whl","3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b",139,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.33.0\u002Frequests-2.33.0-py3-none-any.whl",{"fileName":123,"sizeMb":108,"sha256":124,"downloadCount":125,"originUrl":126},"requests-2.33.0.tar.gz","c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652",66,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.33.0\u002Frequests-2.33.0.tar.gz",{"tag":128,"publishAt":129,"semVer":130,"prerelease":49,"assets":133},"v2.32.5","2025-08-18T20:33:27Z",[47,131,132],32,5,[134,139],{"fileName":135,"sizeMb":102,"sha256":136,"downloadCount":137,"originUrl":138},"requests-2.32.5-py3-none-any.whl","2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6",830,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.5\u002Frequests-2.32.5-py3-none-any.whl",{"fileName":140,"sizeMb":108,"sha256":141,"downloadCount":142,"originUrl":143},"requests-2.32.5.tar.gz","dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf",727,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.5\u002Frequests-2.32.5.tar.gz",{"tag":145,"publishAt":146,"semVer":147,"prerelease":49,"assets":149},"v2.32.4","2025-06-09T18:22:07Z",[47,131,148],4,[150,155],{"fileName":151,"sizeMb":102,"sha256":152,"downloadCount":153,"originUrl":154},"requests-2.32.4-py3-none-any.whl","27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c",266,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.4\u002Frequests-2.32.4-py3-none-any.whl",{"fileName":156,"sizeMb":108,"sha256":157,"downloadCount":158,"originUrl":159},"requests-2.32.4.tar.gz","27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422",297,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.4\u002Frequests-2.32.4.tar.gz",{"tag":161,"publishAt":162,"semVer":163,"prerelease":49,"assets":165},"v2.32.3","2024-05-29T15:39:40Z",[47,131,164],3,[166,171],{"fileName":167,"sizeMb":102,"sha256":168,"downloadCount":169,"originUrl":170},"requests-2.32.3-py3-none-any.whl","",1387,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.3\u002Frequests-2.32.3-py3-none-any.whl",{"fileName":172,"sizeMb":108,"sha256":168,"downloadCount":173,"originUrl":174},"requests-2.32.3.tar.gz",2088,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Freleases\u002Fdownload\u002Fv2.32.3\u002Frequests-2.32.3.tar.gz",[176,209,232,260,280,296],{"owner":177,"repo":178,"repoId":179,"category":41,"subgroup":42,"language":19,"tags":180,"starCount":199,"ownerUid":200,"latestTag":201,"platforms":202,"lastReleaseTime":206,"downloadCount":207,"description":208},"unslothai","unsloth",725205304,[181,182,183,184,185,186,187,188,189,190,191,38,192,193,194,195,196,197,198,178],"agent","ai","chatgpt","deepseek","fine-tuning","gemma","image-generation","llama","llm","llms","openai","qwen","reinforcement-learning","self-hosted","stable-diffusion","text-to-speech","tts","ui",78618,150920049,"v0.1.911-beta",[203,204,205],"windows","mac","linux","2026-10-26T14:23:54Z",12443,"一个用于加速大型语言模型（LLM）微调的开源库，支持大幅降低显存占用并提升训练速度。",{"owner":210,"repo":211,"repoId":212,"category":41,"subgroup":42,"language":19,"tags":213,"starCount":225,"ownerUid":226,"latestTag":227,"platforms":228,"lastReleaseTime":229,"downloadCount":230,"description":231},"openbq-org","OpenBB",323048702,[182,214,215,216,217,218,219,220,221,222,38,223,224],"crypto","derivatives","economics","equity","finance","fixed-income","machine-learning","openbb","options","quantitative-finance","stocks",74466,328144346,"ODP",[203,204],"2026-09-30T01:47:43Z",1099,"OpenBB 是面向分析师、量化研究员和 AI Agent 的开放金融数据平台，以 Python 库与 REST API 形式聚合股票、期权、加密货币、宏观经济等多源数据，一次接入多处消费。",{"owner":233,"repo":234,"repoId":235,"category":41,"subgroup":42,"language":19,"tags":236,"starCount":252,"ownerUid":253,"latestTag":254,"platforms":255,"lastReleaseTime":257,"downloadCount":258,"description":259},"pathwaycom","pathway",571186647,[237,238,239,240,241,242,243,244,245,246,234,38,247,248,249,250,251],"batch-processing","data-analytics","data-pipelines","data-processing","dataflow","etl","etl-framework","iot-analytics","kafka","machine-learning-algorithms","real-time","rust","stream-processing","streaming","time-series-analysis",62092,25750857,"v0.32.1",[256],"other","2026-08-01T09:17:35Z",359,"Pathway 是一个 Python ETL 框架，统一处理批数据与流数据，适用于流处理、实时分析、LLM 管道与 RAG，底层由基于 Differential Dataflow 的 Rust 引擎驱动。",{"owner":261,"repo":262,"repoId":263,"category":41,"subgroup":42,"language":19,"tags":264,"starCount":273,"ownerUid":274,"latestTag":275,"platforms":276,"lastReleaseTime":277,"downloadCount":278,"description":279},"run-llama","llama_index",560704231,[265,266,267,185,268,269,189,270,271,272],"agents","application","data","framework","llamaindex","multi-agents","rag","vector-database",52579,130722866,"v0.14.25",[256],"2026-09-21T16:22:27Z",35,"LlamaIndex 是一个面向大语言模型应用的开源数据框架（Python），提供数据连接器、索引、查询引擎与 Agent 编排，把私有数据接入 LLM 构建 RAG 与智能体应用。",{"owner":281,"repo":282,"repoId":283,"category":41,"subgroup":42,"language":19,"tags":284,"starCount":289,"ownerUid":290,"latestTag":291,"platforms":292,"lastReleaseTime":293,"downloadCount":294,"description":295},"pandas-dev","pandas",858127,[285,286,287,288,282,38],"alignment","data-analysis","data-science","flexible",50247,21206976,"v3.1.0",[256],"2026-10-22T13:20:42Z",164,"pandas 是 Python 最流行的数据分析与处理库，提供类似 R data.frame 的带标签数据结构 Series 与 DataFrame，覆盖清洗、对齐、分组聚合、时间序列等日常数据工作全流程。",{"owner":297,"repo":298,"repoId":299,"category":41,"subgroup":42,"language":300,"tags":301,"starCount":307,"ownerUid":308,"latestTag":309,"platforms":310,"lastReleaseTime":311,"downloadCount":312,"description":313},"jgthms","bulma",50264296,"CSS",[302,303,304,305,306],"css","css-framework","design","flexbox","html",50039,1254808,"1.0.4",[256],"2025-04-19T14:02:58Z",49173,"Bulma 是一个基于 Flexbox 的现代纯 CSS 框架，无需任何 JavaScript 即可构建响应式界面，提供栅格、组件与修饰符体系，兼容各主流浏览器。",{"description":315,"readmeHtml":316},"Requests 是 Python 最流行的 HTTP 客户端库，用极简 API 发送 HTTP\u002F1.1 请求，自动处理查询串、表单编码、Cookie、认证与压缩解码。","\u003Ch2 id=\"项目概述\">项目概述\u003C\u002Fh2>\u003Cp>Requests 是一个简单而优雅的 Python HTTP 库，让发送 HTTP\u002F1.1 请求变得极其容易：无需手动拼接查询字符串、无需手动做表单编码，直接用 \u003Ccode>json\u003C\u002Fcode> 参数即可发送 JSON 数据。它每周下载量约 3 亿次，被超过 400 万个仓库依赖，是 Python 生态事实上的 HTTP 客户端标准。\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>项目\u003C\u002Fth>\n\u003Cth>内容\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>语言\u003C\u002Ftd>\n\u003Ctd>Python\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>类型\u003C\u002Ftd>\n\u003Ctd>HTTP 客户端库\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Python 版本\u003C\u002Ftd>\n\u003Ctd>3.10+\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>许可\u003C\u002Ftd>\n\u003Ctd>Apache-2.0\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cblockquote>\n\u003Cp>「为人类设计的 HTTP」，几行代码搞定请求、Cookie 与认证。\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"主要功能\">主要功能\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>极简请求\u003C\u002Fstrong>：一个函数调用完成 GET、POST 等各类请求\u003C\u002Fli>\n\u003Cli>\u003Cstrong>会话保持\u003C\u002Fstrong>：Session 支持跨请求的 Cookie 持久化\u003C\u002Fli>\n\u003Cli>\u003Cstrong>连接复用\u003C\u002Fstrong>：Keep-Alive 与连接池提升请求效率\u003C\u002Fli>\n\u003Cli>\u003Cstrong>认证支持\u003C\u002Fstrong>：内置 Basic 与 Digest 认证\u003C\u002Fli>\n\u003Cli>\u003Cstrong>TLS 校验\u003C\u002Fstrong>：浏览器风格的 SSL\u002FTLS 证书验证\u003C\u002Fli>\n\u003Cli>\u003Cstrong>自动解码\u003C\u002Fstrong>：自动完成内容解压与字符解码\u003C\u002Fli>\n\u003Cli>\u003Cstrong>文件上传\u003C\u002Fstrong>：支持多部分编码的文件上传\u003C\u002Fli>\n\u003Cli>\u003Cstrong>代理支持\u003C\u002Fstrong>：支持 HTTP 与 SOCKS 代理\u003C\u002Fli>\n\u003Cli>\u003Cstrong>流式下载\u003C\u002Fstrong>：支持大文件流式下载与超时控制\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"适用人群\">适用人群\u003C\u002Fh2>\u003Cul>\n\u003Cli>Python 后端与爬虫开发者\u003C\u002Fli>\n\u003Cli>需要调用第三方 HTTP 接口的工程师\u003C\u002Fli>\n\u003Cli>编写接口测试脚本的开发者\u003C\u002Fli>\n\u003Cli>运维与数据采集人员\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"快速上手\">快速上手\u003C\u002Fh2>\u003Col>\n\u003Cli>安装：\u003Ccode>python -m pip install requests\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>发起带认证的请求并解析响应\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-python\">import requests\n\nr = requests.get('https:\u002F\u002Fhttpbin.org\u002Fbasic-auth\u002Fuser\u002Fpass', auth=('user', 'pass'))\nprint(r.status_code)\nprint(r.json())\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"3\">\n\u003Cli>需要复用连接与 Cookie 时改用 Session\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-python\">with requests.Session() as s:\n    s.get('https:\u002F\u002Fhttpbin.org\u002Fcookies\u002Fset\u002Fx\u002F1')\n    print(s.cookies)\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Ch2 id=\"核心优势\">核心优势\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>API 友好\u003C\u002Fstrong>：字典式 Cookie 与自动编码，代码读起来像自然语言\u003C\u002Fli>\n\u003Cli>\u003Cstrong>久经考验\u003C\u002Fstrong>：超大规模使用，稳定性与兼容性充分验证\u003C\u002Fli>\n\u003Cli>\u003Cstrong>功能完备\u003C\u002Fstrong>：认证、代理、压缩、超时、流式下载一应俱全\u003C\u002Fli>\n\u003Cli>\u003Cstrong>文档清晰\u003C\u002Fstrong>：官方文档详尽，社区资料丰富\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"系统要求\">系统要求\u003C\u002Fh2>\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>项目\u003C\u002Fth>\n\u003Cth>要求\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>语言\u003C\u002Ftd>\n\u003Ctd>Python 3.10+\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>操作系统\u003C\u002Ftd>\n\u003Ctd>Linux、macOS、Windows\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"注意事项\">注意事项\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>同步实现\u003C\u002Fstrong>：Requests 为同步库，高并发异步场景需自行评估方案\u003C\u002Fli>\n\u003Cli>\u003Cstrong>默认不重试\u003C\u002Fstrong>：库本身不带自动重试，需要时结合 urllib3 的 Retry 策略配置\u003C\u002Fli>\n\u003C\u002Ful>\n",1793197927343]