Archive for the tag 'Python'

 

 

Apr 28 2021

Show All Available Icons in Diagram as Code

Published by under Python

Diagram as Code by Mingrammer offers so many icons, it is just frustrating to go within all subdirectories to check and see all available icons. I decided to write a piece of code that imports classes from Diagram as Code package’s submodules.I then gather each provider’s submodules in a cluster – that shows up as […]

No responses yet

Apr 01 2021

Build Ansible Inventory from IBM Cloud Resources

Published by under Ansible,Python

IBM Cloud relies on Softlayer API – also called IBM Classic Infrastructure – to automate things. The API is available in different languages such as Python, Go, Java or PHP. Here I will generate automatically a host inventory collected on my IBM Cloud account directly usable by Ansible. I will also generate datacenters groups. You […]

No responses yet

Mar 14 2021

Draw Beautiful Diagrams with Diagram as Code

Published by under Python

Diagram as Code is a hot topic these days that brings a lof of benefits. Among them:– Keep track of changes, who and what– Store on a repository as simple text– No need to realign arrows or move things around when you add an item– Much faster as a consequence once you have the knowledge– […]

No responses yet