{"library":"nwdiag","title":"nwdiag","description":"A simple text-to-image diagram generator for network diagrams, part of the blockdiag suite. Current version 3.0.0 supports Python >=3.7. Maintained irregularly.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install nwdiag"],"cli":{"name":"nwdiag","version":"nwdiag 3.0.0"}},"imports":["import nwdiag","from nwdiag import parser"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import nwdiag\n\n# Create a simple network diagram\nnwdiag.command(['-o', 'output.png', '-']).stdout.write(\"\"\"\nnwdiag {\n  network dmz {\n    address = \"192.168.1.0/24\"\n\n    web01 [address = \"192.168.1.1\"];\n    web02 [address = \"192.168.1.2\"];\n  }\n  network internal {\n    address = \"10.0.0.0/8\";\n\n    db01 [address = \"10.0.0.1\"];\n    db02 [address = \"10.0.0.2\"];\n  }\n}\n\"\"\")","lang":"python","description":"Generates a network diagram from a DOT-like text description.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}