2021-10-19

Common mistakes and best practices on creating a Dockerfile

We work with Dockerfiles on a daily basis; all the code we run for ourselves and for our customers, we […]
2021-10-18

Guide to different types of Docker Volumes

The data generated and used by containers are not persisted after we restart or remove containers. So, we can use Docker […]
2021-09-30

Prune unused Docker objects to alleviate low disk space on the filesystem root issues

You can alleviate low disk space on filesystem root issues by pruning redundant docker objects. Docker takes a conservative approach […]
2021-09-29

Comparing Python Command-Line Parsing Libraries: Argparse, Docopt, and Click

This article uses the following versions of the libraries: (Ignore invoke for now, it’s a special surprise for later!) Command-Line Example The […]
2021-08-03

How to use black, flake8, and isort to format Python codes

black The Uncompromising Code Formatter With black you can format Python code from 2.7 all the way to 3.8 (as of version […]
2021-02-13

Python testing tutorial using pytest

Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and […]
2020-01-28

A Guide to Python’s Magic Methods

Table of Contents Introduction Construction and Initialization Making Operators Work on Custom Classes Comparison magic methods Numeric magic methods Representing […]
2020-01-07

Python Datastructures and operations time complexity

References: https://intellipaat.com/blog/tutorial/python-tutorial/data-structures-with-python-cheat-sheet/ https://cooervo.github.io/Algorithms-DataStructures-BigONotation/index.html https://wiki.python.org/moin/TimeComplexity https://www.bigocheatsheet.com/ https://yourbasic.org/algorithms/time-complexity-arrays/ https://www.hackerearth.com/practice/notes/big-o-cheatsheet-series-data-structures-and-algorithms-with-thier-complexities-1/ https://medium.com/fintechexplained/time-complexities-of-python-data-structures-ddb7503790ef https://www.ics.uci.edu/~pattis/ICS-33/lectures/complexitypython.txt https://www.ics.uci.edu/~brgallar/week8_2.html