httpstream:HTTPStream 是 Python 的 HTTP 客户端库,具有易于使用的 API 并支持增量 JSON 文档检索

时间:2024-06-29 06:10:00
【文件属性】:

文件名称:httpstream:HTTPStream 是 Python 的 HTTP 客户端库,具有易于使用的 API 并支持增量 JSON 文档检索

文件大小:207KB

文件格式:ZIP

更新时间:2024-06-29 06:10:00

Python

HTTP流 HTTPStream是 Python 的 HTTP 客户端库,它使用方便的基于资源的接口包装标准库 HTTP 客户端,还提供对增量 JSON 文档检索和 RFC 6570 URI 模板的支持。 安装 HTTPStream 托管在 PyPI 上,因此要安装,只需使用pip : pip install httpstream 快速开始 >>> from httpstream import get >>> get("https://api.duckduckgo.com/?q=neo4j&format=json").content {'Abstract': 'Neo4j is an open-source graph database, implemented in Java.', 'AbstractSource': 'Wikipedia', 'AbstractText': 'Ne


【文件预览】:
httpstream-master
----MANIFEST.in(34B)
----README.rst(4KB)
----test_requirements.txt(18B)
----httpstream()
--------util.py(2KB)
--------http.py(33KB)
--------numbers.py(2KB)
--------kvlist.py(17KB)
--------__init__.py(6KB)
--------__main__.py(1KB)
--------watch.py(3KB)
--------tardis.py(4KB)
--------jsonencoder.py(1KB)
--------rfc6570.py(6KB)
--------rfc3986.py(36KB)
----art()
--------httpstream.320x77.png(13KB)
--------httpstream.190x46.png(7KB)
--------httpstream.svg(4KB)
--------water.190x7.png(2KB)
--------httpstream.190x36.png(6KB)
--------water.svg(4KB)
--------httpstream.320x61.png(10KB)
--------water.1680x65.png(16KB)
--------httpstream.1680x321.png(39KB)
----runtests.sh(779B)
----requirements.txt(11B)
----.travis.yml(187B)
----book()
--------_templates()
--------_themes()
--------getting-started.rst(2KB)
--------conf.py(8KB)
--------resources.rst(1KB)
--------index.rst(357B)
--------Makefile(7KB)
--------resource-templates.rst(317B)
--------_static()
----LICENSE(11KB)
----test()
--------uri_template_test.py(8KB)
--------resource_test.py(4KB)
--------__init__.py(0B)
--------percent_encode_test.py(2KB)
--------percent_decode_test.py(2KB)
--------util()
--------http_test.py(11KB)
--------path_test.py(6KB)
--------part_test.py(881B)
--------authority_test.py(3KB)
--------server()
--------query_test.py(5KB)
--------uri_test.py(21KB)
----setup.py(2KB)
----NOTICE(184B)
----.gitignore(414B)

网友评论