Learning how to package your code can seem overwhelming. This complete 52 minute conversation takes you through the steps one at a time, using modern best practices.
In this Code Conversation, you’ll follow a chat between Ian and Geir Arne demonstrating the relatively new, officially sanctioned way of setting up your Python projects using a pyproject.toml file and installing your package with pip. This offers nice benefits, such as:
Being able to call your project from anywhere
Playing on the same team as the import system
Allowing for consistent imports
Having one file that’ll work for many build systems
This is the complete conversation but the course is hosted here, if you want to learn more or find additional resources:
https://realpython.com/courses/packag...
And you'll learn how to:
Structure files and folders in your project
Understand different ways to run your script
Explore how the import system works
Explore the Python packaging world
Write a pyproject.toml file to configure your package
Install your pacakge with pip
En esta página del sitio puede ver el video en línea Packaging Your Python Code With pyproject.toml | Complete Code Conversation de Duración hora minuto segunda en buena calidad , que subió el usuario Real Python 24 noviembre 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 63,146 veces y le gustó 1.6 mil a los espectadores. Disfruta viendo!