Skip to main content

A compose file visualization tool that supports compose-spec and allows you to gernerate graph in DOT format or PNG.

Project description


compose-viz


Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact

About The Project

compose-viz is a compose file visualization tool that supports compose-spec and allows you to gernerate graph in DOT format or .png.

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.

(back to top)

Getting Started

Prerequisities

Graphviz

If you want to generate PNG (which is the default option), you need to install Graphviz.

Installation

Using pip

pip install compose-viz

Using .whl

See releases.

Usage

cpv [OPTIONS] INPUT_PATH

Options

Option Description
-o, --output-path Output path for the generated visualization file. [default: ./compose-viz.png]
-m, --format [PNG,DOT] Output format for the generated visualization file. [default: PNG]
-v, --version Show the version of compose-viz.
--help Show help and exit.

Example

cpv -o .\examples\full-stack-node-app\compose-viz.png .\examples\full-stack-node-app\docker-compose.yml

Here is the result.

(back to top)

Roadmap

  • Support more vizualization components.

See the open issues for a full list of proposed features (and known issues).

(back to top)

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feat/amazing-feature)
  3. Commit your Changes with Conventional Commits
  4. Push to the Branch (git push origin feat/amazing-feature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Author

Project Link

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compose-viz-0.1.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

compose_viz-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file compose-viz-0.1.0.tar.gz.

File metadata

  • Download URL: compose-viz-0.1.0.tar.gz
  • Upload date:
  • Size: 10.7 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

Hashes for compose-viz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3adeee3927d2d83997cd2c61aa61670e8bbf76e9d53859c354c60dd2cd925882
MD5 7a55de72fbafd7213cd5e62fbe57e4f8
BLAKE2b-256 26146339b694602a59f8040449b578d64f1be04b4eeab6316b27bf63e6dfa465

See more details on using hashes here.

File details

Details for the file compose_viz-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: compose_viz-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.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

Hashes for compose_viz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4df762337b6a60d403a64f268f44bb25b215546cdb7b5659a9e671f59ca3a94
MD5 b743677580f766100c20d41bc3676dec
BLAKE2b-256 376d70a1ed10b142a17fc7875567cf2c4101ea71bae8ef46e7ecf35babbeaa63

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page