✅ 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
In questa pagina del sito puoi guardare il video online The Best Way to Share Code Between Python Apps della durata di ore minuti seconda in buona qualità , che l'utente ha caricato ArjanCodes 24 ottobre 2025, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 44,107 volte e gli è piaciuto 1.7 mille spettatori. Buona visione!