{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/17"}],"enrichment":{"capability":"PyStructurizr provides a Python DSL for defining C4 software architecture diagrams programmatically, with CLI tools to convert to Structurizr DSL, generate SVG output, and preview diagrams live in a browser.","skillfed_tags":["architecture-as-code","diagram-generation","c4-model"],"use_cases":["Define C4 architecture diagrams in Python and export them to Structurizr DSL format for sharing or further editing","Generate live previews of architecture diagrams while editing Python model code in a development workflow","Convert Python-defined architecture models to SVG and automatically upload them to cloud storage for embedding in documentation","Organize large architecture models using Python's import and module system instead of Structurizr DSL's limited file inclusion","Version-control architecture diagrams as Python code alongside application source code for team collaboration"],"what_it_does":"PyStructurizr is a Python library that lets you define C4 software architecture diagrams using Python code instead of Structurizr's custom DSL language. It translates Python model definitions\u2014persons, software systems, containers, and their relationships\u2014into diagrams that can be viewed, exported, or uploaded to cloud storage. The package includes a CLI with three main modes: dump (convert Python to Structurizr DSL), dev (live preview in a browser), and build (generate SVG and upload to cloud providers like google-cloud-storage or boto3).\n\nThe library's main appeal is that it lets you use Python's full expressiveness\u2014imports, functions, loops, version control\u2014to manage architecture diagrams as code, rather than dealing with a custom language's syntax and primitive file-inclusion mechanisms. It depends on watchdog for file monitoring, click for CLI commands, httpx for HTTP requests, and cloud storage SDKs for upload functionality. The package is in alpha status and has been dormant since mid-2023, so active development has stalled.","worth_installing":"Yes, if you need to define C4 diagrams programmatically and prefer Python over Structurizr DSL syntax. The low install friction and permissive license make it accessible. However, proceed with caution: the package is in alpha, dormant since 2023, and has no known vulnerabilities but also no recent maintenance. It's suitable for personal projects or teams comfortable maintaining a stalled dependency, but risky for production systems requiring active support."},"id":"pystructurizr","links":{"html":"https://skillfed.io/packages/pystructurizr","md":"https://skillfed.io/packages/pystructurizr.md","pypi":"https://pypi.org/project/pystructurizr/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-07-27","license_spdx":null,"license_treatment":"permissive","name":"pystructurizr","python_support":"unspecified","summary":"A Python DSL inspired by Structurizr, intended for generating C4 diagrams"},"popularity":{"monthly_downloads":93341,"position":13391,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.3"}
