The Best Way to Share Code Between Python Apps
✅ Learn how to build robust and scalable software architecture: https://arjan.codes/checklist. In this video, I show you how to use uv workspaces to manage multiple Python apps—like a CLI tool and a FastAPI app—with shared dependencies and shared logic. You’ll learn how to structure a real-world project that fetches and summarizes headlines using OpenAI, while avoiding duplicated lockfiles, conflicting environments, and messy imports. 🔥 GitHub Repository: https://git.arjan.codes/2025/workspaces. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:48 CLI and Fastapi App Without Any Workspace 3:27 Introduce the Global pyproject.toml 7:32 Extract Shared Logic to a Local Package 13:04 Adding Another Package 15:41 Extensibility 16:20 When Should You Use Workspaces? 17:58 Final Thoughts #arjancodes #softwaredesign #python

The Right Way to Use AI for Writing Maintainable Code

Retry Pattern: The Secret to Resilient Python Code

This Tool Replaces pip, Poetry, pyenv, and More (It’s Fast)

Things (Almost) No One Thinks About When Designing Functions in Python

Can a Small Local AI Model Do Real Work? Python + Ollama Agent Template

SQLAlchemy vs SQLModel: Which Should You Use?

10 Python Anti-Patterns That Are Breaking Your Code

I Hacked This Temu Router. What I Found Should Be Illegal.

Charlie Marsh: uv: An Extremely Fast Python Package Manager

I Re-Created A Quant Trading Strategy With Claude Code (Insanely Cool)

Anatomy of a Scalable Python Project (FastAPI)

Why Your Code Isn’t Pythonic (And How to Fix It)

15 Python Libraries You Should Know About

From Spaghetti Code to Clean Python

Every Programmer Should Know These 3 Languages (No, NOT Python!)

Stop Overwriting State And Use Event Sourcing Instead

Build Production-Ready AI Agents in Python with Pydantic AI

Fix Your Broken Python Setup in VSCode (Once and For All)

What does '__init__.py' do in Python?

