Organize Python Projects with Poetry: Share Local Libraries Across Services

  Рет қаралды 291

Stackless Tech

Stackless Tech

Ай бұрын

Struggling to manage shared libraries in your Python microservices? This video dives deep into Poetry, a powerful package manager, to show you how to efficiently utilize local libraries across multiple projects. You'll learn how to:
- Create a clean directory structure for your services and a dedicated library folder.
- Set up virtual environments for each service using Poetry.
- Develop a reusable library with its own directory structure.
- Import and utilize the local library in your services seamlessly.
- Resolve dependency issues when working with local libraries.
- Leverage Poetry to manage shared event types across microservices for event-driven architectures (coming soon in a follow-up video).
Install Poetry: python-poetry.org/docs/#insta...
This video is perfect for Python developers working with microservices who want to streamline their development process and improve code maintainability. By the end, you'll be equipped to effectively manage shared libraries in your Python projects using Poetry.
Subscribe to Stackless Tech
#python #fastapi #docker #backend #tutorial #pythonprogramming #pythontutorial #python3 #api #development #programming #webprogramming #dockercontainer #dockertutorial #trending #learn #learning #Microservices #Poetry #PackageManager #LocalLibraries #DirectoryStructure #VirtualEnvironments #Code #Event-Driven #Architecture #edd #Kafka, #Backend #Development #Software

Пікірлер: 2
@johannesschmidt8611
@johannesschmidt8611 23 күн бұрын
How does this work if you want to build a docker image?
@stacklesstech
@stacklesstech 20 күн бұрын
It'll be pretty straightforward. Check out the video I made on Dockerizing a FastAPI Project.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 80 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 105 МЛН
Deploy FastAPI on Cloud Run for FREE: A step-by-step tutorial
5:53
Stackless Tech
Рет қаралды 16 М.
How to structure your ML project code
4:47
Real-World ML by Pau Labarta Bajo
Рет қаралды 8 М.
Deploy a Django web app to Python Anywhere in 5 Mins [FREE]
9:26
What if my Intel CPU explodes??
14:20
Paul's Hardware
Рет қаралды 48 М.
EJERCICIOS PANDA
0:37
L E G E N D
Рет қаралды 24
Making Simple Shared Object (.so) in C on Linux
5:48
Nir Lichtman
Рет қаралды 8 М.
Python Poetry in 8 Minutes
8:27
ArjanCodes
Рет қаралды 59 М.
Node.js Project Structure and Architecture Best Practices
7:38
Software Developer Diaries
Рет қаралды 26 М.