draw-compose-0.0.3
توضیحات
Render Docker compose files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | draw-compose-0.0.3 |
| نام | draw-compose |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexis Benoist |
| ایمیل نویسنده | alexis.benoist@gmail.com |
| آدرس صفحه اصلی | https://github.com/Alexis-benoist/draw-compose |
| آدرس اینترنتی | https://pypi.org/project/draw-compose/ |
| مجوز | Apache License 2.0 |
Draw compose
============
Render compose files with one command line!
This project needs graphviz installed.
Simple example
--------------
.. figure:: https://raw.githubusercontent.com/Alexis-benoist/draw-compose/master/fixtures/simple.png?raw=true
:alt: Simple Example
Simple example
Classic python example
----------------------
.. figure:: https://raw.githubusercontent.com/Alexis-benoist/draw-compose/master/fixtures/real.png?raw=true
:alt: Python web app
Python classic
Install
=======
On OSX:
-------
Install graphviz ``brew install graphviz`` and draw-compose:
::
$ pip install draw-compose
Use
===
Renders by default ``docker-compose.yml`` in the current folder.
::
$ draw-compose -o docker.png
Or a specific docker file can be rendered:
::
$ draw-compose -i fixtures/real.yml -o docker-specific.png
نیازمندی
| مقدار | نام |
|---|---|
| - | docker-compose |
| - | pygraphviz |
نحوه نصب
نصب پکیج whl draw-compose-0.0.3:
pip install draw-compose-0.0.3.whl
نصب پکیج tar.gz draw-compose-0.0.3:
pip install draw-compose-0.0.3.tar.gz