Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python⇒Speed: Let’s optimize! Running 15× faster with a situation-specific algorithm

Link: https://pythonspeed.com/articles/lets-optimize-median-local-threshold/

pre {
white-space: pre;
overflow-x: auto;
font-size: 80%;
}


Let’s speed up some software! Our motivation: we have an image, a photo
of some text from a book. We want to turn it into a 1-
Real Python: The Real Python Podcast – Episode #206: Building Python Unit Tests & Exploring a Data Visualization Gallery

Link: https://realpython.com/podcasts/rpp/206/

How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch o
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-may-2024/?utm_source=python-rss-feed

54th issue of Andrei Neagoie's must-read monthly Python Newsletter: Python Security Best Practices, State of Python 2024, Prompt Engineering, and much more. Read the full newsletter to get up-to-date
Matt Layman: About, FAQ, and Home Page - Building SaaS with Python and Django #192

Link: https://www.mattlayman.com/blog/2024/about-faq-and-home-page-building-saas-with-python-and-django-192/

In this episode, we worked on some core pages to round out the JourneyInbox user interface. This led us to work updating UI layout, writing copy, and doing other fundamentals for making templated page
Zato Blog: New API Integration Tutorial in Python

Link: https://zato.io/en/blog/api-integration-tutorial.html


New API Integration Tutorial in Python


2024-06-02, by Dariusz Suchojad


Do you know what
airports,
telecom operators,
defense forces
and
health care organizations
have in common?
They all rely h
Robin Wilson: Introducing pyAURN – a Python package for accessing UK air quality data

Link: https://blog.rtwilson.com/introducing-pyaurn-a-python-package-for-accessing-uk-air-quality-data/

I realised recently that I’d never actually blogged about my pyAURN package – so it’s about time that I did.
When doing some freelance work on air quality a while back, I wanted an easy way to access
Real Python: Quiz: String Interpolation in Python: Exploring Available Tools

Link: https://realpython.com/quizzes/python-string-interpolation/

Test your understanding of Python’s tools for string interpolation, including f-strings, the .format() method, and the modulo operator.
Take this quiz after reading our String Interpolation in Python:
PyCharm: The State of Django 2024

Link: https://blog.jetbrains.com/pycharm/2024/06/the-state-of-django/

Are you curious to discover the latest trends in Django development?
In collaboration with the Django Foundation, PyCharm surveyed more than 4,000 Django developers from around the globe and analyzed
Mike Driscoll: Python Logging Book Released!

Link: https://www.blog.pythonlibrary.org/2024/06/03/python-logging-book-released/

The latest Python book from Michael Driscoll is now out. You can get Python Logging today on any of your favorite platforms!  The Kindle version of the book is only 99 cents for a limited time!
What d
Real Python: String Interpolation in Python: Exploring Available Tools

Link: https://realpython.com/python-string-interpolation/

String interpolation allows you to create strings by inserting objects into specific places in a target string template. Python has several tools for string interpolation, including f-strings, the str
Python Morsels: Python's many command-line utilities

Link: https://www.pythonmorsels.com/cli-tools/

Every command-line tool included with Python. These can be run with python -m module_name.


Table of contents

How -m works
General-purpose CLI tools
Especially handy on Windows machines
Working with
Test and Code: 221: How to get pytest to import your code under test

Link: https://podcast.pythontest.com/episodes/221-how-to-get-pytest-to-import-your-code-under-test

We've got some code we want to test, and some tests.The tests need to be able to import the code under test, or at least the API to it, in order to run tests against it.How do we do that? How do we se
TestDriven.io: Storing Django Static and Media Files on DigitalOcean Spaces

Link: https://testdriven.io/blog/django-digitalocean-spaces/

This tutorial shows how to configure Django to load and serve up static and media files, public and private, via DigitalOcean Spaces.
Python Bytes: #386 Major releases abound

Link: https://pythonbytes.fm/episodes/show/386/major-releases-abound

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><a href="https://numpy.org/news/#numpy-20-release-date-june-16"><strong>NumPy 2.0 release date is June 16</strong></a></li>
<li><a href=
PyCoder’s Weekly: Issue #632 (June 4, 2024)

Link: https://pycoders.com/issues/632

#632 – JUNE 4, 2024 View in Browser » What’s a Python Hashable Object? You can ignore reading about hashable objects for quite a bit. But eventually, it’s worth having an idea of what they are.
Armin Ronacher: Your Node is Leaking Memory? setTimeout Could be the Reason

Link: http://lucumr.pocoo.org/2024/6/5/node-timeout

This is mostly an FYI for node developers. The issue being discussed in
this post has caused us
quite a bit of pain.
It has to do with how node deals with timeouts. In short: you can
very easily cre