Talk Python To Me
08h00 21  octobre
287 Testing without dependencies, mocking in Python
We know our unit tests should be relatively independent from other parts of the system. For example, running a test shouldn’t generally call a credit card possessing API and talk to a database when your goal is just to test the argument validation. And yet, your method does all three of those...
08h00 16  octobre
286 Python and ML at NASA Jet Propulsion Laboratory (JPL)
NASA’s Jet Propulsion Laboratory (JPL)’s primary function is the construction and operation of planetary robotic spacecraft, though it also conducts Earth-orbit and astronomy missions. It is also responsible for operating NASA’s Deep Space Network. On this episode, you’ll meet Chris Mattman....
08h00 09  octobre
285 Dask as a Platform Service with Coiled
If you’re into data science, you’ve probably heard about Dask. It’s a package that feels like familiar APIs such as Numpy, Pandas, and Scikit-Learn. Yet it can scale that computation across CPU cores on your local machine all the way to distributed grid-based computing in large clusters. While...
08h00 04  octobre
284 Modern and fast APIs with FastAPI
As Python 3 has eclipsed the old constrains of Python 2 and web frameworks that adopted them, we have seen a big jump in new frameworks appearing on the scene taking full advantage of things like type hints, async and await, and more. No framework has done this more successfully than FastAPI...
08h00 23  septembre
283 Web scraping, the 2020 edition
Web scraping is pulling the HTML of a website down and parsing useful data out of it. The use-cases for this type of functionality are endless. Have a bunch of data on governmental sites that are only listed online in HTML without a download? There’s an API for that Do you want to keep abreast of...
08h00 17  septembre
282 pre-commit framework
Git hook scripts are useful for identifying simple issues before committing your code. Hooks run on every commit to automatically point out issues in code such as trailing whitespace and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the...
08h00 09  septembre
281 Python in Car Racing
I love to bring you stories of Python being used in amazing places outside the traditional tech silos of pure web development and data science. On this episode, you’ll meet Robert Kane Replogle, who works on the simulation and test software at Richard Childress Racing. The NASCAR team that...
08h00 05  septembre
280 Python and AI in Journalism
If there has ever been a time in history that journalism is needed to shine a light on what’s happening in the world, it’s now. Would it surprise you to hear that Python and machine learning are playing an increasingly important role in discovering and bringing us the news? On this episode, you’ll...
08h00 29  août
279 Modern Python Developer’s Toolkit
Python is quick and easy to learn. And yet, there is a massive gap between knowing the common aspects of the language (loops, variables, functions, and so on) and how to write a well-factored application using modern tools and libraries. That’s where learning Python is a never-ending journey. ...
08h00 21  août
278 Teach kids Python with real programming and fun games at Code Combat
If there is one message I’ve been pushing across all of the Talk Python episodes, it’s that programming is a superpower. Rather than all of us abandoning what we’re interested in and becoming CS majors, we can take our passion or expertise and 10x it with a little programming skill. In that...
08h00 10  août
277 10 tips every Django developer should know
We recently covered 10 tips that every Flask developer should know. But we left out a pretty big group in the Python web space: Django developers And this one is for you. I invited Bob Belderbos, who’s been running his SaaS business on Python and Django for several years now, to share his tips and...
08h00 06  août
276 Geekout: Life in the solar system and beyond
We’re back with another GeekOut episode. Richard Campbell, a developer and podcaster who also dives deep into science and tech topics, is back for our second GeekOut episode. Last time we geeked out about the real science and progress around a moon base. This time it’s why is there life on Earth,...
08h00 01  août
275 Beautiful Pythonic Refactorings
Do you obsess about writing your code just the right way before you get started? Maybe you have some ugly code on your hands and you need to make it better. Either way, refactoring could be your ticket to happier days On this episode, we’ll talk through a powerful example of iteratively...
08h00 24  juillet
274 Profiling data science code with FIL
Do you write data science code? Do you struggle loading large amounts of data or wonder what parts of your code use the maximum amount of memory? Maybe you just want to require smaller compute resources (servers, RAM, and so on). If so, this episode is for you. We have Itamar Turner-Trauring,...
08h00 18  juillet
273 CoCalc: A fully colloborative notebook development environment
Everyone in the Python space is familiar with Notebooks these days. One of the original notebook environments was SageMath. Created by William Stein, and collaborators, it began as an open-source, Python-based, computational environment focused on mathematicians. It has since grown into a full...
08h00 12  juillet
272 No IoT things in hand? Simulate them with Device Simulator Express
Python is one of the primary languages for IoT devices. With runtimes such as CircuitPython and MicroPython, they are ideal for the really small IoT chips. Maybe you’ve heard of the Circuit Playground Express, BBC micro:bit, or the fancy Adafruit CLUE. They aren’t too expensive (ranging from ...
08h00 04  juillet
271 Unlock the mysteries of time, Python’s datetime that is
Time is a simple thing, right? And working with it in Python is great. You just import datetime and then (somewhat oddly) use the datetime class from that module. Oh except, there are times with timezones, and times without. And why is there a total seconds() but not total minutes(), hours()...
08h00 25  juin
270 Python in supply chains: oil rigs, rockets, and lettuce
On this episode, we are going to weave a thread through three different areas of Python programming that at first seem unlikely to have much in common. Yet, the core will be the same throughout. I think this is a cool lesson to learn as you get deeper into programming and a great story to highlight...
08h00 19  juin
269 HoloViz - a suite of tools for Python visualization
The toolchain for modern data science can be intimidating. How do you choose between all the data visualization libraries out there? How about creating interactive web apps from those analyses? On this episode, we dive into a project that attempts to bring the whole story together: HoloViz. ...
08h00 13  juin
268 Analyzing dozens of notebook environments
Are you using interactive notebooks for your data exploration or day-to-day programming? What environment do you use? Was it Jupyter and now you’ve made the move to JupyterLab? That’s a great choice. But did you know there are more environments out there to choose from and compare? Have you heard...
08h00 06  juin
267 15 amazing pytest plugins
Do you write tests for your code? You probably should. And most of the time, pytest is the industry standard these days. But pytest can be much more than what you get from just installing it as a tool. There are many amazing plugins that improve pytest in many aspects. That’s why I invited...
08h00 29  mai
266 Refactoring your code, like magic with Sourcery
Refactoring your code is a fundamental step on the path to professional and maintainable software. We rarely have the perfect picture of what we need to build when we start writing code and attempts to over plan and overdesign software often lead to analysis paralysis rather than ideal outcomes. ...
08h00 19  mai
265 Why is Python slow?
The debate about whether Python is fast or slow is never-ending. It depends on what you’re optimizing for: Server CPU consumption? Developer time? Maintainability? There are many factors. But if we keep our eye on pure computational speed in the Python layer, then yes, Python is slow. In this...
08h00 12  mai
264 10 tips every Flask developer should know
Are you a web developer who uses Flask? It has become the most popular Python web framework. Even if you have used it for years, I bet we cover at least one thing that will surprise you and make your Flask code better. Join me as I speak with Miguel Grinberg about his top 10 list for tips and...
08h00 06  mai
263 SEO for developers
As developers and technologists, it’s easy to think that powerful and unique ideas will percolate to the top. If we build something amazing, enthusiastic users will find and share our creations. Sometimes this happens. But more often, success is an iceberg, on so many levels. We are going to...
08h00 01  mai
262 Build a career in data science
Has anyone told you that you should get into data science? Have you heard it’s a great career? In fact, data scientist is the best job in America according to Glassdoor’s 2018 rankings. That’s great. But how do you get a career in data science? Once you land that first job, how do you find the...