Utils for ryoka
Project description
Utils for ryoka Version: 1.1.8
Utils for ryoka.
Usage:
Utils
from ryoka_utils.utils import Utils
utils = Utils()
utils.abspath(self, path)
utils.basename(self, path)
utils.chmod(self, path, mode)
utils.chown(self, path, user, group)
utils.command(self, cmd)
utils.copy(self, src, dst)
utils.decode(self, text)
utils.dirname(self, path)
utils.exit(self)
utils.get_current(self, file_path)
utils.get_dir_path_in_dir(self, dir_path)
utils.get_env(self, key)
utils.get_file_path_in_dir(self, dir_path)
utils.is_root(self)
utils.isdir(self, path)
utils.isfile(self, path)
utils.join_dirs(self, path_list)
utils.mkdir(self, path)
utils.popd(self)
utils.pushd(self, path)
utils.remove(self, path)
utils.rename(self, src, dst)
utils.splitext(self, path)
utils.unzip_tar(self, src, dst)
utils.unzip_tar_bz2(self, src, dst)
utils.unzip_tar_gz(self, src, dst)
utils.zip_tar(self, src, dst, mode)
utils.zip_tar_bz2(self, src, dst)
utils.zip_tar_gz(self, src, dst)
SendMail
from ryoka_utils.mail import SendMail
mail = SendMail()
mail.send(self)
mail.set_body(self, body)
mail.set_charcode(self, code)
mail.set_from_address(self, address)
mail.set_password(self, password)
mail.set_title(self, title)
mail.set_to_address(self, address)
Debugger
from ryoka_utils.debugger import Debugger
debugger = Debugger(is_debug)
debugger._output(self, mode)
debugger.error(self)
debugger.log(self)
debugger.warn(self)
Slack
from ryoka_utils.slack import Slack
slack = Slack(token)
slack._is_exist_channel(self, channel)
slack.abspath(self, path)
slack.basename(self, path)
slack.chmod(self, path, mode)
slack.chown(self, path, user, group)
slack.command(self, cmd)
slack.copy(self, src, dst)
slack.decode(self, text)
slack.dirname(self, path)
slack.exit(self)
slack.get_channel_list(self)
slack.get_current(self, file_path)
slack.get_dir_path_in_dir(self, dir_path)
slack.get_env(self, key)
slack.get_file_path_in_dir(self, dir_path)
slack.is_root(self)
slack.isdir(self, path)
slack.isfile(self, path)
slack.join_dirs(self, path_list)
slack.mkdir(self, path)
slack.popd(self)
slack.post_message_to_channel(self, channel, message)
slack.pushd(self, path)
slack.remove(self, path)
slack.rename(self, src, dst)
slack.set_username(self, username)
slack.splitext(self, path)
slack.unzip_tar(self, src, dst)
slack.unzip_tar_bz2(self, src, dst)
slack.unzip_tar_gz(self, src, dst)
slack.zip_tar(self, src, dst, mode)
slack.zip_tar_bz2(self, src, dst)
slack.zip_tar_gz(self, src, dst)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.