nwdiag


Namenwdiag JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttp://blockdiag.com/
Summarynwdiag generates network-diagram image from text
upload_time2021-12-06 17:02:48
maintainer
docs_urlNone
authorTakeshi Komiya
requires_python>=3.7
licenseApache License 2.0
keywords diagram generator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `nwdiag` generate network-diagram image file from spec-text file.

.. image:: https://drone.io/bitbucket.org/blockdiag/nwdiag/status.png
   :target: https://drone.io/bitbucket.org/blockdiag/nwdiag
   :alt: drone.io CI build status

.. image:: https://pypip.in/v/nwdiag/badge.png
   :target: https://pypi.python.org/pypi/nwdiag/
   :alt: Latest PyPI version

.. image:: https://pypip.in/d/nwdiag/badge.png
   :target: https://pypi.python.org/pypi/nwdiag/
   :alt: Number of PyPI downloads


Features
========
* Generate network-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/en/nwdiag/nwdiag-examples.html>`_ .

Setup
=====

Use easy_install or pip::

   $ sudo easy_install nwdiag

   Or

   $ sudo pip nwdiag


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::

    nwdiag {
      network dmz {
          address = "210.x.x.x/24"

          web01 [address = "210.x.x.1"];
          web02 [address = "210.x.x.2"];
      }
      network internal {
          address = "172.x.x.x/24";

          web01 [address = "172.x.x.1"];
          web02 [address = "172.x.x.2"];
          db01;
          db02;
      }
    }


Usage
=====

Execute nwdiag command::

   $ nwdiag simple.diag
   $ ls simple.png
   simple.png


Requirements
============
* Python 3.7 or later
* blockdiag 1.5.0 or later
* funcparserlib 0.3.6 or later
* reportlab (optional)
* wand and imagemagick (optional)
* setuptools


License
=======
Apache License 2.0



            

Raw data

            {
    "_id": null,
    "home_page": "http://blockdiag.com/",
    "name": "nwdiag",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "diagram,generator",
    "author": "Takeshi Komiya",
    "author_email": "i.tkomiya@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/5a/75/06920ff030f924638b045be3d1dbaf92b8fc462d154515ef5b6c57d7d561/nwdiag-3.0.0.tar.gz",
    "platform": "",
    "description": "`nwdiag` generate network-diagram image file from spec-text file.\n\n.. image:: https://drone.io/bitbucket.org/blockdiag/nwdiag/status.png\n   :target: https://drone.io/bitbucket.org/blockdiag/nwdiag\n   :alt: drone.io CI build status\n\n.. image:: https://pypip.in/v/nwdiag/badge.png\n   :target: https://pypi.python.org/pypi/nwdiag/\n   :alt: Latest PyPI version\n\n.. image:: https://pypip.in/d/nwdiag/badge.png\n   :target: https://pypi.python.org/pypi/nwdiag/\n   :alt: Number of PyPI downloads\n\n\nFeatures\n========\n* Generate network-diagram from dot like text (basic feature).\n* Multilingualization for node-label (utf-8 only).\n\nYou can get some examples and generated images on \n`blockdiag.com <http://blockdiag.com/en/nwdiag/nwdiag-examples.html>`_ .\n\nSetup\n=====\n\nUse easy_install or pip::\n\n   $ sudo easy_install nwdiag\n\n   Or\n\n   $ sudo pip nwdiag\n\n\nspec-text setting sample\n========================\n\nFew examples are available.\nYou can get more examples at\n`blockdiag.com`_ .\n\nsimple.diag\n------------\n\nsimple.diag is simply define nodes and transitions by dot-like text format::\n\n    nwdiag {\n      network dmz {\n          address = \"210.x.x.x/24\"\n\n          web01 [address = \"210.x.x.1\"];\n          web02 [address = \"210.x.x.2\"];\n      }\n      network internal {\n          address = \"172.x.x.x/24\";\n\n          web01 [address = \"172.x.x.1\"];\n          web02 [address = \"172.x.x.2\"];\n          db01;\n          db02;\n      }\n    }\n\n\nUsage\n=====\n\nExecute nwdiag command::\n\n   $ nwdiag simple.diag\n   $ ls simple.png\n   simple.png\n\n\nRequirements\n============\n* Python 3.7 or later\n* blockdiag 1.5.0 or later\n* funcparserlib 0.3.6 or later\n* reportlab (optional)\n* wand and imagemagick (optional)\n* setuptools\n\n\nLicense\n=======\nApache License 2.0\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "nwdiag generates network-diagram image from text",
    "version": "3.0.0",
    "project_urls": {
        "Code": "https://github.com/blockdiag/nwdiag",
        "Download": "http://pypi.python.org/pypi/nwdiag",
        "Homepage": "http://blockdiag.com/",
        "Issue tracker": "https://github.com/blockdiag/nwdiag/issues"
    },
    "split_keywords": [
        "diagram",
        "generator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3d36efc7814620986220290ebbe2f270f31043280d37d4e094226b1ede12087d",
                "md5": "cbc5bcdc3feef8dd15da590a6bc870f3",
                "sha256": "549cab5400ca33b8c05ea119414fa41e6bd85be222ba524418c2c176eea87e80"
            },
            "downloads": -1,
            "filename": "nwdiag-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cbc5bcdc3feef8dd15da590a6bc870f3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 7736537,
            "upload_time": "2021-12-06T17:02:47",
            "upload_time_iso_8601": "2021-12-06T17:02:47.173100Z",
            "url": "https://files.pythonhosted.org/packages/3d/36/efc7814620986220290ebbe2f270f31043280d37d4e094226b1ede12087d/nwdiag-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5a7506920ff030f924638b045be3d1dbaf92b8fc462d154515ef5b6c57d7d561",
                "md5": "01f48cfe8cc1624ae9653559d2eb2c50",
                "sha256": "e267530fcaac8a1d9e7403048597ed30e031e17f0191569dc6f704087bacb2eb"
            },
            "downloads": -1,
            "filename": "nwdiag-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "01f48cfe8cc1624ae9653559d2eb2c50",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 7750437,
            "upload_time": "2021-12-06T17:02:48",
            "upload_time_iso_8601": "2021-12-06T17:02:48.953377Z",
            "url": "https://files.pythonhosted.org/packages/5a/75/06920ff030f924638b045be3d1dbaf92b8fc462d154515ef5b6c57d7d561/nwdiag-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-12-06 17:02:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "blockdiag",
    "github_project": "nwdiag",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "nwdiag"
}
        
Elapsed time: 0.21747s