Metadata-Version: 1.0
Name: ryoka_utils
Version: 1.1.20
Summary: Utils for ryoka
Home-page: https://ryoka419319@bitbucket.org/ryoka419319/ryoka_utils.git
Author: Ryoya Kamikawa
Author-email: ry_1324@yahoo.co.jp
License: MIT
Description: Utils for ryoka
        Version: 1.1.20
        
        Utils for ryoka.
        
        
        
        **Usage:**
        
        
        
        *Utils*
        
        
        
            from ryoka_utils.utils import Utils
        
        
        
            utils = Utils()
        
        
        
            + utils.abspath(path)
        
            + utils.basename(path)
        
            + utils.chmod(path, mode)
        
            + utils.chown(path, user, group)
        
            + utils.command(cmd)
        
            + utils.copy(src, dst)
        
            + utils.decode(text)
        
            + utils.dirname(path)
        
            + utils.exit()
        
            + utils.get_current(file_path)
        
            + utils.get_dir_path_in_dir(dir_path)
        
            + utils.get_env(key)
        
            + utils.get_file_path_in_dir(dir_path)
        
            + utils.is_root()
        
            + utils.isdir(path)
        
            + utils.isfile(path)
        
            + utils.join_dirs(path_list)
        
            + utils.mkdir(path)
        
            + utils.popd()
        
            + utils.pushd(path)
        
            + utils.remove(path)
        
            + utils.rename(src, dst)
        
            + utils.splitext(path)
        
            + utils.unzip_tar_bz2(src, dst)
        
            + utils.unzip_tar_gz(src, dst)
        
            + utils.zip_tar_bz2(src, dst)
        
            + utils.zip_tar_gz(src, dst)
        
        
        
        *SendMail*
        
        
        
            from ryoka_utils.mail import SendMail
        
        
        
            mail = SendMail()
        
        
        
            + mail.send()
        
            + mail.set_body(body)
        
            + mail.set_charcode(code)
        
            + mail.set_from_address(address)
        
            + mail.set_password(password)
        
            + mail.set_title(title)
        
            + mail.set_to_address(address)
        
        
        
        *Debugger*
        
        
        
            from ryoka_utils.debugger import Debugger
        
        
        
            debugger = Debugger(is_debug)
        
        
        
            + debugger.error()
        
            + debugger.log()
        
            + debugger.warn()
        
        
        
        *Slack*
        
        
        
            from ryoka_utils.slack import Slack
        
        
        
            slack = Slack(token)
        
        
        
            + slack.get_channel_list()
        
            + slack.get_history(count, latest, oldest, unread)
        
            + slack.listen(interval, callback)
        
            + slack.post_message(message)
        
            + slack.set_channel(channel_name)
        
            + slack.set_icon(url)
        
            + slack.set_username(username)
        
Keywords: ryoka utils
Platform: UNKNOWN
