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

All Samples(18)  |  Call(9)  |  Derive(0)  |  Import(9)
<comment-ja>
key=value????????read/write??????
</comment-ja>
<comment-en>
TODO: English Comment
</comment-en>

src/k/a/karesansui-HEAD/karesansui/gadget/mail.py   karesansui(Download)
 
from karesansui import KaresansuiGadgetException
from karesansui.lib.file.k2v import K2V
from karesansui.lib.rest import Rest, auth
from karesansui.lib.checker import Checker, \
    def _GET(self, *param, **params):
        try:
            conf = env.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
        try:
            conf = env.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
            config['application.mail.server'] = self.input.server

src/k/a/karesansui-HEAD/karesansui/lib/collectd/utils.py   karesansui(Download)
    os.environ[_k] = _v
 
from karesansui.lib.file.k2v import K2V
config_file = os.environ["KARESANSUI_CONF"]
if config_file: # read file
    _k2v = K2V(config_file)

src/k/a/karesansui-HEAD/bin/ksscommand.py   karesansui(Download)
import karesansui.db
import karesansui.lib.log.logger
from karesansui.lib.file.k2v import K2V
 
class KssCommandException(CommandException):
    def __init__(self):
        # --
        try:
            _k2v = K2V(karesansui_conf)
            karesansui.config = _k2v.read()

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1settingby1proxy.py   karesansui(Download)
 
from karesansui.lib.rest import Rest, auth
from karesansui.lib.file.k2v import K2V
from karesansui.lib.checker import Checker, \
    CHECK_EMPTY, CHECK_VALID, \
        try:
            conf = os.environ.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
            self.view.config = config
        try:
            conf = os.environ.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
 

src/k/a/karesansui-HEAD/karesansui/gadget/hostby1settingby1mail.py   karesansui(Download)
 
from karesansui.lib.rest import Rest, auth
from karesansui.lib.file.k2v import K2V
from karesansui.lib.checker import Checker, \
    CHECK_EMPTY, CHECK_VALID, CHECK_MIN, CHECK_MAX, CHECK_LENGTH
        try:
            conf = os.environ.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
            self.view.config = config
        try:
            conf = os.environ.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
            config['application.mail.server'] = hostname

src/k/a/karesansui-HEAD/karesansui/gadget/tree.py   karesansui(Download)
from karesansui.lib.rest import Rest, auth
from karesansui.lib.net.http import is_ssl
from karesansui.lib.file.k2v import K2V
from karesansui.lib.virt.virt import KaresansuiVirtConnection, \
     KaresansuiVirtException
        try:
            conf = env.get('KARESANSUI_CONF')
            _K2V = K2V(conf)
            config = _K2V.read()
        except (IOError, KaresansuiGadgetException):

src/k/a/karesansui-HEAD/karesansui/lib/file/configfile.py   karesansui(Download)
from mako.lookup import TemplateLookup
from securefile import SecureFile
from karesansui.lib.file.k2v import K2V
 
class ConfigFile(SecureFile):

src/k/a/karesansui-HEAD/karesansui/gadget/init.py   karesansui(Download)
from karesansui.lib.utils import generate_phrase, generate_uuid, string_from_uuid
 
from karesansui.lib.file.k2v import K2V
from karesansui.lib.crypt import sha1encrypt, sha1compare
from karesansui.lib.const import MACHINE_ATTRIBUTE, MACHINE_HYPERVISOR

src/k/a/karesansui-HEAD/tools/initialize_database.py   karesansui(Download)
    from karesansui.lib.utils import is_uuid, is_int
    from karesansui.lib.utils import generate_phrase, generate_uuid, string_from_uuid
    from karesansui.lib.file.k2v import K2V
    from karesansui.lib.crypt import sha1encrypt
    from karesansui.lib.const import MACHINE_ATTRIBUTE, MACHINE_HYPERVISOR