Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.
#351 A Python Empire (or MPIRE?)
September 06, 2023
00:35:23
34.16 MB
Downloads: 0
Topics covered in this episode:
- mpire
- mopup - the macOS Python.org Updater
- Immortal Objects for Python
- Common Docstring Formats in Python
- Extras
- Joke
About the show
Sponsored by Sentry: pythonbytes.fm/sentry
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
- Brian: @brianokken@fosstodon.org
- Show: @pythonbytes@fosstodon.org
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Michael #1: mpire
- A Python package for easy multiprocessing, but faster than multiprocessing
MPIRE
is faster in most scenarios, packs more features, and is generally more user-friendly than the default multiprocessing package.- Tons of features.
- Nice intro article with benchmarks.
Brian #2: mopup - the macOS Python.org Updater
- Glyph Lefkowitz
- On a mac, install Python with the standard Python.org installer.
- Then, periodically, update with
python3 -m mopup
- I just did it and went from Python 3.11.4 to 3.11.5
- See also Get Your Mac Python From Python.org for reasons to use python.org over other ways, also from Glyph.
Michael #3: Immortal Objects for Python
- Instagram has introduced Immortal Objects – PEP-683 – to Python.
Brian #4: Common Docstring Formats in Python
- Scott Robinson
- I don’t mean to disrespect Scott, but I’m honestly curious if this is really common.
- I like docstrings for the “why” of a function. And prefer type hints for types.
- Let me know what you use, at @brianokken@fosstodon.org
Extras
Brian:
- In search for a working retro Lunar Lander in Python
Michael:
Joke: It’s Bingo Time!