/*code-comments*/

case insensitive grep (aka ignoring case)

2020-06-29

 | 

~2 min read

 | 

214 words

“Grepping” a stream of data is a powerful way to cut through the noise (I’ve written previously about its role in digging through git logs…

running scripts with poetry

2020-06-28

 | 

~2 min read

 | 

365 words

I’ve been exploring Poetry as an alternative to pip and pipenv recently. As pleasant as it has been, I knew I wasn’t taking advantage of all…

using non-default and multiple aws profiles with boto3

2020-06-27

 | 

~2 min read

 | 

249 words

I was recently working on a Python script that needed to access AWS resources. Fortunately, that’s exactly what the library boto3 is for…

raising (custom) exceptions in python

2020-06-25

 | 

~2 min read

 | 

281 words

If a Python program receives values it cannot handle, it can abort by raising an exception. Most of errors in Python are built on the…

a looping cheatsheet for python

2020-06-24

 | 

~2 min read

 | 

309 words

The following post is inspired by Trey Hunner’s great post on looping with indexes in Python. What’s below: Standard loop through an…

Hi there and thanks for reading! My name's Stephen. I live in Chicago with my wife, Kate, and dog, Finn. Want more? See about and get in touch!