The Best Way to Share Code Between Python Apps

Veröffentlicht am: 24 Oktober 2025
auf dem Kanal: ArjanCodes
44,107
1.7k

✅ 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


Auf dieser Seite können Sie das Online-Video The Best Way to Share Code Between Python Apps mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ArjanCodes 24 Oktober 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 44,107 Mal angesehen und es wurde von 1.7 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!