skip to navigation
skip to content

ikazuchi.plugins.blockdiag 0.1.0

blockdiag translator with ikazuchi

ikazuchi.plugins.blockdiag is plugin for ikazuchi to work with blockdiag.

ikazuchi is intended to work with other tools since it’s a CUI tool.

See the project documentation for more detail.


  • Work with blockdiag as ikazuchi Translator


by easy_install

Make environment:

$ easy_install ikazuchi.plugins.blockdiag

by buildout

Make environment:

$ hg clone
$ cd ikazuchi.plugins.blockdiag
$ python -d
$ bin/buildout


Show blockdiag’s diagram with web browser. For example, use Firefox:

$ export BROWSER="firefox"  # can set any browser(command)
$ ikazuchi blockdiag -s "{A -> B;}"

Show blockdiag’s diagram from “.diag” file with web browser:

$ ikazuchi blockdiag -d examples/simple.diag

Show blockdiag’s diagram with Tkinter Editor:

$ ikazuchi blockdiag -i -d examples/simple.diag

Show which plugins are available:

$ ikazuchi -h
usage: ikazuchi [-h] {rstfile,blockdiag,normal} ...

positional arguments:
                        available plugins. 'normal' means ikazuchi's standard
                        feature so it can be abbreviated

optional arguments:
  -h, --help            show this help message and exit

Show blockdiag plugin help:

$ ikazuchi blockdiag -h
usage: ikazuchi blockdiag [-h] [-a API] [-e ENCODING] [-f LANG] [-q] [-t LANG]
                          [-d DIAG FILE] [-i] [-s SENTENCE] [--version]

optional arguments:
  -h, --help            show this help message and exit
  -a API, --api API     APIs are ['google', 'microsoft']
  -e ENCODING, --encoding ENCODING
                        input/output encoding
  -f LANG, --from LANG  original language
  -q, --quiet           not to show original sentence to stdout
  -t LANG, --to LANG    target language to translate
  -d DIAG FILE, --diag DIAG FILE
                        target diag file
  -i, --interactive     run with interactive mode
  -s SENTENCE, --sentence SENTENCE
                        target sentence
  --version             show program's version number and exit


  • Python 2.6 or later
  • ikazuchi 0.5.2 or later
  • blockdiag 0.8.1 or later
  • Tkinter
  • setuptools or distriubte


Apache License 2.0


0.1.0 (2011-06-10)

  • first release


  • Save an image file generated by blockdiag
  • Resize each widget on BlockdiagEditor
File Type Py Version Uploaded on Size
ikazuchi.plugins.blockdiag-0.1.0.tar.bz2 (md5) Source 2011-06-10 13KB