Utils for ryoka
Project description
Utils for ryoka Version: 1.1.2
Utils for ryoka.
Usage:
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.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)
Usage:
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)
Usage:
from ryoka_utils.debugger import Debugger
debugger = Debugger(is_debug)
debugger._output(self, mode)
debugger.error(self)
debugger.log(self)
debugger.warn(self)
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.