My blog - Code Disciples

Code Disciples is a blog for all things code. The internet is vast and is full of great content and mostly awesome folks who are always willing to help. However, sometimes, we run into a real head-scratcher that requires rummaging through heaps of documentation or tutorials and abusing Q&A sites until we hit that "eureka!" moment. Most blogs on Code Disciples stem from such painful moments of frustration. The site provides a means for me to document topics or scenarios that I struggled with when I first encountered them or subjects that I simply felt would be fun to blog about. I hope you find at least some of them to be useful.

The site is developed with Pelican and deployed using Netlify.

  • Pythonic Dictionaries

    Dictionaries are one of the most helpful data structures in Python. In this post, we will look at some methods that make dictionary usage more pythonic.

    Full article.


  • Plotting on Google Maps with gmplot

    In this post, we will look at plotting different plot types on Google maps using the gmplot library in Python (v3.7). This is great if you need to highlight a specific section like a building, a street, a locality or other areas of interest on a map. gmplot provides a variety of plots like polygons, heatmaps and gridlines out of the box.

    Full article.


  • A reminder app with Python, Twilio and AWS Lambda

    In this post, we will create a very simple Python (v3.7) script that calls the Twilio sandbox API to send an event reminder via WhatsApp. The reminder details and the list of recipients will be stored in separate json files. To run the script daily, we will be creating a function in AWS Lambda.

    Full article.


  • Embedding Jupyter Notebooks in a website

    n this post, we will learn how to embed Jupyter Notebooks in a website. The great thing about being able to embed notebooks is that either all or a subset of the notebook content, whether static or interactive can be made available directly on a website or a blog post. This is especially helpful for static sites (like Code Disciples) since the content can be added directly to the Markdown. Readers do not need to navigate to a notebook server or a repository to explicitly view the notebook.

    Full article.