Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Daniel Roy Greenfeld: PyPI Project URLs Cheatsheet

Link: https://daniel.feldroy.com/posts/2023-08-pypi-project-urls-cheatsheet

See these links in the image below? I want every PyPI project to have them in the left column.

The challenge is the PyPI project URLs spec is defined only in code. Here's my cheatsheet explaining how
Mike Driscoll: PyDev of the Week: Zac Hatfield Dodds

Link: https://www.blog.pythonlibrary.org/2023/08/07/pydev-of-the-week-zac-hatfield-dodds/

This week we welcome Zac Hatfield Dodds as our PyDev of the Week! Zac is a core developer of the Hypothesis package, which is a Python library for creating unit tests.
You can see what else Zac is up
Real Python: Python News: What's New From July 2023

Link: https://realpython.com/python-news-july-2023/

It’s always a good month to be a Pythonista, but July 2023 really drove this point home! The release of a new Python 3.12 beta version and Cython 3.0 moved the language forward, and more change is on
Python Morsels: Creating a context manager in Python

Link: https://www.pythonmorsels.com/creating-a-context-manager/

Objects with __enter__ and __exit__ methods can be used as context managers in Python.



Table of contents

What is a context manager?
A useful context manager
What about that as keyword?
The return
Montreal Python User Group: Lost Events on our Website

Link: https://montrealpython.org/en/2023/08/old-backups/

We had an outage on our website and as it turns out, our last backup was a manual one and it was rather old. As a result, there is a big gap between our next event and the previous event listed before
Montreal Python User Group: Montréal-Python 100 – Unipolar Orchestra

Link: https://montrealpython.org/en/2023/08/mp-100/

The September monthly meeting of the Montréal Pythonistas is going to be Montréal-Python 100 – Unipolar Orchestra!
This meeting will feature:

Denny Perez on the PSF (20 mins, EN)
Jean-Philippe Brochu
death and gravity: Running async code from sync in Python asyncio

Link: https://death.andgravity.com/asyncio-bridge

So, you're doing some sync stuff.
But you also need to do some async stuff,
without making everything async.
Maybe the sync stuff is an existing application.
Maybe you still want to use your favorite
PyBites: Avoiding Silent Failures in Python: Best Practices for Error Handling

Link: https://pybit.es/articles/python-errors-should-not-pass-silently/

In the world of programming, errors are inevitable. But how we choose to handle these errors can make the difference between a system that is robust and user-friendly and one that is fraught with ambi
ListenData: How to Run Proton VPN in Windows with Python

Link: https://www.listendata.com/2023/08/python-code-to-run-proton-vpn.html

In this tutorial, we will show you how to run Proton VPN in Windows using Python Code.
Prerequisite
First you need to download and install the OpenVPN GUI. OpenVPN GUI is a user-friendly application t
ListenData: How to Run Windscribe VPN in Windows with Python

Link: https://www.listendata.com/2023/08/python-code-to-run-windscribe-vpn.html

In this tutorial, we will show you how to run Windscribe VPN in Windows using Python Code. Windscribe is a popular VPN service that offers several features. Windscribe's free version maintains the sam
Real Python: What Does if __name__ == "__main__" Mean in Python?

Link: https://realpython.com/courses/if-name-main-python/

You’ve likely encountered Python’s if __name__ == "__main__" idiom when reading other people’s code. You might have even used if __name__ == "__main__" in your own scripts. But did you use it correctl
PyCoder’s Weekly: Issue #589 (Aug. 8, 2023)

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

#589 – AUGUST 8, 2023 View in Browser » Exploring Pandas 2.0 & Targets for Apache Arrow What are the new ways to describe your data in pandas 2.0? Will the addition of Apache Arrow to the data b
Python Bytes: #347 The One About Context Mangers

Link: https://pythonbytes.fm/episodes/show/347/the-one-about-context-mangers

<a href='https://www.youtube.com/watch?v=G-wAoK3yXBY' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
Real Python: Prompt Engineering: A Practical Example

Link: https://realpython.com/practical-prompt-engineering/

You’ve used ChatGPT, and you understand the potential of using a large language model (LLM) to assist you in your tasks. Maybe you’re already working on an LLM-supported application and read about pro
PyBites: Why Our Python Mentoring Beats the Traditional Coding Bootcamp

Link: https://pybit.es/articles/why-our-python-mentoring-beats-the-traditional-coding-bootcamp/

If you’ve come across our PDM and PDI programs, you might be wondering: Is this just another bootcamp? And how can it help me become a proficient Python developer?
We’re here to demonstrate why our a
PyBites: The Arbitrary (Keyword) Arguments (args and kwargs) don’t come “for free” in Python

Link: https://pybit.es/articles/the-arbitrary-keyword-arguments-args-and-kwargs-dont-come-for-free-in-python/

Python allows you to use *args and **kwargs in function definitions to accept an arbitrary number of positional and keyword arguments, respectively.
Here is a simple example:

Different types of funct
Anarcat: OpenPGP key transition

Link: https://anarc.at/blog/2023-08-09-openpgp-key-transition/

This is a short announcement to say that I have changed my main
OpenPGP key. A signed statement is available with the
cryptographic details but, in short, the reason is that I stopped
using my old Yub
The Open Sourcerer: Please help test (and fix) GTG’s GTK 4 port

Link: https://fortintam.com/blog/call-for-testing-gtg-gtk4-branch/

As you know, even with a “simple” language like Python, porting a desktop application to a new version of GTK can be a pretty significant amount of work; doubly so when it is accompanied by major refa
Talk Python to Me: #426: What's New in PyScript [August 2023]

Link: https://talkpython.fm/episodes/show/426/whats-new-in-pyscript-august-2023

One of the most exciting initiatives in the Python space these days is pyscript which enables Python running natively in your browser. With consistent support from the folks at Anaconda, this project