Sinopsis
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.
Episodios
-
#212 SQLite as a file format (like docx)
16/12/2020 Duración: 36minSponsored by us! Support our work through: Our courses at Talk Python Training Test & Code Podcast Patreon Supporters Special guest: Shari Eskenas Catch the video edition live stream on YouTube Watch on YouTube Be part of the episode by subscribing and “smashing that bell” over at pythonbytes.fm/youtube Brian #1: pytest 6.2 is out pytester fixture for plugin testing. Like testdir, but a better name, and uses pathlib.Path objects. verbose mode now shows the reason a test was skipped in the terminal line after the SKIPPED, XFAIL, or XPASS Can use monkeypatch as a context manager with .context() and it’s available both in test and fixture functions, but also in helper functions by using pytest.Monkeypatch.context(). import os from contextlib import contextmanager import pytest def test_foo_1(monkeypatch): with monkeypatch.context() as mp: mp.setenv("foo", "bar") assert os.getenv("foo") == "bar" @contextmanager def some_func(): w
-
#211 Will a black hole devour this episode?
07/12/2020 Duración: 44minSponsored by Techmeme Ride Home podcast: pythonbytes.fm/ride Special guest: Matthew Feickert Live streamed on Youtube: youtube.com/watch?v=ug3OR-BQ7Hw Brian #1: Introducing FARM Stack - FastAPI, React, and MongoDB Aaron Basset Describes a todo CRUD application, available on github, to show the concepts in action. Animated gif showing how to use the FastAPI interactive documentation to understand the API in a browser. Shows How app connects to routes and endpoints. The run call with uvicorn to get an async even loop going Connecting to a MongoDB database Defining models and how easy it is to set up a schema. Discusses routes and endpoints and how to hook up all the CRUD endpoints. The React bit is an application that changes as you modify the elements through the endpoint interactive session. Very cool way to work and get something running fast. Michael #2: py-applescript How would you like to automate your mac with Python rather than the dreadful AppleScript? py-applescript is an easy-to-use Pytho
-
#210 Analyzing Kickstarter Campaigns with Python
03/12/2020 Duración: 31minThe live stream recording on YouTube. Special guest: Jay Miller Sponsored by us! Support our work through: Our courses at Talk Python Training Test & Code Podcast Patreon Supporters Brian #1: Analyzing Kickstarter Campaigns with Python Data Science Tools Article title: “Kickstarter Projects — Do They Succeed?” Aditya Patkar Using a Kaggle dataset of 378,661-ish projects up to 2018. Looks at using pandas data frames to explore the data. Using .describe() data frame method to learn a lot. Uses matplotlib and seaborn to analyze the data further. Odd statement that I’m not sure is straight faced or a really dry joke: “The data from 1970 seems to be bad or insignificant data.” Examples of using heat maps, line graphs, bar charts, to look at different aspects. Some results: 35.64% of projects are successful (meaning goal hit) tech asks for the most for goals, and has the highest average per backer. Comics has the lowest pledged amount per backer average. Nice that you can use the techniques to ask yo
-
#209 JITing Python with .NET, no irons in sight
27/11/2020 Duración: 33minSponsored by us! Support our work through: Our courses at Talk Python Training Test & Code Podcast Patreon Supporters Michael #1: Running Python on .NET 5 by Anthony Shaw Talked about pyjion way back when on episode 49 with Brett Cannon. .NET 5 was released on November 10, 2020. It is the cross-platform and open-source replacement of the .NET Core project and the .NET project that ran exclusively on Windows since the late 90’s. See the conference about it if you want to go deeper. Performance: I just saw a SO post about someone complaining their Python was 31x slower than C#. The most common way around this performance barrier is to compile Python extensions from C or using something like Cython. .NET 5 CLR comes bundled with a performant JIT compiler (codenamed RyuJIT) that will compile .NETs IL into native machine instructions on Intel x86, x86-64, and ARM CPU architectures. Pyjion is a project to replace the core execution loop of CPython by transpiling CPython bytecode to ECMA CIL and then using
-
#208 Dependencies out of control? Just pip chill.
19/11/2020 Duración: 30minSee the full show notes for this episode on the website at pythonbytes.fm/208.
-
#207 FastAPI as a web platform (not just APIs)
13/11/2020 Duración: 33minSee the full show notes for this episode on the website at pythonbytes.fm/207.
-
#206 Python dropping old operating systems is normal!
08/11/2020 Duración: 42minSee the full show notes for this episode on the website at pythonbytes.fm/206.
-
#205 This is going to be a little bit awkward
31/10/2020 Duración: 34minSee the full show notes for this episode on the website at pythonbytes.fm/205.
-
#204 Take the PSF survey and Will & Carlton drop by
23/10/2020 Duración: 40minSee the full show notes for this episode on the website at pythonbytes.fm/204.
-
#203 Scripting a masterpiece for Python web automation
16/10/2020 Duración: 40minSee the full show notes for this episode on the website at pythonbytes.fm/203.
-
#202 Jupyter is back in black!
09/10/2020 Duración: 33minSee the full show notes for this episode on the website at pythonbytes.fm/202.
-
#201 Understand git by rebuilding it in Python
02/10/2020 Duración: 40minSee the full show notes for this episode on the website at pythonbytes.fm/201.
-
#200 No dog-piling please (it's episode 200!)
25/09/2020 Duración: 32minSee the full show notes for this episode on the website at pythonbytes.fm/200.
-
#199 Big news for a very small Python runtime
17/09/2020 Duración: 29minSee the full show notes for this episode on the website at pythonbytes.fm/199.
-
#198 There's a beaver in your database and Anna-Lena drops by
11/09/2020 Duración: 34minSee the full show notes for this episode on the website at pythonbytes.fm/198.
-
#197 Structured concurrency in Python
05/09/2020 Duración: 36minSee the full show notes for this episode on the website at pythonbytes.fm/197.
-
#196 Version your SQL schemas with git + automatically migrate them
27/08/2020 Duración: 31minSee the full show notes for this episode on the website at pythonbytes.fm/196.
-
#195 Runtime type checking for Python type hints
18/08/2020 Duración: 33minSee the full show notes for this episode on the website at pythonbytes.fm/195.
-
#194 Events and callbacks in the Python language!
10/08/2020 Duración: 28minSee the full show notes for this episode on the website at pythonbytes.fm/194.
-
#193 Break out the Django testing toolbox
06/08/2020 Duración: 34minSee the full show notes for this episode on the website at pythonbytes.fm/193.