How to Create and Use Virtual Environments in Python with Poetry | Getting Started Guide
While working with python projects, it can be always tricky and confusing to manage virtual environments. Poetry is easy and use and does what it is meant to do with ease. In this video, I have explained how easily you can start building your python projects with Poetry.
Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Poetry offers a lockfile to ensure repeatable installs, and can build your project for distribution.
Poetry website: https://python-poetry.org/docs/#installing-with-the-official-installer
☕ Buy me a Coffee: https://ko-fi.com/datasciencebasics
Time stamps:
00:00 Intro
00:38 What is Python Poetry ?
01:29 Install Poetry
03:30 Create new poetry project
04:35 Create a new virtual environment
06:53 Add new packages
09:00 Update packages and dependencies
09:45 Install packages only in development environment
11:10 Poetry install command
12:30 Add poetry in an existing project
13:37 Available poetry commands
14:13 View all the virtual environments created with Poetry
15:17 Uninstall Poetry
16:07 Conclusion
Other videos you might find helpful:
Chat with any pdf: https://youtu.be/edQzdkrDRGM
Analyzing data with ChatGPT: https://youtu.be/5yGMNgUU5vQ
Create virtual environment using virtualenv pp: https://youtu.be/S96vXoPGSbs
*Youtube: https://www.youtube.com/@datasciencebasics?sub_confirmation=1
*LinkedIn: https://www.linkedin.com/in/sudarshan-koirala/
*Twitter: https://twitter.com/mesudarshan
#conda #virtualenvironment #poetry #python #datasciencebasics