Adding AI to legacy code doesn’t have to be a challenge. Many devs are hearing this right now: “We need to add AI to the app.” And for many of them, panic ensues. The assumption is that you have to rip your existing architecture down to its foundation. You start having nightmares about standing up […]
Topic Archive
Projects
-
-
From Backend to Frontend: Connecting FastAPI and Streamlit
·
·
5 min readIn my previous Pybites article, I showed how I built and deployed a book tracking API using FastAPI, Docker, and Fly.io. That project taught me a lot about backend development, containers, and deploying modern APIs. But a backend alone isn’t enough—users need an interface. And FastAPI’s Swagger UI, while useful for testing, just isn’t user-friendly […]
-
Try an AI Speed Run For Your Next Side Project
·
·
7 min readThe Problem I have for as long as I can remember had a bit of a problem with analysis paralysis and tunnel vision. If I’m working on a problem and get stuck, I have a tendency to just sit there paging through code trying to understand where to go next. It’s a very unproductive habit […]
-
FastAPI Deployment Made Easy with Docker and Fly.io
·
·
8 min readFor the PDM program I worked on a FastAPI project to track books using the Google Book API and also provide AI powered recommendations using Marvin AI. As the project came closer to deployment, I knew that I wanted to try out containerization for a reliable and repeatable way to deploy. I chose Docker due […]
-
Creating a Fitness Tracker App with Python Reflex
·
·
10 min readIn 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. […]
-
So, you’re a Python developer or you just use Python to make your life easier by writing utility scripts to automate repetitive tasks and boost your productivity.Such Python scripts are usually local to your machine, run from the command line and require some Python skills to use including for instance setting up a virtual environment […]
-
Introducing eXact-RAG: the ultimate local Multimodal Rag
·
·
5 min readExact-RAG is a powerful multimodal model designed for Retrieval-Augmented Generation (RAG). It seamlessly integrates text, visual and audio information, allowing for enhanced content understanding and generation. In the rapidly evolving landscape of the Large language model (LLM), the quest for more efficient and versatile models continues unabated. One of the latest advancements in this realm […]
-
Build a route planner for maps using Python
·
·
7 min readIn this article I use the metric system, where 1 meter = 3.28 feet. I also talk about highways. Here I use the definition in British English, where highway refers to any path with a public right of access. We are all familiar with the existence of route planners like google maps or OpenStreetMaps (OSM), […]
-
This series will be a deep dive into a Django project I developed and the thought process behind each step.