Flask Run Flask Apps with Docker Compose Learn how to Dockerize a Flask app and then run it, PostgreSQL, Redis, Celery, and Flower with Docker Compose.
Learn Python Programming VSCode for Django Development in 2024 Setting up Visual Studio Code for Django is straightforward! There are just a few extensions we recommend, and then you'll be good to go.
Web Development Run A/B Tests with PostHog and Flask Learn how to use PostHog and feature flags to run A/B tests. This lets us compare two variants and see which performs better!
Web Development Feature flags in Flask using PostHog Learn how to use PostHog feature flags in your Flask applications to change your app's behaviour in real time.
Web Development Tracking Web and Product Analytics with PostHog Product and web analytics help you build what your users want. In this article, start learning about PostHog and how to use it with Flask or Django.
Flask How to: HTML contact form with Flask and Resend Learn how to create an HTML contact form, add it to your Flask website, and have it send you an email when someone submits it!
REST APIs Build your first REST API with FastAPI Get started with FastAPI by building a time-tracking API, including database connectivity, Pydantic models, GET and POST requests, and more!
Learn Python Programming Introduction to pytest: A Beginner's Guide Add tests to your Python code with pytest. Let me show you how to write simple, effective tests!
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.
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.
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.
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.
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!
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.
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.
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).
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!
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.
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.
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.
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.
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!
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!
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!
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.