A compose file visualization tool that supports compose-spec and allows you to gernerate graph in several formats.
Project description
Table of Contents
About The Project
compose-viz
is a compose file visualization tool that follows compose-spec and allows you to gernerate graph in several formats.
If you are looking for a compose file vizualization tool, and you are using one of the compose-spec implementations (e.g. docker-compose/podman-compose), then compose-viz
is a great choice for you.
Getting Started
Prerequisities
Graphviz
You need to install Graphviz to generate graphs.
Installation
Using pip
pip install compose-viz
Using .whl
See releases.
Example
This example yml is from docker compose beginner tutorial.
cd examples/voting-app/
cpv -m svg docker-compose.yml
And this is what the result looks like:
Check out the result here.
Usage
cpv [OPTIONS] INPUT_PATH
Options
Option | Description |
---|---|
-o, --output-filename |
Output filename for the generated visualization file. [default: compose-viz] |
-m, --format |
Output format for the generated visualization file. See supported formats. [default: png] |
-v, --version |
Show the version of compose-viz. |
--help |
Show help and exit. |
Roadmap
- Support more vizualization components.
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/amazing-feature
) - Commit your Changes with Conventional Commits
- Push to the Branch (
git push origin feat/amazing-feature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Author
- HSING-HAN, WU (Xyphuz)
- Mail me: xyphuzwu@gmail.com
- About me: https://about.xyphuz.com
- GitHub: https://github.com/wst24365888
Project Link
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 compose-viz-0.2.1.tar.gz
.
File metadata
- Download URL: compose-viz-0.2.1.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed91fc842dab72feb72389f69343fd5a7f635df79d42879e1d9d095664cefec3 |
|
MD5 | f57034f91a13a935160420583dd397f6 |
|
BLAKE2b-256 | d3f35fa70033a2e0f686daf048a30f196e1a5a8494a8153bec85b687890f266b |
File details
Details for the file compose_viz-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: compose_viz-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d04e7e08bf70dc725a9d8918ce791524e1126d2ddd7b301671e20e3ceaef024a |
|
MD5 | dfe67d2dfb23413941e753de1266df17 |
|
BLAKE2b-256 | df659faa4f330149125a5835f3193c580a3b98eb0d35dbc779b9169f1a6b8593 |