Currently writing about: AWS, React.js, Node.js, TypeScript, friction logs.

34 Days of Python

Blog series

#1: First Steps With Jupyter Notebooks

Setting up a Jupyter Notebook for the first time to aid with the 100 Days of Python challenge

3 min read

#2: Unsplash API with Python

Installing and using an unofficial Python Unsplash API by salvoventura

3 min read

#3: Composing Images and Text with Python

Use the Pillow image library to add text and icons layers to an image programmatically.

4 min read

#4: Frontmatter Parsing With Python

Learn how to take a markdown file and parse the frontmatter metadata for usage in your scripts.

2 min read

#5: Reading a file directory with Python

Use the glob library to create a list of all the files in a directory.

3 min read

#6: Building CLIs With python-fire

Work through an example of building a simple CLI script with the python-fire library.

3 min read

#7: Python Unit Testing With PyTest

Learn the basics of installing and using PyTest with a basic math module example.

4 min read

#8: Tip: Making Directories Recursively With Python

Using the OS module recursively make folders on your operating system.

1 min read

#9: Tip: Interactive Python Notebooks With Binder

Display your public GitHub repositories in an interactive notebook.

2 min read

#10: CLI Prompts In Python

Use PyInquirer to create more interactive and user-friendly command line prompts.

5 min read

#11: Pretty Error Output In Python

Make debugging Python errors more enjoyable.

2 min read

#12: Annotating Video Clips With MoviePy

Introduce yourself to MoviePy through a simple example to add text to video.

4 min read

#13: Beautiful CLIs With The Rich Python Library

See how the Rich library for Python can make it easy to add color and style to terminal output.

4 min read

#14: Working With Regex Expressions In Python

This post will look at how the regex module in python can be used to work with regular expressions.

4 min read

#15: Exceptions In Python

An overview look at custom exceptions in Python

4 min read

#16: Datetime In Python

Learn how to work with the datetime library in Python.

4 min read

#17: Mocking Python datetime In Tests With FreezeGun

Learn how to set up reliable PyTest unit tests for the Python datetime library with FreezeGun.

5 min read

#18: Time Functionality In Python

Explore how to work with the time module from the Python Standard Library in detail.

3 min read

#19: How PyDoc Helps Your Python Development

Explore PyDoc and understand how it can improve your documentation and how to search it.

7 min read

#20: PyTest With GitHub Actions

Build off previous work on PyTest by adding a GitHub action to run PyTest in CI.

4 min read

#21: Your First Pip Package In Python

Learn how to deploy your first package to Pip in this straight-forward tutorial.

8 min read

#22: Semantic Versioning In Python With Git Hooks

Use Conventional Commits, pre-commit and Commitizen to automate your versioning based on commit messages.

6 min read

#23: Automating Pip Package Deployment With Github Actions

Learn how to use GitHub Actions to speed up your Pip package deployments to PyPi.

4 min read

#24: Generating Fake CSV Data With Python

Learn how to generate random data and export it to CSV to use in your projects.

8 min read

#25: Oil Paint Effect With OpenCV Python

Apply an oil paint effect to images in Python with OpenCV.

2 min read

#26: Python Lambda Functions Deployed With The Typescript AWS CDK

Deploy a simple Python lambda function with the TypeScript AWS CDK to LocalStack.

7 min read

#27: First Look At Supervised Learning With Classification

The 34 Days of Python series is moving into its second phase with Machine Learning. The journey will start with a first look at project setup and classification.

10 min read

#28: Measuring Classifier Model Performance

See how we can visual test the performance capability of our K-Nearest Neighbors classifier using Scikit Learn.

7 min read

#29: Regression With Scikit Learn (Part 1)

Continuing with our look into supervised learning, today we explore the basics linear regression by applying it to another Scikit Learn toy dataset.

4 min read

#30: Regression With Scikit Learn (Part 2)

In second blog post on linear regression, we take what we learned in part one and look deeper into the basics of linear regression and applying a train-test-split to our data.

5 min read

#31: Regression With Scikit Learn (Part 3)

In part three, we look at using k-fold cross-validation to prevent dependency on a particular train/test split.

4 min read

#32: Regression With Scikit Learn (Part 4)

In our final coverage of regression using SciKit Learn, we look at how we can use regression with regularization.

5 min read

#33: 5 Handy Python Tips For Beginners

After 30+ days of my 100 day Python journey, I stop to reflect on the five tips that have been unusual by helpful coming into the language.

4 min read

#34: Python Decorators In Action

An overview on Python higher-order functions, decorators and some practical examples for when decorators can be used.

5 min read

Dennis O'Keeffe

2020-present Dennis O'Keeffe.

All Rights Reserved.