Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(73)  |  Call(46)  |  Derive(0)  |  Import(27)

src/k/a/karesansui-HEAD/karesansui/lib/parser/collectdplugin.py   karesansui(Download)
import glob
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.xml_like_conf_parser import xmlLikeConfParser as Parser
from karesansui.lib.utils import preprint_r, r_chgrp, r_chmod
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
                r_chmod(COLLECTD_DATA_DIR,"o-rwx")
 
        dop = DictOp()
        dop.addconf("__",conf_arr)
 
 
    # 読み込み
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
 

src/k/a/karesansui-HEAD/karesansui/lib/parser/resolv.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.sh_conf_parser import shConfParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
    """
    parser = resolvParser()
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
    dop.comment("dum","search")

src/k/a/karesansui-HEAD/karesansui/lib/parser/network.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.sh_conf_parser import shConfParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
    """
    parser = networkParser()
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
    dop.add("dum","NETWORK","1.0.0.0")

src/k/a/karesansui-HEAD/karesansui/lib/parser/modprobe_conf.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.generic_conf_parser import genericConfParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
 
    # 読み込み
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
 

src/k/a/karesansui-HEAD/karesansui/lib/parser/iscsid.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.comment_deal_parser import commentDealParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
    """
    parser = iscsidParser()
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
    dop.add("dum",['key'],['value',[['','comment mae1','comment mae2'],'comment ato']])

src/k/a/karesansui-HEAD/karesansui/lib/parser/hosts.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.comment_deal_parser import commentDealParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
    """
    parser = hostsParser()
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
    dop.add("dum",['key'],['value',[['comment foo','comment bar'],'comment hoge']])

src/k/a/karesansui-HEAD/karesansui/lib/parser/eml.py   karesansui(Download)
import email.Parser
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.null_parser import nullParser as Parser
from karesansui.lib.utils import array_replace
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.base_parser_name = Parser.__name__
 
    parser = emlParser()
    dop = DictOp()
    eml = "/tmp/test2.eml"
    extra_args = {"message":message}

src/k/a/karesansui-HEAD/karesansui/lib/parser/collectd.py   karesansui(Download)
import sys
 
from karesansui.lib.dict_op import DictOp
from karesansui.lib.parser.base.xml_like_conf_parser import xmlLikeConfParser as Parser
from karesansui.lib.utils import preprint_r
    def __init__(self):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
 
        self.parser = Parser()
 
    # 読み込み
    dop = DictOp()
    dop.addconf("dum",parser.read_conf())
 

src/k/a/karesansui-HEAD/karesansui/lib/parser/base/xml_like_conf_parser.py   karesansui(Download)
 
from karesansui.lib.file.configfile import ConfigFile
from karesansui.lib.dict_op import DictOp
from karesansui.lib.utils import preprint_r, str_repeat
 
    def __init__(self,paths=[]):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
        self.set_source_file(paths)
 
    def _read_conf(self,lines,level=0):
 
        dop = DictOp()
        dop.addconf("__",{})
 
    def _value_to_lines(self,conf_arr,level=0):
        lines = []
        orders_key = "%sORDERS" % (self._reserved_key_prefix,)
 
        dop = DictOp()
 
        #print val
        dop = DictOp()
        dop.addconf('__',{})
        if action == "delete":

src/k/a/karesansui-HEAD/karesansui/lib/parser/base/sh_conf_parser.py   karesansui(Download)
 
from karesansui.lib.file.configfile import ConfigFile
from karesansui.lib.dict_op import DictOp
 
class shConfParser:
    def __init__(self,paths=[]):
        self.dop = DictOp()
        self.dop.addconf(self._module,{})
        self.set_source_file(paths)
 

  1 | 2 | 3  Next