| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: seqdiag |
| 3 |
Version: 3.0.0 |
| 4 |
Summary: seqdiag generates sequence-diagram image from text |
| 5 |
Home-page: http://blockdiag.com/ |
| 6 |
Author: Takeshi Komiya |
| 7 |
Author-email: [email protected] |
| 8 |
License: Apache License 2.0 |
| 9 |
Download-URL: http://pypi.python.org/pypi/seqdiag |
| 10 |
Project-URL: Code, https://github.com/blockdiag/nwdiag |
| 11 |
Project-URL: Issue tracker, https://github.com/blockdiag/nwdiag/issues |
| 12 |
Keywords: diagram,generator |
| 13 |
Platform: UNKNOWN |
| 14 |
Classifier: Development Status :: 5 - Production/Stable |
| 15 |
Classifier: Intended Audience :: System Administrators |
| 16 |
Classifier: License :: OSI Approved :: Apache Software License |
| 17 |
Classifier: Programming Language :: Python |
| 18 |
Classifier: Programming Language :: Python :: 3.7 |
| 19 |
Classifier: Programming Language :: Python :: 3.8 |
| 20 |
Classifier: Programming Language :: Python :: 3.9 |
| 21 |
Classifier: Topic :: Software Development |
| 22 |
Classifier: Topic :: Software Development :: Documentation |
| 23 |
Classifier: Topic :: Text Processing :: Markup |
| 24 |
Requires-Python: >=3.7 |
| 25 |
Description-Content-Type: text/x-rst |
| 26 |
Provides-Extra: testing |
| 27 |
License-File: LICENSE |
| 28 |
|
| 29 |
`seqdiag` generate sequence-diagram image file from spec-text file. |
| 30 |
|
| 31 |
.. image:: https://drone.io/bitbucket.org/blockdiag/seqdiag/status.png |
| 32 |
:target: https://drone.io/bitbucket.org/blockdiag/seqdiag |
| 33 |
:alt: drone.io CI build status |
| 34 |
|
| 35 |
.. image:: https://pypip.in/v/seqdiag/badge.png |
| 36 |
:target: https://pypi.python.org/pypi/seqdiag/ |
| 37 |
:alt: Latest PyPI version |
| 38 |
|
| 39 |
.. image:: https://pypip.in/d/seqdiag/badge.png |
| 40 |
:target: https://pypi.python.org/pypi/seqdiag/ |
| 41 |
:alt: Number of PyPI downloads |
| 42 |
|
| 43 |
|
| 44 |
Features |
| 45 |
======== |
| 46 |
|
| 47 |
* Generate sequence-diagram from dot like text (basic feature). |
| 48 |
* Multilingualization for node-label (utf-8 only). |
| 49 |
|
| 50 |
You can get some examples and generated images on |
| 51 |
`blockdiag.com <http://blockdiag.com/en/seqdiag/index.html>`__ . |
| 52 |
|
| 53 |
Setup |
| 54 |
===== |
| 55 |
|
| 56 |
Use easy_install or pip:: |
| 57 |
|
| 58 |
$ sudo easy_install seqdiag |
| 59 |
|
| 60 |
Or |
| 61 |
|
| 62 |
$ sudo pip seqdiag |
| 63 |
|
| 64 |
|
| 65 |
Copy and modify ini file. example:: |
| 66 |
|
| 67 |
$ cp <seqdiag installed path>/blockdiag/examples/simple.diag . |
| 68 |
$ vi simple.diag |
| 69 |
|
| 70 |
Please refer to `spec-text setting sample`_ section for the format of the |
| 71 |
`simpla.diag` configuration file. |
| 72 |
|
| 73 |
spec-text setting sample |
| 74 |
======================== |
| 75 |
|
| 76 |
Few examples are available. |
| 77 |
You can get more examples at |
| 78 |
`blockdiag.com <http://blockdiag.com/en/seqdiag/index.html>`__ . |
| 79 |
|
| 80 |
simple.diag |
| 81 |
------------ |
| 82 |
|
| 83 |
simple.diag is simply define nodes and transitions by dot-like text format:: |
| 84 |
|
| 85 |
diagram { |
| 86 |
browser -> webserver [label = "GET /index.html"]; |
| 87 |
browser <-- webserver; |
| 88 |
browser -> webserver [label = "POST /blog/comment"]; |
| 89 |
webserver -> database [label = "INSERT comment"]; |
| 90 |
webserver <-- database; |
| 91 |
browser <-- webserver; |
| 92 |
} |
| 93 |
|
| 94 |
|
| 95 |
Usage |
| 96 |
===== |
| 97 |
|
| 98 |
Execute seqdiag command:: |
| 99 |
|
| 100 |
$ seqdiag simple.diag |
| 101 |
$ ls simple.png |
| 102 |
simple.png |
| 103 |
|
| 104 |
|
| 105 |
Requirements |
| 106 |
============ |
| 107 |
* Python 3.7 or later |
| 108 |
* blockdiag 1.5.0 or later |
| 109 |
* funcparserlib 0.3.6 or later |
| 110 |
* reportlab (optional) |
| 111 |
* wand and imagemagick (optional) |
| 112 |
* setuptools |
| 113 |
|
| 114 |
|
| 115 |
License |
| 116 |
======= |
| 117 |
Apache License 2.0 |
| 118 |
|
| 119 |
|