/usr/lib/python2.7/dist-packages/blockdiag-1.4.7.egg-info/PKG-INFO is in python-blockdiag 1.4.7-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | Metadata-Version: 1.1
Name: blockdiag
Version: 1.4.7
Summary: blockdiag generates block-diagram image from text
Home-page: http://blockdiag.com/
Author: Takeshi Komiya
Author-email: i.tkomiya at gmail.com
License: Apache License 2.0
Download-URL: http://pypi.python.org/pypi/blockdiag
Description: `blockdiag` generate block-diagram image file from spec-text file.
.. image:: https://drone.io/bitbucket.org/blockdiag/blockdiag/status.png
:target: https://drone.io/bitbucket.org/blockdiag/blockdiag
:alt: drone.io CI build status
.. image:: https://pypip.in/v/blockdiag/badge.png
:target: https://pypi.python.org/pypi/blockdiag/
:alt: Latest PyPI version
.. image:: https://pypip.in/d/blockdiag/badge.png
:target: https://pypi.python.org/pypi/blockdiag/
:alt: Number of PyPI downloads
Features
========
* Generate block-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only).
You can get some examples and generated images on
`blockdiag.com <http://blockdiag.com/blockdiag/build/html/index.html>`_ .
Setup
=====
Use easy_install or pip::
$ sudo easy_install blockdiag
Or
$ sudo pip install blockdiag
If you want to export as PDF format, give pdf arguments::
$ sudo easy_install "blockdiag[pdf]"
Copy and modify ini file. example::
$ cp <blockdiag installed path>/blockdiag/examples/simple.diag .
$ vi simple.diag
Please refer to `spec-text setting sample`_ section for the format of the
`simpla.diag` configuration file.
spec-text setting sample
========================
Few examples are available.
You can get more examples at
`blockdiag.com`_ .
simple.diag
------------
simple.diag is simply define nodes and transitions by dot-like text format::
diagram admin {
top_page -> config -> config_edit -> config_confirm -> top_page;
}
screen.diag
------------
screen.diag is more complexly sample. diaglam nodes have a alternative label
and some transitions::
diagram admin {
top_page [label = "Top page"];
foo_index [label = "List of FOOs"];
foo_detail [label = "Detail FOO"];
foo_add [label = "Add FOO"];
foo_add_confirm [label = "Add FOO (confirm)"];
foo_edit [label = "Edit FOO"];
foo_edit_confirm [label = "Edit FOO (confirm)"];
foo_delete_confirm [label = "Delete FOO (confirm)"];
bar_detail [label = "Detail of BAR"];
bar_edit [label = "Edit BAR"];
bar_edit_confirm [label = "Edit BAR (confirm)"];
logout;
top_page -> foo_index;
top_page -> bar_detail;
foo_index -> foo_detail;
foo_detail -> foo_edit;
foo_detail -> foo_delete_confirm;
foo_index -> foo_add -> foo_add_confirm -> foo_index;
foo_index -> foo_edit -> foo_edit_confirm -> foo_index;
foo_index -> foo_delete_confirm -> foo_index;
bar_detail -> bar_edit -> bar_edit_confirm -> bar_detail;
}
Usage
=====
Execute blockdiag command::
$ blockdiag simple.diag
$ ls simple.png
simple.png
Requirements
============
* Python 2.6, 2.7, 3.2, 3.3, 3.4
* Pillow 2.2.1 or later
* funcparserlib 0.3.6 or later
* reportlab (optional)
* wand and imagemagick (optional)
* setuptools
License
=======
Apache License 2.0
Keywords: diagram,generator
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Documentation
Classifier: Topic :: Text Processing :: Markup
|