dockerfile-parse:用于解析Dockerfile文件的Python库

时间:2021-05-10 18:59:28
【文件属性】:
文件名称:dockerfile-parse:用于解析Dockerfile文件的Python库
文件大小:38KB
文件格式:ZIP
更新时间:2021-05-10 18:59:28
python dockerfile Python dockerfile-parse 用于解析Dockerfile文件的Python库。 安装 从PyPI pip install dockerfile-parse 来自git 克隆此git repo并使用python安装程序进行安装 git clone https://github.com/containerbuildsystem/dockerfile-parse.git cd dockerfile-parse sudo pip install . 用法 from pprint import pprint from dockerfile_parse import DockerfileParser dfp = DockerfileParser () dfp . content = """ \ From base LABEL foo="bar baz" USER me""" # Pri
【文件预览】:
dockerfile-parse-master
----MANIFEST.in(148B)
----docs()
--------pull_request_template.md(171B)
----rel-eng()
--------version_init.template(362B)
--------lib()
--------tito.props(324B)
--------packages()
----.pylintrc(3KB)
----pytest.ini(123B)
----.github()
--------workflows()
----requirements-py3.txt(0B)
----tests()
--------fixtures.py(1KB)
--------test_parser.py(56KB)
--------__init__.py(178B)
--------requirements.txt(44B)
----test.sh(3KB)
----LICENSE(1KB)
----.packit.yaml(433B)
----python-dockerfile-parse.spec(4KB)
----CONTRIBUTING.md(3KB)
----.mdlint_style(42B)
----requirements.txt(4B)
----setup.py(2KB)
----dockerfile_parse()
--------constants.py(403B)
--------parser.py(33KB)
--------util.py(10KB)
--------__init__.py(373B)
----.gitignore(709B)
----README.md(2KB)
----.mdlrc(25B)

网友评论