A CLI tool to create AWS diagrams from Cloudformation templates.
Project description
Introduction
Flowee is a command-line tool that helps you visualize CloudFormation templates as React Flow diagrams. This allows you to quickly understand the structure, dependencies, and potential issues within your templates.
Here's how it works:
-
Send your CloudFormation template: Use the flowee generate-diagram command followed by the path to your template file (e.g., flowee generate-diagram --cf template.json).
-
Visualization magic: Flowee processes the template and generates a React Flow diagram that clearly represents the resources and their connections.
-
Explore your diagram: The diagram opens in your web browser, allowing you to navigate and inspect the different components of your CloudFormation template.
Benefits of using Flowee:
- Improved understanding: Visualizing your CloudFormation templates makes them easier to grasp, especially for complex configurations.
- Early issue detection: Identify potential errors or inefficiencies within your templates before deployment.
- Enhanced collaboration: Share the generated diagrams with your team for better communication and collaboration.
Installation
Requirements
- Python version 3 or above (which can be checked by running python --version). If you don't have Python installed, you can download it from here.
- pip (which comes with Python)
- node version 20 or above
- npm
Installation
You can install the package using pip. Run the following command in your terminal:
pip install flowee
This will install the package and its dependencies on your system.
Before using this package, you need to install Playwright and the necessary browsers. You can install Playwright and browsers by running:
pip install playwright
python -m playwright install
For more detailed instructions, please refer to the Playwright documentation: https://playwright.dev/python/docs/intro
Updating
You can update the package to the last version using pip. Run the following command in your terminal:
pip install --upgrade flowee
This will update the package to the latest version available on PyPI.
Usage
Starting Flowee
To start Flowee, run the following command:
flowee generate-diagram --cf <path-to-your-cloudformation-template> --path <output-directory>
This will generate a json file of your CloudFormation template in the specified output directory.
Options
--cf: The path to your CloudFormation template. Default istemplate.json.--path: The output directory where the diagram will be saved. Default is the current directory.--name: The name of the diagram file. Default isaws-diagram.
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
File details
Details for the file flowee-1.7.tar.gz.
File metadata
- Download URL: flowee-1.7.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0699e3252eef7c61f62c7b9b681b2ebc7fe35f8c5efe4073fcef30f36954fd45
|
|
| MD5 |
3d1721224671bd4e653fa782c824ee05
|
|
| BLAKE2b-256 |
9021acd5d7b7c336b64a7cea486318c58d841cf9dc1b1dcdfbb9c87fff923021
|