Build cloud architecture diagrams without leaving your IDE

Photo by Donna Lay on Unsplash

I’ve built an infrastructure diagram drawing library. You can see it on GitHub and this website.

Diagrams let you draw a cloud system architecture in Python code. It was born for prototyping a new system architecture design without any design tools.

You can also describe or visualize the existing system architecture. Diagrams currently supports these major five providers: AWS, Azure, GCP, Kubernetes, and Alibaba Cloud.

Diagram as Code also allows you to track the architecture diagram changes on any version control system.

Note: It does not control any actual cloud resources nor generate cloud formation or terraform code, but only…


I made an another command line tool, the flog. flog is a fake log generator for common log formats such as apache-common, apache error and RFC3164 syslog: flog

It is useful for testing some tasks which require log data like amazon kinesis log stream test.

Flog currently supports following features:

  • Completely random log generator
  • Support apache common, apache combined, apache error and rfc3164 log format
  • Support stdout, file and gzip type of logging

And I have a plan for support below additional features for next versions.

  • Contextual random log generator
  • Statistical random log generator
  • Support some other syslog formats
  • Support custom log format (Most important feature, it will be added to flog version 1.0.0)

I hope this could help someone who want to test something which require log data.

Thanks.


I’ve made a simple CLI for finding awesome resources on awesome series repository. : awesome-finder

If you don’t know awesome series, here is an example: awesome-python which provides a curated list of awesome Python frameworks, libraries, software and resources.

With this finder, you can find libraries or resources on README from awesome repository on your terminal immediately.

Thank you


I’m not a native speaker. Please understand.

Python has plentiful types of operations compared to other languages.

Especially, the Asterisk(*) that is one of the most used operators in Python allows us to enable various operations more than just multiplying the two numbers. In this post, we’ll look at the various operations that can be done with this Asterisk(*) to write Python more pythonically.

There are 4 cases for using the asterisk in Python.

  1. For multiplication and power operations.
  2. For repeatedly extending the list-type containers.
  3. For using the variadic arguments. (so-called “packing”)
  4. For unpacking the containers.

Let’s look at each…


I’m not a native speaker. Sorry for my english. Please understand.

When develop the server applications, you could encounter a problem for managing the configuration. Of course, This issue can be encountered in every place where configuration management is needed as well as server applications.

If you are beginner or have no experience with configuration management, it could be little a bit hard to do. Especially, If you have secret values like Database Information, AWS Credentials, it may be very dangerous to manage the configuration on open VCS (Version Control System) such as Github, Bitbucket. In fact, in some cases…


I’m not a native speaker. Sorry for my english. Please understand.

The underscore (_) is special in Python.

While the underscore (_) is used for just snake-case variables and functions in most languages (Of course, not for all), but it has special meanings in Python. If you are python programmer, for _ in range(10) , __init__(self) like syntax may be familiar.

This post will explain the about when and how use the underscore (_) and help you understand it.

There are 5 cases for using the underscore in Python.

  1. For storing the value of last expression in interpreter.
  2. For ignoring…

mingrammer

I love computer science, automation and mathematics. github.com/mingrammer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store