Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ned Batchelder: GitHub action security: zizmor

Link: https://nedbatchelder.com/blog/202410/github_action_security_zizmor.html

Zizmor is a new tool to
check your GitHub action workflows for security concerns. I found it really
helpful to lock down actions.Action workflows can be esoteric, and continuous integration is not
ev
Seth Michael Larson: How to export OPML from Omnivore

Link: https://sethmlarson.dev/how-to-export-opml-from-omnivore?utm_campaign=rss

How to export OPML from Omnivore
Real Python: Python Closures: Common Use Cases and Examples

Link: https://realpython.com/python-closure/

In Python, a closure is typically a function defined inside another function. This inner function grabs the objects defined in its enclosing scope and associates them with the inner function object it
The Python Show: 49 - EdgeDB and Python with Yury Selivanov

Link: https://www.pythonshow.com/p/49-edgedb-and-python-with-yury-selivanov

In this episode of The Python Show Podcast, we welcome Yury Selivanov as our guest. Yury is a core CPython developer and co-founder of EdgeDB and MagicStack.We chatted about many different topics, inc
eGenix.com: PyDDF Python Herbst Sprint 2024

Link: https://www.egenix.com/company/news/PyDDF-Herbst-Sprint-2024

The following text is in German, since we're announcing a Python sprint in Düsseldorf, Germany.

Ankündigung
Python Meeting Herbst Sprint 2024 in
Düsseldorf

Samstag, 09.11.2024, 10:00-18:00 Uhr
Sonnt
John Cook: How hard is constraint programming?

Link: https://www.johndcook.com/blog/2024/10/31/how-hard-is-constraint-programming/


I’ve been writing code for the Z3 SMT solver for several months now. Here are my findings.
Python is used here as the base language. Python/Z3 feels like a two-layer programming model—declarative cod
Real Python: Quiz: Using .__repr__() vs .__str__() in Python

Link: https://realpython.com/quizzes/python-repr-vs-str/

In this quiz, you’ll test your understanding of Python’s .__repr__() and .__str__() special methods. These methods allow you to control how a program displays an object, making your classes more reada
Nick Coghlan: The origin of venvstacks

Link: https://www.curiousefficiency.org/posts/2024/11/the-origin-of-venvstacks/

There has been a longstanding gap in the Python packaging ecosystem that has
somewhat annoyed me,
but not enough to do anything about it:
we haven't really had a good way to compose multiple layers of
Real Python: The Real Python Podcast – Episode #226: PySheets: Spreadsheets in the Browser Using PyScript

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

What goes into building a spreadsheet application in Python that runs in the browser? How do you make it launch quickly, and where do you store the cells of data? This week on the show, we speak with
PyCon: Important Changes Ahead: A Commitment to Financial Transparency

Link: https://pycon.blogspot.com/2024/11/important-changes-ahead-commitment-to.html

PyCon US is the largest and longest-running annual gathering for the community using and developing the open-source Python programming language. It is produced and underwritten by the Python Software
PyCon: PyCon US 2025 Launches!

Link: https://pycon.blogspot.com/2024/11/pycon-us-2025-launches.html

We’re super excited to announce that PyCon US 2025 is back in Pittsburgh! If you missed our first time here, please check out our PyCon US 2024 recap and video recordings.We’re also excited to announc
Python Engineering at Microsoft: Python in Visual Studio Code – November 2024 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-november-2024-release/

We’re excited to announce the November 2024 release of the Python, Pylance and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

Generate docstrings with P
Hugo van Kemenade: Speed up CI with uv

Link: https://dev.to/hugovk/speed-up-ci-with-uv-53n1

We can use uv to make linting and testing on GitHub Actions around 1.5 times as fast.



Linting

When using pre-commit for linting:


name: Lint

on: [push, pull_request, workflow_dispatch]

en
Python Software Foundation: PyCon US 2025 Kicks Off: Website, CfP, and Sponsorship Now Open!

Link: https://pyfound.blogspot.com/2024/11/pycon-us-2025-kicks-off-website-cfp-and.html

Exciting news: the PyCon US 2025 conference website, Call for Proposals, and sponsorship program are open!To learn more about the location, deadlines, and other details, check out the links below:PyCo
Ned Batchelder: Coverage.py originally

Link: https://nedbatchelder.com/blog/202411/coveragepy_originally.html

Something many people don’t realize is that I didn’t write the original
coverage.py. It was written by Gareth Rees in 2001. I’ve been extending and
maintaining it since 2004. This ancient history
ca
Brett Cannon: Don't return named tuples in new APIs

Link: https://snarky.ca/dont-use-named-tuples-in-new-apis/

In my opinion, you should only introduce a named tuple to your code when you&aposre updating a preexisting API that was already returning a tuple or you are wrapping a tuple return value from another
Real Python: The Python Square Root Function

Link: https://realpython.com/python-square-root-function/

The Python square root function, sqrt(), is part of the math module and is used to calculate the square root of a given number. To use it, you import the math module and call math.sqrt() with a non-ne
Michael Foord: Adventures with MicroPython

Link: https://agileabstractions.com/micropython/


My first blog post in a few years! I have some articles I’d like to publish, and some adventures to share, so I thought it was time to
fire up a blog engine again.
My nine year old son, Benjamin, is
Michael Foord: Gigaclear One Touch Switch Service

Link: https://agileabstractions.com/gigaclear-ots/


For the last year I’ve been working as a team lead for backend API development with Gigaclear a UK rural ISP who own and run fibre internet to rural communities across the UK. This is alongside my tr
Glyph Lefkowitz: The Federation Deathmatch

Link: https://blog.glyph.im/2024/11/the-federation-deathmatch.html

It’s the weekend, and I have some Thoughts about federated social media. So,
buckle up, I guess, it’s time to start some fights.

Recently there has been some discourse about Bluesky’s latest fundrais