[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-605":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},605,"requests","psf\u002Frequests","psf","A simple, yet elegant, HTTP library.","https:\u002F\u002Frequests.readthedocs.io\u002Fen\u002Flatest\u002F",null,"Python",54039,9959,1294,143,0,22,91,3,45,"Apache License 2.0",false,"main",true,[26,27,28,29,30,31,32,5],"client","cookies","forhumans","http","humans","python","python-requests","2026-06-12 02:00:15","# Requests\n\n[![Version](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Frequests.svg?maxAge=86400)](https:\u002F\u002Fpypi.org\u002Fproject\u002Frequests\u002F)\n[![Supported Versions](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fpyversions\u002Frequests.svg)](https:\u002F\u002Fpypi.org\u002Fproject\u002Frequests)\n[![Downloads](https:\u002F\u002Fstatic.pepy.tech\u002Fbadge\u002Frequests\u002Fmonth)](https:\u002F\u002Fpepy.tech\u002Fproject\u002Frequests)\n[![Contributors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors\u002Fpsf\u002Frequests.svg)](https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Fgraphs\u002Fcontributors)\n[![Documentation](https:\u002F\u002Freadthedocs.org\u002Fprojects\u002Frequests\u002Fbadge\u002F?version=latest)](https:\u002F\u002Frequests.readthedocs.io)\n\n**Requests** is a simple, yet elegant, HTTP library.\n\n```python\n>>> import requests\n>>> r = requests.get('https:\u002F\u002Fhttpbin.org\u002Fbasic-auth\u002Fuser\u002Fpass', auth=('user', 'pass'))\n>>> r.status_code\n200\n>>> r.headers['content-type']\n'application\u002Fjson; charset=utf8'\n>>> r.encoding\n'utf-8'\n>>> r.text\n'{\"authenticated\": true, ...'\n>>> r.json()\n{'authenticated': True, ...}\n```\n\nRequests allows you to send HTTP\u002F1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data — but nowadays, just use the `json` method!\n\nRequests is one of the most downloaded Python packages today, pulling in around `300M downloads \u002F week` — according to GitHub, Requests is currently [depended upon](https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Fnetwork\u002Fdependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `4,000,000+` repositories.\n\n## Installing Requests and Supported Versions\n\nRequests is available on PyPI:\n\n```console\n$ python -m pip install requests\n```\n\nRequests officially supports Python 3.10+.\n\n## Supported Features & Best–Practices\n\nRequests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.\n\n- Keep-Alive & Connection Pooling\n- International Domains and URLs\n- Sessions with Cookie Persistence\n- Browser-style TLS\u002FSSL Verification\n- Basic & Digest Authentication\n- Familiar `dict`–like Cookies\n- Automatic Content Decompression and Decoding\n- Multi-part File Uploads\n- SOCKS Proxy Support\n- Connection Timeouts\n- Streaming Downloads\n- Automatic honoring of `.netrc`\n- Chunked HTTP Requests\n\n## Cloning the repository\n\nWhen cloning the Requests repository, you may need to add the `-c\nfetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit timestamp (see\n[this issue](https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests\u002Fissues\u002F2690) for more background):\n\n```shell\ngit clone -c fetch.fsck.badTimezone=ignore https:\u002F\u002Fgithub.com\u002Fpsf\u002Frequests.git\n```\n\nYou can also apply this setting to your global Git config:\n\n```shell\ngit config --global fetch.fsck.badTimezone ignore\n```\n\n---\n\n[![Kenneth Reitz](https:\u002F\u002Fraw.githubusercontent.com\u002Fpsf\u002Frequests\u002Fmain\u002Fext\u002Fkr.png)](https:\u002F\u002Fkennethreitz.org) [![Python Software Foundation](https:\u002F\u002Fraw.githubusercontent.com\u002Fpsf\u002Frequests\u002Fmain\u002Fext\u002Fpsf.png)](https:\u002F\u002Fwww.python.org\u002Fpsf)\n","Requests 是一个简洁而优雅的 HTTP 库，用于发送 HTTP\u002F1.1 请求。它支持多种核心功能，如自动处理查询字符串、表单编码、JSON 数据处理、会话和 Cookie 管理、浏览器风格的 TLS\u002FSSL 验证以及基本和摘要认证等。此外，Requests 还提供了连接池、多部分文件上传、SOCKS 代理支持、流式下载等功能。适用于需要构建健壮且可靠的 HTTP 应用程序的场景，特别是在 Python 项目中进行网络请求时。",2,"2026-06-11 02:38:03","top_all"]