The Teclado Blog
  • Start Learning Python
  • Courses

->Kickstart your coding journey|

All Posts • 30 Days of Python • Coding Interview Problems • Flask • GUI Development • Learn Python Programming • Python Snippets • REST APIs • Understanding the Console • Web Development
How to deploy Flask and MongoDB to Render
REST APIs

How to deploy Flask and MongoDB to Render

In this post we show you how to deploy your Flask and MongoDB app for free to Render.com and MongoDB Atlas.

    Jose Salvatierra
    4 min read · Feb 27
How to customise pages and emails of Flask-Security-Too
Web Development

How to customise pages and emails of Flask-Security-Too

When you add login, signup, or other features with Flask-Security-Too, you get some unstyled plain HTML pages. Learn how to customise and style them in this article.

    Jose Salvatierra
    13 min read · Feb 20
User email confirmations with Flask-Security-Too
Flask

User email confirmations with Flask-Security-Too

Requiring user confirmation via email is traditionally not a simple thing to do. Flask extension Flask-Security-Too makes it much simpler.

    Jose Salvatierra
    4 min read · Feb 13
Query string arguments in REST APIs with Flask
Flask

Query string arguments in REST APIs with Flask

Query string arguments allow clients to send us extra data in the URL. Learn how to access query string arguments in a plain Flask route and in a Flask-Smorest API.

    Jose Salvatierra
    3 min read · Feb 6
User authentication in Flask with Flask-Security-Too
Flask

User authentication in Flask with Flask-Security-Too

Learn how to easily add user login and signup to any Flask app using the popular extension Flask-Security-Too!

    Jose Salvatierra
    5 min read · Jan 30
New Free Course: FastAPI for Beginners
REST APIs

New Free Course: FastAPI for Beginners

We've finally published our latest course: FastAPI for Beginners. It's a free course to help you get started with FastAPI.

    Jose Salvatierra
    1 min read · Dec 20
How to use pyenv to manage Python versions
Learn Python Programming

How to use pyenv to manage Python versions

If you need to install multiple Python versions, going the ol' installer route isn't the best idea. In this article I show you how I manage multiple Python versions, using pyenv.

    Jose Salvatierra
    3 min read · Nov 28
Create JWTs using Python for Flask or FastAPI
REST APIs

Create JWTs using Python for Flask or FastAPI

Learn how to create JWTs for authentication using either Flask or pure Python (for use in FastAPI and other frameworks).

    Jose Salvatierra
    3 min read · Nov 2
How to run tasks periodically in Render.com
Learn Python Programming

How to run tasks periodically in Render.com

Have you ever had to run some code every hour, or every day, or every week? In this article I'll show you how to set it up, to run in the cloud, very easily!

    Jose Salvatierra
    3 min read · Oct 24
How to upload files to Backblaze B2 using Python
Learn Python Programming

How to upload files to Backblaze B2 using Python

If your web app handles user uploads, you need a place to store the files. This article shows you how to set up Backblaze B2, a cloud storage service, to store any uploaded files using Python.

    Jose Salvatierra
    8 min read · Oct 20
Exploring Python Task Queues: Celery and rq
REST APIs

Exploring Python Task Queues: Celery and rq

An overview of how task queues work and how to set up an rq task queue and background worker using Redis. With examples.

    Jose Salvatierra
    3 min read · Oct 13
How to deploy your first REST API with Flask for free
REST APIs

How to deploy your first REST API with Flask for free

Deploying a Flask app makes it available to everyone on the internet, so it's what you need to do to share your projects. In this post we'll show you how to do it using two different providers.

    Luka Milivojevic
    7 min read · Oct 6
How to handle file uploads with Flask
Flask

How to handle file uploads with Flask

Uploading files is tricky! In this post we show you two ways: a simple and a less simple, depending on your needs.

    Jose Salvatierra
    9 min read · Sep 27
Time Complexity and BigO Notation explained with Python
Learn Python Programming

Time Complexity and BigO Notation explained with Python

Understanding time complexity and BigO notation helps us write better and more efficient algorithms. In this post we explain the different time complexities with Python examples!

    Burak Üren
    6 min read · Sep 5
Python lists: remove() vs pop()
Learn Python Programming

Python lists: remove() vs pop()

To remove items from a list we can use remove() or pop(). They behave slightly differently, so let's take a look!

    Luka Milivojevic
    4 min read · Aug 24
Build your first REST API with Flask and PostgreSQL
REST APIs

Build your first REST API with Flask and PostgreSQL

Learn to build a REST API to collect, aggregate, and serve temperature data using Flask and PostgreSQL!

    2
    Jose Salvatierra / Luka Milivojevic
    12 min read · Aug 18
The @property decorator in Python
Learn Python Programming

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.

    Jose Salvatierra
    6 min read · May 12
How to simplify long if statements in Python
Learn Python Programming

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!

    Jose Salvatierra
    3 min read · Apr 29
Basics of Python a Beginner Should Know - Part 1
Learn Python Programming

Basics of Python a Beginner Should Know - Part 1

Learn some of the main building blocks of Python in this post! Including indentation, comments, operators, and conditionals.

    Saurav Jain
    6 min read · Apr 20
How to Add API Key Authentication to a Flask app
REST APIs

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.

    Jose Salvatierra
    4 min read · Mar 17
Changes to async event loops in Python 3.10
Learn Python Programming

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.

    Jose Salvatierra
    1 min read · Mar 3
Using "match...case" in Python 3.10
Learn Python Programming

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!

    Jose Salvatierra
    5 min read · Feb 23
Introduction to Object-Oriented Programming in Python
Learn Python Programming

Introduction to Object-Oriented Programming in Python

Object-Oriented Programming can be very confusing. In this post we explain it from the ground up, using examples, to show you how and when to use it.

    Vlad Dragusanu
    14 min read · Dec 6
Build a blog platform with Flask: writing and showing posts
Flask

Build a blog platform with Flask: writing and showing posts

Part 1 of this series to guide you through building a blog using Flask and Python! In this post you'll learn how to start your Flask app, set up a database, and create posts.

    Jose Salvatierra
    9 min read · Sep 21
Dictionary Merge and Update Operators in Python 3.9
Learn Python Programming

Dictionary Merge and Update Operators in Python 3.9

Python 3.9 introduced two new operators for dictionary merging and updating. Learn more about them, as well as other places where you can use them!

    Vlad Dragusanu
    6 min read · May 4
The Teclado Blog © 2023
Privacy Policy