semvec/pypi-packages huggingface dataset:
compose-plantuml 0.2.1
converts docker-compose into plantuml
License: MIT
Keywords: docker-compose plantuml docker yml

|Build Status| |image1| |PyPi downloads| |PyPi version| |Docker pulls|

compose_plantuml
================

Generate Plantuml graphs from docker-compose files

Note that version 2 as well as the legacy version is supported.

Usage
-----

Via Python
~~~~~~~~~~

Install it via: ``pip3 install compose_plantuml``

After that use it like:
``compose_plantuml --link-graph docker-compose.yml``

Via Docker
~~~~~~~~~~

Use it like:
``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph``

For SVG Output, just call:

``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph | docker run -i think/plantuml > output.svg``

For PNG Output, just call:

``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph | docker run -i think/plantuml -tpng > output.png``

Link Graph
----------

Link Graphs provide an overview over docker-compose services.

Consider the following docker-compose.yml

::

   version: '2'
   services:
     first:
       links:
         - second
     second: {}

When calling ‘compose_plantuml docker-compose.yml’ it will generate the
following link graph:

::

   [first]
   [second]
   [first] --> [second]

Rendered it looks like:

Boundaries
----------

Boundaries visualize the external boundaries a system has.

Consider the following docker-compose.yml

::

   version: '2'
   services:
     service:
       ports:
         - 8080:80

When calling ‘compose_plantuml –boundaries docker-compose.yml’ it will
generate the following plantuml:

::

   rectangle system {
     [service]
   }
   [service] --> 8080 : 80

Rendered it looks like:

Related Links
-------------

-  draw compose

   -  https://github.com/Alexis-benoist/draw-compose
   -  generates dot graphs from docker-compose files
   -  currently just supports docker-compose version 1
   -  does not read from stdin, so is not easy useable as docker
      container

.. |Build Status| image:: https://travis-ci.org/funkwerk/compose_plantuml.svg
   :target: https://travis-ci.org/funkwerk/compose_plantuml
.. |image1| image:: https://badge.imagelayers.io/funkwerk/compose_plantuml.svg
   :target: https://imagelayers.io/?images=funkwerk/compose_plantuml:latest
.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/compose_plantuml.svg
   :target: https://pypi.python.org/pypi/compose_plantuml/
.. |PyPi version| image:: https://img.shields.io/pypi/v/compose_plantuml.svg
   :target: https://pypi.python.org/pypi/compose_plantuml/
.. |Docker pulls| image:: https://img.shields.io/docker/pulls/funkwerk/compose_plantuml.svg
   :target: https://hub.docker.com/r/funkwerk/compose_plantuml/
consolebar 1.2
Stunning progress bars for consoles for showing progress of python loops!
License: MIT
Keywords: Console,Progress Bar,Python Progress Bar,Console Progress Bar

# ConsoleBar

Python Module which creates stunning progress bars for showing progress of loops and iterables in python.

## Installation

Simply using PyPi: 

```
pip install consolebar
```
## Usage

Simply run the following python code:

```python
from consolebar import ConsoleBar

for item in ConsoleBar(object'''(list(), tuple(), dict(), range(), iterable, etc.)''', optional_params):
    #Do your stuff
```

Thats it!

## Parameters

- **loop_to_execute (Required):** Python loop parameter (list(), dictionary(), tuple(), str(), range(), etc.) i.e. iterable object for which progress bar is shown.
- **prefix (Optional):** A string which is shown before the progress bar to describe the progress bar (Default: "Progress:").
- **suffix (Optional):** A string which is shown after the progress bar to describe the progress percentage shown after the progress bar (Default: "Complete").
- **length (Optional):** Length of the progress bar in charecters. Can be adjusted according to one's console charecter width (Default: 50).

Highly useful when you want to run huge loops but don't want to just see the blinking cursor of the console while it is executing.