- Python
- Backend development
SQLAlchemy: stop calling `session.commit()`
Discover why calling `session.commit()` frequently in SQLAlchemy can lead to issues and learn the best practices for managing transactions effectively.
Discover why calling `session.commit()` frequently in SQLAlchemy can lead to issues and learn the best practices for managing transactions effectively.
Discover `pwdlib`, a modern password hash helper for Python. Learn about its goals, quickstart guide, and the vision for building a comprehensive ecosystem dedicated to user authentication.
Explore the power of `typing.Annotated` in Python, a construct that enhances type hints with additional metadata. Learn how it is revolutionizing libraries like Pydantic, FastAPI, and SQLAlchemy by providing consistent type checking and runtime information.
Discover how type hints can help you write better Python code faster. Learn about the benefits of type annotations, how to use static type checkers like `mypy`, and explore advanced type hinting techniques to improve code quality and reduce errors.
A comprehensive recipe to make Celery restart unfinished tasks after server failure.
Understand the web-queue-worker architecture to implement a service able to ingest and run expensive analysis on thousands of documents.
Let's talk about asynchronous I/O, what it is, how it works and why it's becoming a popular pattern in Python.
We demonstrate a way to develop a web interface able to communicate with a desktop client thanks to WebSockets.
Air de cour is a nearly forgotten music genre from the 16th century. We study how this genre could be of interest in the Music Information Retrieval field.