๐Ÿ” / #software / #tutorial / #python

Uploading Files Using FastAPI: A Complete Guide to Secure File Handling

#FastAPI has changed how developers build web APIs. It's fast, easy to use, and handles complex tasks like file uploads without the usual headaches. File uploading is crucial for modern web apps, but developers often mess it up. They create security holes or build systems that frustrate users.

๐Ÿฑ๐Ÿ”— https://laravista.altervista.org/CatLink/links/451

#catlink #softwaretutorial

Uploading Files Using FastAPI: A Complete Guide to Secure File Handling

FastAPI has changed how developers build web APIs. It's fast, easy to use, and handles complex tasks like file uploads without the usual headaches. File uploading is crucial for modern web apps, but developers often mess it up. They create security holes or build systems that frustrate users. FastAPI gives you the tools to do it right.

HTML Web Components: An Example

Writing about the big beautiful mess that is making things for the world wide web.

LIMIT vs. FETCH in SQL

According to the standard, we should use be using FETCH.

Building a blog in Django

We launched the Datasette Cloud blog today. The Datasette Cloud site itself is a Django app - it uses Django and PostgreSQL to manage accounts, teams and soon billing and payments, then launches dedicated containers running Datasette for each customer.

Building a Mastodon AI Bot

Last weekend I decided I wanted to learn how to use the OpenAI API to create an AI chat bot that ran on Mastodon. When I started I had se...

Writing a C compiler in 500 lines of Python

Blog about linguistics, programming, and my projects

Zero Downtime Deployments with Laravel Forge (free edition)

This tutorial demonstrates how anyone can implement zero-downtime deployments when using Forge without using Laravel Envoyer. To do that we will use Laravel Envoy, a tool that helps setup tasks durโ€ฆ

Build a Cross-Platform CLI with Deno in 5 minutes

Here's how Deno's built-in tools and APIs make it easy to build a CLI and distribute it to all major platforms.

Build Robust Continuous Integration With Docker and Friends โ€“ Real Python

In this tutorial, you'll use Docker and GitHub Actions to build a robust continuous integration pipeline for a multi-container web application consisting of Flask and Redis. Along the way, you'll learn how to dockerize a Python web application.