The Teclado Blog

The @property decorator in Python

The property decorator allows us to define methods that act as attributes in Python classes. This simplifies using the objects, and extends what we can do when getting and setting attribute values.

How to simplify long if statements in Python

When Python if statements grow, they become difficult to work with. Learn how to simplify them using match-case and dictionaries in this post!

How to Add API Key Authentication to a Flask app

Learn how to add API key authentication to your Flask apps using Flask-RESTful and SQLAlchemy.

Changes to async event loops in Python 3.10

Python 3.10 deprecated a frequently-used function in the asyncio library. In this post we explain what the new best practice is and how to change your code to use it.

Using "match...case" in Python 3.10

Learn about the new "match...case" syntax in Python 3.10, and how you can use it with a bunch of examples!

The Teclado Blog © 2026