yarl:另一个URL库

时间:2021-04-29 03:47:44
【文件属性】:
文件名称:yarl:另一个URL库
文件大小:118KB
文件格式:ZIP
更新时间:2021-04-29 03:47:44
aiohttp urls url-parsing Python 雅尔 介绍 网址是从str构建的: >>> from yarl import URL >>> url = URL( ' https://www.python.org/~guido?arg=1#frag ' ) >>> url URL('https://www.python.org/~guido?arg=1#frag') 所有url部分: scheme , user , password , host , port , path , query和fragment均可通过属性访问: >>> url.scheme 'https' >>> url.host 'www.python.org' >>> url.path '/~guido' >>> url.query_string 'arg=1' >>> url.query >>> url
【文件预览】:
yarl-master
----.gitignore(1KB)
----setup.cfg(605B)
----requirements()
--------towncrier.txt(18B)
--------cython.txt(16B)
--------test.txt(112B)
--------dev.txt(48B)
--------doc.txt(14B)
--------doc-spelling.txt(99B)
--------lint.txt(232B)
--------ci.txt(40B)
----README.rst(5KB)
----.github()
--------workflows()
--------dependabot.yml(391B)
--------ISSUE_TEMPLATE()
----tests()
--------test_update_query.py(11KB)
--------test_url_cmp_and_hash.py(2KB)
--------test_url_update_netloc.py(6KB)
--------test_pickle.py(437B)
--------test_url_query.py(2KB)
--------test_quoting.py(12KB)
--------test_url_build.py(7KB)
--------test_cache.py(615B)
--------test_url.py(35KB)
--------test_url_parsing.py(17KB)
--------test_cached_property.py(783B)
--------test_normalize_path.py(815B)
----yarl()
--------_quoting_c.pyi(447B)
--------_quoting_py.py(6KB)
--------_quoting.py(519B)
--------__init__.pyi(4KB)
--------_quoting_c.pyx(11KB)
--------__init__.py(154B)
--------_url.py(35KB)
--------py.typed(13B)
----docs()
--------yarl-icon-128x128.xcf(38KB)
--------make.bat(8KB)
--------conf.py(11KB)
--------index.rst(5KB)
--------api.rst(26KB)
--------spelling_wordlist.txt(116B)
--------_static()
--------Makefile(8KB)
----LICENSE(11KB)
----.coveragerc(62B)
----CHANGES.rst(12KB)
----MANIFEST.in(225B)
----tools()
--------run_docker.sh(1KB)
--------build-wheels.sh(2KB)
----CHANGES()
--------.TEMPLATE.rst(826B)
----benchmark.py(1KB)
----pyproject.toml(240B)
----setup.py(2KB)
----Makefile(1KB)

网友评论