Python的HTTP请求:shortcake::shortcake::shortcake:-python

时间:2021-06-18 18:38:39
【文件属性】:
文件名称:Python的HTTP请求:shortcake::shortcake::shortcake:-python
文件大小:3.58MB
文件格式:ZIP
更新时间:2021-06-18 18:38:39
HTTP请求库 Python的HTTP请求:shortcake::shortcake::shortcake: Python 3.7.4(默认,2019 年 9 月 7 日,18:27:02)>>> 导入请求 >>> r = requests.get('https://api.github.com/repos/psf/requests') > >> r.json()["description"] '一个简单而优雅的 HTTP 库。' 该软件是由 Kenneth Reitz 为您精心设计的,并受到 Python 软件基金会的保护。 Requests 是一个优雅而简单的 Python HTTP 库,使用 :heart_suit: 构建。 >>> 导入请求 >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['c
【文件预览】:
requests-master
----MANIFEST.in(105B)
----requirements-dev.txt(93B)
----NOTICE(38B)
----.coveragerc(32B)
----requests()
--------auth.py(10KB)
--------cookies.py(18KB)
--------models.py(34KB)
--------structures.py(3KB)
--------utils.py(30KB)
--------_internal_utils.py(1KB)
--------adapters.py(21KB)
--------packages.py(542B)
--------status_codes.py(4KB)
--------help.py(3KB)
--------compat.py(2KB)
--------__init__.py(4KB)
--------sessions.py(29KB)
--------certs.py(453B)
--------api.py(6KB)
--------hooks.py(757B)
--------__version__.py(441B)
--------exceptions.py(3KB)
----docs()
--------.nojekyll(1B)
--------api.rst(7KB)
--------conf.py(12KB)
--------make.bat(7KB)
--------_templates()
--------community()
--------user()
--------dev()
--------Makefile(7KB)
--------_themes()
--------index.rst(3KB)
--------_static()
----HISTORY.md(49KB)
----AUTHORS.rst(8KB)
----pytest.ini(102B)
----.github()
--------FUNDING.yml(52B)
--------ISSUE_TEMPLATE.md(393B)
--------ISSUE_TEMPLATE()
--------SECURITY.md(4KB)
--------workflows()
--------CONTRIBUTING.md(3KB)
--------CODE_OF_CONDUCT.md(346B)
----tests()
--------test_requests.py(91KB)
--------test_utils.py(25KB)
--------utils.py(391B)
--------test_testserver.py(5KB)
--------conftest.py(474B)
--------compat.py(333B)
--------test_lowlevel.py(11KB)
--------__init__.py(369B)
--------test_help.py(866B)
--------test_packages.py(229B)
--------testserver()
--------test_hooks.py(444B)
--------test_structures.py(2KB)
----tox.ini(89B)
----LICENSE(10KB)
----ext()
--------psf-compressed.png(12KB)
--------flower-of-life.jpg(15KB)
--------kr-compressed.png(6KB)
--------ss-compressed.png(363KB)
--------requests-logo.png(188KB)
--------requests-logo.ai(2.09MB)
--------LICENSE(51B)
--------kr.png(9KB)
--------ss.png(363KB)
--------requests-logo.svg(863KB)
--------psf.png(14KB)
--------requests-logo-compressed.png(188KB)
----setup.cfg(63B)
----setup.py(3KB)
----.gitignore(250B)
----Makefile(818B)
----README.md(3KB)

网友评论