blockdiag translator with ikazuchi
Project description
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.
Features
Work with blockdiag as ikazuchi Translator
Setup
by easy_install
Make environment:
$ easy_install ikazuchi.plugins.blockdiag
by buildout
Make environment:
$ hg clone https://bitbucket.org/t2y/ikazuchi.plugins.blockdiag $ cd ikazuchi.plugins.blockdiag $ python bootstrap.py -d $ bin/buildout
Usage
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: {rstfile,blockdiag,normal} 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
Requirements
Python 2.6 or later
ikazuchi 0.5.2 or later
blockdiag 0.8.1 or later
Tkinter
setuptools or distriubte
License
Apache License 2.0
History
0.1.0 (2011-06-10)
first release
Todos
Save an image file generated by blockdiag
Resize each widget on BlockdiagEditor
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.
Source Distribution
File details
Details for the file ikazuchi.plugins.blockdiag-0.1.0.tar.bz2
.
File metadata
- Download URL: ikazuchi.plugins.blockdiag-0.1.0.tar.bz2
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3b686ea42f3c25bb0cb0abd3eda146b1169789adebeca356f7b33856f24e82 |
|
MD5 | 4a0bf50b12073dbc5a76c4807bb64d35 |
|
BLAKE2b-256 | 1f77dcd98edb16821b3152ac80a6261b72ab38e634df105ad78d718af465fed7 |