Photo by bady abbas on Unsplash

Part of a series of bite-sized tutorials that I have been publishing on my blog.

This blog post assumes you are familiar with

Setup

My application follows the create_app pattern outlined in the Flask Flaskr example blog tutorial. Because of this, we need to make some adjustments to the usual deployment process when using Zappa to deploy our application.

Since we cannot call the create_app() function directly from __init__.py with Zappa, we will create a supplementary run.py file that instantiates our app, we will them point to this in…


Let’s keep this short and sweet, assumptions:

Install & Configure NeoVim

Open an Ubunutu terminal

source

Setup init.vim

run $ nvim, then:

This is sourced from the :h nvim command

Install vim-plug

download and install vim-plug:

source

Add some plugins

Sample plugin file

write the file and run $ nvim again.

And you should be all set!


Recently, I’ve been focused on developing a Chrome extension, Skater. This extension started off as a hackathon project among friends, resulting in a scrappy, messy codebase written in vanilla js. While a lot of fun to develop at the time, revisiting and making changes without a testing framework in place has been a headache. I’ve made the decision to revisit the extension and implement a testing suite with jest. You can follow along with those updates on the jest-implement branch. …


This post is part of a series of bite-sized tutorials that I have been publishing on my blog.

Problem Statement

In data warehousing, we often encounter repetitive processes that can benefit from templating. This is a simple example of creating a COPY INTO statement using some JSON.


This article serves as a guide for my students to deploy their Flask apps to Heroku. I will assume that you are using Terminal on Mac/Linux or Git Bash on Windows. There is an accompanying GitHub repo for this article.

  1. Install the Heroku CLI
  2. In terminal, run heroku login -i and login

We will start off with a new project directory (folder) called my_app. In this folder, create a new file, app.py which will house our Flask app. The code for the Flask app should look something like this:


Have you ever had to click through a clunky, difficult to navigate, website? Maybe it was a school web portal, or a local government website. If you have to click through a frustrating web page often, I have good news for you. We can automate that with Python.

The library that we will be using to spin up and control a headless web browser is called Splinter. There is some prep work before we get started.

First make sure that you have Homebrew installed. Then run the following in your terminal:

Evan Calzolaio

Python everything!

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