SQLModel is a library that lets you interact with databases through Python code with Python objects and type annotations instead of writing direct SQL queries. Created by the same author of the extremely popular framework FastAPI, it aims to make interacting with SQL DBs in Python easier and elegant, with data validation and IDE support,… Continue reading From SQL to SQLModel: A Cleaner Way to Work with Databases in Python
Articles on uv
Case Study: Developing and Testing Python Packages with uv
By Michael Aydinbas on 24 March 2025
Structuring Python projects properly, especially when developing packages, can often be confusing. Many developers struggle with common questions: To help clarify these common challenges, I’ll show how I typically set up Python projects and organise package structures using the Python package and environment manager, uv. The challenge A typical and recurring problem in Python is… Continue reading Case Study: Developing and Testing Python Packages with uv
NLP Made Easy: How We Prioritize Exercise Improvements with a Few Lines of Code
By Bob Belderbos on 20 February 2025
We highly appreciate user feedback for continuous improvement. With hundreds of Bite exercises and thousands of reviews, itβs easy to get overwhelmed by the data. π± How do you uncover insights from this sea of feedback? Use code! π Enter TextBlob, a Python library that abstracts away the complexities of Natural Language Processing (NLP). This… Continue reading NLP Made Easy: How We Prioritize Exercise Improvements with a Few Lines of Code
Create Project-Less Python Utilities with uv and Inline Script Metadata
By Bob Belderbos on 17 January 2025
The other day I wanted to demo the Google Books API (we use for Pybites Books) to somebody so I started to write some code on the fly to call its endpoints using httpx. Then I thought it would be nice to turn it into a small script to search for books and view details… Continue reading Create Project-Less Python Utilities with uv and Inline Script Metadata
Creating a Fitness Tracker App with Python Reflex
By Bob Belderbos on 16 January 2025
In this post, I will build a simple fitness tracker app using Python Reflex. Reflex is a Python library that allows you to create reactive applications using a functional and declarative approach. We will use Reflex to create a simple fitness tracker app that allows you to log the amount of workouts completed per week.… Continue reading Creating a Fitness Tracker App with Python Reflex
