Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Utils for ryoka

Project Description

Utils for ryoka Version: 1.1.56

Utils for ryoka.

Usage:

If you want to output debug log, you can do it by export RK_DEBUG.

export RK_DEBUG=0 : Output no log.

export RK_DEBUG=1 : Output error log.

export RK_DEBUG=2 : Output error and warning log.

export RK_DEBUG=3 : Output error and warning and debug log.

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.exists(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.get_path_in_dir(dir_path)
  • utils.get_pid()
  • utils.get_platform()
  • utils.is_root()
  • utils.isdir(path)
  • utils.isfile(path)
  • utils.join_dirs(path_list)
  • utils.match_keys(word)
  • utils.mkdir(path)
  • utils.popd()
  • utils.pushd(path)
  • utils.remove(path)
  • utils.rename(src, dst)
  • utils.splitext(path)
  • utils.unzip(src, dst)
  • utils.unzip_tar_bz2(src, dst)
  • utils.unzip_tar_gz(src, dst)
  • utils.zip(src, dst, forWin, forOSX)
  • 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(debug_level)

  • debugger.error()
  • debugger.log()
  • debugger.warn()

Slack

from ryoka_utils.slack import Slack

slack = Slack()

  • 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)
Release History

Release History

This version
History Node

1.1.56

History Node

1.1.55

History Node

1.1.54

History Node

1.1.52

History Node

1.1.51

History Node

1.1.50

History Node

1.1.47

History Node

1.1.45

History Node

1.1.44

History Node

1.1.43

History Node

1.1.42

History Node

1.1.41

History Node

1.1.40

History Node

1.1.39

History Node

1.1.38

History Node

1.1.37

History Node

1.1.36

History Node

1.1.35

History Node

1.1.34

History Node

1.1.33

History Node

1.1.32

History Node

1.1.31

History Node

1.1.30

History Node

1.1.29

History Node

1.1.28

History Node

1.1.27

History Node

1.1.25

History Node

1.1.24

History Node

1.1.23

History Node

1.1.22

History Node

1.1.21

History Node

1.1.20

History Node

1.1.19

History Node

1.1.18

History Node

1.1.17

History Node

1.1.16

History Node

1.1.15

History Node

1.1.14

History Node

1.1.13

History Node

1.1.12

History Node

1.1.11

History Node

1.1.10

History Node

1.1.9

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.18

History Node

1.0.16

History Node

1.0.15

History Node

1.0.14

History Node

1.0.13

History Node

1.0.12

History Node

1.0.11

History Node

1.0.10

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.0.7

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ryoka_utils-1.1.56.tar.gz (6.4 kB) Copy SHA256 Checksum SHA256 Source Dec 13, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting