Library to generate DRAW.IO compatible diagrams to represent Cloud infrastructure. AWS Cloud supported.
Project description
MultiCloud Diagrams is a package for generating and rendering Diagrams-As-a-Code (DAG) in popular drawio format for different Cloud providers.
-
you can use it by defining
Diagrams as a Code
, compile to drawio vector format, edit vector drawio representation (align components location). -
other option is to query infrastructure elements with popular libraries, like aws boto, preprocess desired elements and compile them into drawio using
multicloud-diagrams
. -
Source code: https://github.com/tsypuk/multicloud-diagrams
-
PyPI multicloud-diagrams: https://pypi.org/project/multicloud-diagrams/
-
Sponsor project: https://patreon.com/tsypuk
-
View changelog: https://github.com/tsypuk/multicloud-diagrams/blob/main/CHANGELOG.MD
-
Bug reports: https://github.com/tsypuk/multicloud-diagrams/issues
-
Samples and examples: https://github.com/tsypuk/multicloud-diagrams/tree/main/samples/samples
Features:
- allows to generate drawio diagram with predefined styles for popular aws services, support graph-based connection with named edges
- supports single and batch elements append to diagram
- duplicates detection to prevent ball of mud in file format and diagram
- verification that both vertices present on diagram when adding edge connection between them
- if the node is not present, fallback to default icon when rendering
- read previous version of drawio file and reuses existing vertices coordinates when generating a new version
Supported AWS services:
- lambda_function
- sqs
- sns
- iam_role/iam_policy/iam_permission
- dynamo/dynamo_stream
- api_gw
- s3
- kms
- ssm
Examples
Generating drawio
diagrams from the code (Diagrams as a Code) for popular Amazon Web Services:
AWS DynamoDB Details
-
Source aws_dynamo.py
-
Output compiled drawio diagram:
AWS IAM Graph
- Source aws_dynamo.py
- Output compiled drawio diagram
FYI:
OpenSource Guide, How to contribute to opensource
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file multicloud_diagrams-0.2.2.tar.gz
.
File metadata
- Download URL: multicloud_diagrams-0.2.2.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76ce7cd7decef487e2a3f54ed93f614100e3ea0f80966ab65e6ec50076a6ea4 |
|
MD5 | 93b170f7792fcbe4a0380716702f7301 |
|
BLAKE2b-256 | 9e02e5f5c941e72a6031d1b08efabff848feb9425a6b993dfb251c74798d98d1 |
File details
Details for the file multicloud_diagrams-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: multicloud_diagrams-0.2.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.2 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7daecb530563d9fd480de60d4aacefa3395eb7e6b7b73ed6b45ced48986fa55f |
|
MD5 | c2be271c2e01317af3f85e3956d1303f |
|
BLAKE2b-256 | 44b41be5ff7a0ecd016d98a3b5753a633fb6ccdcd4f553af6356c8bfbc5c875e |