RUVIDEO
Поделитесь видео 🙏

Package Python Code With pyproject.toml & Listing Files With pathlib | Real Python Podcast #136

How do you start packaging your code with `pyproject.toml`? Would you like to join a conversation that gently walks you into setting up your Python projects to share? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects.

? Links from the show: https://realpython.com/podcasts/rpp/136/

We discuss a recent code conversation featuring Real Python team members Ian Currie and Geir Arne Hjelle. The video dives into the officially sanctioned way to configure your project using a `pyproject.toml` file. We cover how this relatively new method will help you package your code for use on your system or for sharing with others.

Christopher shares a Real Python tutorial about using `pathlib` to get a list of all files within a directory. We are both fans of `pathlib` and how it simplifies working with file paths. The tutorial digs into methods to recursively list all directory contents or create a conditional listing.

We share several other articles and projects from the Python community, including an explanation of Python bytecode, why always to use `[closed, open)` intervals, a discussion about building the monolith before microservices, parsing natural language time and date expressions, and a project for posting on Mastodon.

Topics:

- 00:00:00 -- Introduction
- 00:02:30 -- Always Use `[closed, open)`Intervals
- 00:07:05 -- Everyday Project Packaging With `pyproject.toml`
- 00:15:38 -- Sponsor: InfluxDB
- 00:16:27 -- How to Get a List of All Files in a Directory With Python
- 00:20:37 -- Python Bytecode Explained
- 00:29:39 -- Video Course Spotlight
- 00:30:48 -- Build the Modular Monolith First
- 00:44:34 -- toot · PyPI
- 00:49:58 -- quickadd: Parse Natural Language Time and Date Expressions
- 00:53:09 -- Thanks and goodbye

? Links from the show: https://realpython.com/podcasts/rpp/136/

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Package Python Code With pyproject.toml & Listing Files With pathlib | Real Python Podcast #136», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.