The Best Way to Share Code Between Python Apps
About
No channel description available.
Latest Posts
Video Description
✅ 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 🔖 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
Python Dev Essentials
AI-recommended products based on this video

Visual Beat 17.3'' 4K Portable Touchscreen Monitor, UHD 500Nits 100% AdobeRGB IPS HDR Travel Display, USB, Type-C & HDMI, Dual Speakers, VESA & Smart Cover - for Laptop PC Phone PS4/5 Xbox etc.



















