【文件属性】:
文件名称:namedparser:named.conf解析器
文件大小:12KB
文件格式:ZIP
更新时间:2024-06-07 23:29:59
Python
命名解析器
读取名称守护程序配置文件(例如绑定)
安装
$ pip install https://github.com/hachibeeDI/namedparser/archive/master.zip
例子
from namedparser import Parser
txt = '''
options {
directory "/var/na/named";
check-names master ignore;
check-names slave ignore;
check-names response ignore;
allow-recursion {
any;
};
allow-query {
any;
};
allow-query-cache {
any;
【文件预览】:
namedparser-master
----MANIFEST.in(43B)
----requirements.txt(17B)
----.travis.yml(334B)
----setup.py(3KB)
----README.md(2KB)
----namedparser()
--------structures.py(8KB)
--------testsuite()
--------_actions.py(796B)
--------parser.py(4KB)
--------__init__.py(981B)
----.gitignore(772B)