Code Monkey home page Code Monkey logo

shakyo's Introduction

Shakyo v1.0

ターミナルで般若心経。

Description

  • 般若心経をターミナル上に写経します。(自動で)
  • Python2系でもPython3系でも動きます。(たぶん)
  • 使用する環境によっては表示が乱れるかもしれません。

Demo

image

Requirement

  • Python 2 / Python 3
  • click

オプションパーサとしてclickを使用しています。

Usage

$ python shakyo.py [OPTIONS]
オプション 引数 説明
--interval , -i FLOAT 印字する時間間隔を指定します(単位:秒)
--typing , -t なし 適当なキーのタイピングで写経を進める
--escape , -e なし Ctrl+C で止めることを許可する
--noframe , -n なし 枠なしで写経する
--help なし ヘルプを表示して終了

Installation

shakyo.pyをダウンロードして任意のディレクトリに置いてお使いください。

clickがインストールされていない場合は事前にインストールしてください。

$ pip list | grep click  # clickがインストールされているか確認
$ pip install click  # clickのインストール

例えば「bashを起動する度に写経したい!」という熱心な人は

$ echo 'shakyo --typing' >> .bashrc

を実行しましょう。(これはジョークですよ。)

FAQ

Q. これは写経とは言わないのでは?
A. その通りだと思います。

Licence

  • MIT

Author

algon-320

shakyo's People

Contributors

algon-320 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.