I recently used Zappa and it’s magical!
Zappa is a tool that makes it easy to deploy Python apps to AWS Lambda. It works with Flask, Django, etc (anything WSGI-compatible) and it’s very straightforward to configure.
As someone who doesn’t enjoy a lot of ops work, Zappa opens up AWS Lambda as a possible infrastructure I can easily leverage for personal projects. Lambda can cost a lot less than EC2 instances and pushes a lot of the scaling issues to Amazon to handle.
Lambda’s not right for every project but I’m excited by the possibilities.
It’s the pumpkin season again! We got a few friends together to create these delightful jack-o’-lanterns.
Check ’em out:
Pipenv is so snazzy.
Here’s a list of problems it solves: https://realpython.com/pipenv-guide/
My favorite (minor) feature is that I now no longer have to .gitignore all the virtualenv directories for Python projects.
Thoughtbot has a great guide on getting started: https://robots.thoughtbot.com/how-to-manage-your-python-projects-with-pipenv
Recently, there was a “TypeError: ‘module’ object is not callable” bug (with a workaround) but looks like it’s been fixed: https://github.com/pypa/pipenv/issues/2871
A couple of months ago, thanks to my awesome coworkers, I got to live out my dream of riding a conference bike.
Although we didn’t bike very far, we did go on a real road, which terrified all the drivers.
It was so much fun!
A few months ago, Harry and I went on a bioluminescent kayaking tour.
I swirled my paddle in the inky black water and lit up the night. It was super magical!
This post is a gift to my future self for when I no longer writer Python daily and need a refresher.
Chris Yeh has a wonderful post on the correct syntax to write import statements in Python.
The essence is, if you have a directory structure like:
from foo import bar
from .bar import Bar
My local grocery store had Yowies! I thought they were only available in Australia.
Turns out they’re making a reappearance in the US. Neat!