An unbiased evaluation of Python packaging tools - Talk Python to Me Ep.436

  Рет қаралды 1,815

Talk Python

Talk Python

9 ай бұрын

How well do you know your Python packaging tools? These are things like pip which install your project's dependencies and their dependencies and so on. In this mix, we have more modern tools such as Poetry, Flit, Hatch and others. And even tools outside of Python itself which may attempt to manage Python itself in addition to the libraries. To make sense of all of this, we welcome back Anna-Lena Popkes for an unbiased evaluation of environment and packaging tools.
▬▬▬▬ About the podcast ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
This video is the uncut, live recording of the Talk Python To Me podcast ( talkpython.fm ). We cover Python-focused topics every week and publish the edited and polished version in audio form. Subscribe in your podcast player of choice (100% free) at talkpython.fm/subscribe.
▬▬▬▬ Guests ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Anna-Lena's website: alpopkes.com
Anna-Lena on GitHub: github.com/zotroneneis
Accompanying Blog Post: alpopkes.com/posts/python/pac...
Talk from PyCon DE: • Anna-Lena Popkes: An u...
Talk from EuroPython: • An unbiased evaluation...
▬▬▬▬ Links and resources from the show ▬▬▬▬▬▬▬▬▬▬▬▬
Rye: github.com/mitsuhiko/rye
Poetry: python-poetry.org/
Material for MkDocs: squidfunk.github.io/mkdocs-ma...
100 Days of Python in a Magical Universe Episode: talkpython.fm/episodes/show/1...
pip-tools: pip-tools.readthedocs.io/en/l...
Hatch: hatch.pypa.io/latest/
PDM: pdm.fming.dev/latest/
Flit: flit.pypa.io/en/stable/
Conda: docs.conda.io/en/latest/
Pipenv: pipenv.pypa.io/en/latest/
Listen this episode on Talk Python: talkpython.fm/episodes/show/4...
Episode transcripts: talkpython.fm/episodes/transc...
▬▬▬▬ Dive deeper ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Listen to the Talk Python To Me podcast at talkpython.fm Over 250 hours of Python courses at training.talkpython.fm/courses Follow us on on Mastodon. Michael: fosstodon.org/@mkennedy & Talk Python fosstodon.org/@talkpython

Пікірлер: 9
@NostraDavid2
@NostraDavid2 16 күн бұрын
Rye uses uv from Astral, instead of classic pip-tools nowadays. Heck, Rye has been taken over by Astral (with the blessings of its creator). Besides uv it also uses Ruff for formatting and linting.
@LewisCowles
@LewisCowles 8 ай бұрын
pip can support package hashes, so it can be used for locking, if you so desire. Because of site-packages, I don't feel like lock-files are as useful
@sillybuttons925
@sillybuttons925 9 ай бұрын
I feel like there was not enough discussion on virtualenv and setuptools.
@not_a_human_being
@not_a_human_being 9 ай бұрын
this all should be prefixed by "if you're beginner - stick with conda". I know you guys don't like it, but it's good for most beginner/lower-intermediate user-groups. Otherwise "pipenv". And if you know really what you're doing you should go further. As for python version - that shouldn't concern you, UNLESS you're writing a package that you intend to publish. Stop mixing it all together, stop scaring beginners - python is an amazing language that will continue to dominate, but these "tables" they really missing the point. It's really question of how your code will be used: - locally - you'll create a report and that's that - api - you'll be running it yourself on a server - package - you'll be shipping it via PyPI or something for other people to use The further down this list you go the better you need to understand your package management.
@antlister
@antlister 8 ай бұрын
This is good advice.
@NostraDavid2
@NostraDavid2 16 күн бұрын
I think most beginner cases would work fine with python, pip and a requirements file. It's simple, literally anyone can use it, and there's enough information out there. If you want a modern Project Manager that doesn't break things every other version (looking at you, Poetry) then Rye is the way to go. It's all in one, and handles Python versions for you (which is such a breather). Oh, and it's fast (written in Rust, BTW 🦀), uses uv instead of pip, and Ruff instead of black, flake8, pylint, isort, and a bunch others.
@DreamsAPI
@DreamsAPI 9 ай бұрын
Hi, links to the article?
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 13 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 4,4 МЛН
Pandas - History and Future - Talk Python to Me Ep.462
1:07:34
Talk Python
Рет қаралды 1,5 М.
A fresh take on monorepos in Python
36:24
Six Feet Up
Рет қаралды 1,8 М.
11ty TSX Choices React
7:07
Paul Everitt
Рет қаралды 18
Lets discuss some Programming Jobs...
10:44
projectMaria
Рет қаралды 167 М.
Python Trends Episode 2024 - Talk Python Live Stream
1:09:56
Talk Python
Рет қаралды 705
Running on Rust: Granian Web Server - Talk Python to Me Ep.463
1:18:50
my python project setup (+ all tools) (intermediate) anthony explains #396
31:38
The AI Revolution Won't Be Monopolized - Talk Python Live Stream
1:12:59
小丑女太帅了 #小丑#shorts  #天使
0:46
好人小丑
Рет қаралды 8 МЛН
Did you believe it was real? #tiktok
0:25
Анастасия Тарасова
Рет қаралды 36 МЛН
Достали существо из под земли
0:29
RICARDO
Рет қаралды 2,2 МЛН
Такие сладости мама точно разрешит
0:22
Даша Боровик
Рет қаралды 3,1 МЛН