Packaging Your Python Code With pyproject.toml | Complete Code Conversation

Veröffentlicht am: 24 November 2022
auf dem Kanal: Real Python
63,146
1.6k

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


Auf dieser Seite können Sie das Online-Video Packaging Your Python Code With pyproject.toml | Complete Code Conversation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 24 November 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 63,146 Mal angesehen und es wurde von 1.6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!