Posts tagged python
Using Non-Standard Jinja Templates
- Feb 18, 2022
- Tech
Apache Airflow uses Jinja templates for variable expansion and templating.
Whenever you write a DAG, you can use {{ }}
blocks to expand variable
names, often using Airflow configurations or macros to fill in the values.
While that is great, you get a problem when you have Jinja templates inside
your code that has nothing to do with Airflow.
David Beazley’s Courses
- Dec 25, 2020
- Review
Among other things, 2020 has been a window into opportunities I didn’t have before. Mostly with respect to time. I was able to rest, which given my penchant for workaholism, was something my mind deserved. I was also about to heal from burnout and come to terms with my job, which I’d just started in 2019. I needed the time to recharge, and ignore all the expectations I had set for myself professionally. I have been overwhelmed with immense Imposter’s Sydrome, and I needed a chance to get over it.
BangPypers Screencast On Security Headers
- Dec 09, 2020
- Talks
The video for my screencast has finally been uploaded. This was a screencast conducted by BangPypers. Here, I covered the topics I blogged about in [this article]({% post_url 2020-11-11-web-application-security %}).
Sarathi - A Personal Discord Bot
- Nov 30, 2020
- Show and Tell
I’ve been maintaining a TIL page for a while now, and while the idea is great, I have had some issues updating the sheet daily.

Keeping Your Work Laptop Awake
- Nov 24, 2020
- Tips and Tricks
Sometimes you’d like to keep your work laptop from sleeping, and for whatever reason, you might not be able to change your system’s power management rules. In this article, I show you how to get around that.
Web Application Security with secure.py
- Nov 11, 2020
- Tutorial
A common pitfall when developing web applications is not knowing how to design a safe application.
secure.py
is a great Python module that helps deal with the basic foundations of web application security.
Managing Multiple Python Installations
- Jul 07, 2020
- Tutorial
If you are running a Linux or Mac machine and would like to run multiple versions of Python, you probably have been told that you need to stop trying to use package managers to run Python.
Configuring Pip to Work in Enterprise Environments
- Feb 29, 2020
- How To
The hardest thing about using package managers within an enterprise is getting them to download the packages you need on the office network. Oftentimes, you are hindered by SSL errors, and other times you get bogged by DNS errors.
PyCon India 2019 Talk - MicroPython
- Oct 12, 2019
- Talks
I finally spoke at PyCon India! It was a great experience. I was a bit nervous speaking as someone who had just lost an ear, but I am glad that the organizers had arranged the “silent conference”. The headphones supported mono-channels, which is a blessing for someone who is single-sided deaf, like me.

Leonardo - Generating Product Unique Specification Images Using Python
- Oct 28, 2018
- Show and Tell
When I was at Flipkart in the Content Team, my manager brought up an interesting project for the Graphic Designers in our team. He said Flipkart was going to invest in the creation of product images that would replace content. It was going to be an image where a prospective buyer could see the key specifications of the project arrayed around the product image in a neat fashion.
