Media Summary: today I show a useful technique for zipped code in today I talk about the __import__ builtin in today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ...

Python Can Import From Zips Intermediate Anthony Explains 397 - Detailed Analysis & Overview

today I show a useful technique for zipped code in today I talk about the __import__ builtin in today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ... today I talk about dist-packages / site-packages and the reasons debian has for separating the two playlist: ... today I show how to use backported libraries and how to set up your setup.py / setup.cfg to conditionally install those packages! today I show how to use importlib.metadata + setuptools entrypoints to build a small plugin system! playlist: ...

Today I show how to implement an argparse --version option using importlib.metadata (new in today I show how to ignore noisy diffs in large vendored or generated files! playlist: ... today I talk about the __future__ module (not to be confused with the future module!) and how it affects execution in today I talk about an all-too-common problem when typing code: circular today I go over a basic setup.py for packaging a

Photo Gallery

python can import from zips! (intermediate) anthony explains #397
from imports aren't faster! (beginner - intermediate) anthony explains #398
importing non-module python files (intermediate) anthony explains #309
python: explicit relative imports (intermediate) anthony explains #298
using the python __import__ builtin correctly (intermediate) anthony explains #064
my python project setup (+ all tools) (intermediate) anthony explains #396
recursively import python modules (intermediate) anthony explains #372
how do from imports keep their globals? (intermediate) anthony explains #471
python dist-packages vs. site-packages (intermediate) anthony explains #108
how to use python backports + setup.py (intermediate) anthony explains #428
python star imports (beginner - intermediate) anthony explains #061
python: zip and unzip (intermediate) anthony explains #511
View Detailed Profile
python can import from zips! (intermediate) anthony explains #397

python can import from zips! (intermediate) anthony explains #397

today I show a useful technique for zipped code in

from imports aren't faster! (beginner - intermediate) anthony explains #398

from imports aren't faster! (beginner - intermediate) anthony explains #398

I often hear the assertion that

importing non-module python files (intermediate) anthony explains #309

importing non-module python files (intermediate) anthony explains #309

today I show how to

python: explicit relative imports (intermediate) anthony explains #298

python: explicit relative imports (intermediate) anthony explains #298

today I talk about explicit relative

using the python __import__ builtin correctly (intermediate) anthony explains #064

using the python __import__ builtin correctly (intermediate) anthony explains #064

today I talk about the __import__ builtin in

my python project setup (+ all tools) (intermediate) anthony explains #396

my python project setup (+ all tools) (intermediate) anthony explains #396

today I go over all the tools I use to set up my projects, as well as the differences between 1-file libraries, multi-file libraries, and ...

recursively import python modules (intermediate) anthony explains #372

recursively import python modules (intermediate) anthony explains #372

today I show how to recursively

how do from imports keep their globals? (intermediate) anthony explains #471

how do from imports keep their globals? (intermediate) anthony explains #471

today I show how

python dist-packages vs. site-packages (intermediate) anthony explains #108

python dist-packages vs. site-packages (intermediate) anthony explains #108

today I talk about dist-packages / site-packages and the reasons debian has for separating the two playlist: ...

how to use python backports + setup.py (intermediate) anthony explains #428

how to use python backports + setup.py (intermediate) anthony explains #428

today I show how to use backported libraries and how to set up your setup.py / setup.cfg to conditionally install those packages!

python star imports (beginner - intermediate) anthony explains #061

python star imports (beginner - intermediate) anthony explains #061

today I talk about star

python: zip and unzip (intermediate) anthony explains #511

python: zip and unzip (intermediate) anthony explains #511

today I talk about

a python plugin system via entrypoints (intermediate) anthony explains #128

a python plugin system via entrypoints (intermediate) anthony explains #128

today I show how to use importlib.metadata + setuptools entrypoints to build a small plugin system! playlist: ...

implementing --version with importlib.metadata (intermediate) anthony explains #041

implementing --version with importlib.metadata (intermediate) anthony explains #041

Today I show how to implement an argparse --version option using importlib.metadata (new in

NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

NEW generic / alias syntax for python 3.12 (PEP 695) (intermediate) anthony explains #561

today we go over the new syntax added in

sort your imports! (beginner - intermediate) anthony explains #085

sort your imports! (beginner - intermediate) anthony explains #085

today I talk about how and why I sort my

hiding big noisy git diffs (intermediate) anthony explains #391

hiding big noisy git diffs (intermediate) anthony explains #391

today I show how to ignore noisy diffs in large vendored or generated files! playlist: ...

python __future__ "module" (beginner - intermediate) anthony explains #055

python __future__ "module" (beginner - intermediate) anthony explains #055

today I talk about the __future__ module (not to be confused with the future module!) and how it affects execution in

typing: dealing with import cycles (beginner - intermediate) anthony explains #214

typing: dealing with import cycles (beginner - intermediate) anthony explains #214

today I talk about an all-too-common problem when typing code: circular

python packaging: basic setup.py and declarative metadata (intermediate) anthony explains #057

python packaging: basic setup.py and declarative metadata (intermediate) anthony explains #057

today I go over a basic setup.py for packaging a