wcmatch:Wilcard文件名匹配库

时间:2021-05-04 12:47:11
【文件属性】:
文件名称:wcmatch:Wilcard文件名匹配库
文件大小:134KB
文件格式:ZIP
更新时间:2021-05-04 12:47:11
Python 通配符匹配 概述 通配符匹配提供了增强的fnmatch , glob和pathlib库,以提供与Bash中的功能更紧密配合的文件匹配和glob。 在某些方面,这些库与Python的内置库相似,因为它们提供了相似的接口来匹配,过滤和glob文件系统。 但是它们还包括Bash的glob中发现的许多功能,例如反斜杠转义,大括号扩展,扩展的glob模式组等。它们还添加了许多新的有用功能,例如globmatch ,其功能类似于fnmatch ,但用于路径。 通配符匹配还添加了一个名为wcmatch的文件搜索实用程序,该实用程序建立在fnmatch和globmatch 。 它最初是为编写的,但后来拆分为该项目,以供其他可能发现其方法有用的项目使用。 在对fnmatch和glob行为进行决策时,Bash用作指导。 行为可能因Bash版本而异,但会尝试使Wildcard Match与最新的相关更改保持
【文件预览】:
wcmatch-master
----MANIFEST.in(423B)
----.coveragerc(72B)
----pyproject.toml(105B)
----docs()
--------src()
--------theme()
----.github()
--------labels.yml(1KB)
--------FUNDING.yml(70B)
--------workflows()
----mkdocs.yml(3KB)
----tests()
--------test_globmatch.py(66KB)
--------test_wcparse.py(6KB)
--------test_pathlib.py(12KB)
--------test_glob.py(52KB)
--------__init__.py(24B)
--------test_fnmatch.py(26KB)
--------test_versions.py(4KB)
--------test_wcmatch.py(16KB)
----tox.ini(722B)
----wcmatch()
--------pathlib.py(6KB)
--------posix.py(3KB)
--------fnmatch.py(3KB)
--------util.py(6KB)
--------_wcmatch.py(8KB)
--------__init__.py(1KB)
--------__meta__.py(7KB)
--------glob.py(31KB)
--------_wcparse.py(51KB)
--------wcmatch.py(12KB)
----setup.cfg(37B)
----requirements()
--------tools.txt(9B)
--------test.txt(27B)
--------setup.txt(14B)
--------docs.txt(113B)
--------lint.txt(68B)
----setup.py(2KB)
----LICENSE.md(1KB)
----.gitignore(1KB)
----.codecov.yml(53B)
----README.md(5KB)
----.pyspelling.yml(2KB)

网友评论