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!

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

Release History

This version
History Node

0.1.0

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
ikazuchi.plugins.blockdiag-0.1.0.tar.bz2 (13.8 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2011

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