Debian Codegraph @

PKG-INFO

raw
1 Metadata-Version: 2.1
2 Name: nwdiag
3 Version: 3.0.0
4 Summary: nwdiag generates network-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/nwdiag
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 Provides-Extra: pdf
28 Provides-Extra: rst
29 License-File: LICENSE
30
31 `nwdiag` generate network-diagram image file from spec-text file.
32
33 .. image:: https://drone.io/bitbucket.org/blockdiag/nwdiag/status.png
34 :target: https://drone.io/bitbucket.org/blockdiag/nwdiag
35 :alt: drone.io CI build status
36
37 .. image:: https://pypip.in/v/nwdiag/badge.png
38 :target: https://pypi.python.org/pypi/nwdiag/
39 :alt: Latest PyPI version
40
41 .. image:: https://pypip.in/d/nwdiag/badge.png
42 :target: https://pypi.python.org/pypi/nwdiag/
43 :alt: Number of PyPI downloads
44
45
46 Features
47 ========
48 * Generate network-diagram from dot like text (basic feature).
49 * Multilingualization for node-label (utf-8 only).
50
51 You can get some examples and generated images on
52 `blockdiag.com <http://blockdiag.com/en/nwdiag/nwdiag-examples.html>`_ .
53
54 Setup
55 =====
56
57 Use easy_install or pip::
58
59 $ sudo easy_install nwdiag
60
61 Or
62
63 $ sudo pip nwdiag
64
65
66 spec-text setting sample
67 ========================
68
69 Few examples are available.
70 You can get more examples at
71 `blockdiag.com`_ .
72
73 simple.diag
74 ------------
75
76 simple.diag is simply define nodes and transitions by dot-like text format::
77
78 nwdiag {
79 network dmz {
80 address = "210.x.x.x/24"
81
82 web01 [address = "210.x.x.1"];
83 web02 [address = "210.x.x.2"];
84 }
85 network internal {
86 address = "172.x.x.x/24";
87
88 web01 [address = "172.x.x.1"];
89 web02 [address = "172.x.x.2"];
90 db01;
91 db02;
92 }
93 }
94
95
96 Usage
97 =====
98
99 Execute nwdiag command::
100
101 $ nwdiag simple.diag
102 $ ls simple.png
103 simple.png
104
105
106 Requirements
107 ============
108 * Python 3.7 or later
109 * blockdiag 1.5.0 or later
110 * funcparserlib 0.3.6 or later
111 * reportlab (optional)
112 * wand and imagemagick (optional)
113 * setuptools
114
115
116 License
117 =======
118 Apache License 2.0
119
120