Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Software Foundation: Python 2 series to be retired by April 2020

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/jVt_4dZJWag/python-2-sunset.html

The CPython core development community is urging users to migrate to Python 3 as it will be the only version that will be updated for bugs and security vulnerabilities.

After nearly 20 years of devel
Learn PyQt: Build GUI layouts with Qt Designer for PyQt5 apps

Link: https://www.learnpyqt.com/courses/qt-creator/qt-designer-gui-layout/


When laying out your Qt GUIs it can be quite a tricky task to place every widget in the right position on your forms. Fortunately, Qt offers a set of layout managers that simplify the process of widg
Matt Layman: Serverless Python And Why You Should Try It Out

Link: https://www.mattlayman.com/blog/2020/serverless-python/

At the January 2020 Python Frederick event, Patrick Pierson showed the group how you can use Python in different serverless services on AWS and GCP. He also showed a couple of serverless frameworks li
Stack Abuse: Convert Strings to Numbers and Numbers to Strings in Python

Link: https://stackabuse.com/convert-strings-to-numbers-and-numbers-to-strings-in-python/

Introduction
Python allows you to convert strings, integers, and floats interchangeably in a few different ways. The simplest way to do this is using the basic str(), int(), and float() functions. On
Talk Python to Me: #246 Practices of the Python Pro

Link: https://talkpython.fm/episodes/show/246/practices-of-the-python-pro

When you can call yourself a professional developer? Sure, getting paid to write code is probably part of the formula. But when is your skillset up to that level?
Mike Driscoll: Letting Users Change a wx.ComboBox’s Contents in wxPython

Link: https://www.blog.pythonlibrary.org/2020/01/08/letting-users-change-a-wx-comboboxs-contents-in-wxpython/

This week I came across someone who was wondering if there was a way to allow the user to edit the contents of a wx.ComboBox. By editing the contents, I mean change the names of the pre-existing choic
Catalin George Festila: Python 3.7.5 : The this python package.

Link: http://python-catalin.blogspot.com/2020/01/python-375-this-python-package.html

The this python package is simple to use:
[mythcat@desk ~]$ python3
Python 3.7.5 (default, Dec 15 2019, 17:54:26)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type "help", "copyright", "credits"
Reinout van Rees: Github basic auth deprecation and jenkins

Link: http://reinout.vanrees.org/weblog/2020/01/10/jenkins-deprecated-github-credentials.html


I have been getting periodic deprecation notice emails from github for the
last few months:

Hi @nenskins,
You recently used a password to access an endpoint through the GitHub API
using okhttp/2.7.5
Speed Matters: scandir-rs

Link: https://brmmm3.github.io/posts/2020/01/10/scandir-rs/

Because speed matters…
With the increased speed of SSDs single threaded file access does not always fully utilize the disk. The bottleneck more and more is the CPU itself.
When I started learning the
Speed Matters: A socketserver with threads vs uvloop

Link: https://brmmm3.github.io/posts/2020/01/10/socketserver_threads_vs_uvloop/

The uvloop project is great with an amazing performance, and a good replacement for the default asyncio module, if Linux is used. Unfortunately uvloop is not available for Windows.
Just for interest I
Reinout van Rees: Pygrunn preparations

Link: http://reinout.vanrees.org/weblog/2019/05/09/pygrunn-preparation.html


Tomorrow (friday 2019-05-10), I'm going to the nice one-day Dutch python (and
friends) pygrunn conference in Groningen (NL)
again. Sold out, as usual. And rightfully so.
Anyway, to be honest, this bl
Reinout van Rees: PyGrunn: monitoring and profiling Flask apps - Patrick Vogel & Bogdan Petre

Link: http://reinout.vanrees.org/weblog/2019/05/10/1-monitoring-profiling-flask.html


(One of my summaries of a talk at the
2019 PyGrunn conference).
Patrick and Bogdan are students at Groningen University and they made the
Flask Monitoring Dashboard. Some questions you
might be inter
Reinout van Rees: PyGrunn: a day has only 24 ± 1 hours - Miroslav Šedivý

Link: http://reinout.vanrees.org/weblog/2019/05/10/2-timezones.html


(One of my summaries of a talk at the
2019 PyGrunn conference).
Time zones... If you do datatime.datetime.now() you'll get a date+time
without timezone information. You can get different results on y
Reinout van Rees: PyGrunn: testing your infrastructure code - Ruben Homs

Link: http://reinout.vanrees.org/weblog/2019/05/10/3-testing-infrastructure-code.html


(One of my summaries of a talk at the
2019 PyGrunn conference).
Servers used to be managed by proper wizards. But even wizards can be killed
by a balrog. So... what happens when your sysadmin leaves?
Reinout van Rees: PyGrunn: lessons from using GraphQL in production - Niek Hoekstra & Jean-Paul van Oosten

Link: http://reinout.vanrees.org/weblog/2019/05/10/4-graphql.html


(One of my summaries of a talk at the
2019 PyGrunn conference).
GraphQL is a different way to create APIs. So: differently from REST. You
describe what you want to recieve back, instead of having a f
Reinout van Rees: PyGrunn: embedding the python interpreter - Mark Boer

Link: http://reinout.vanrees.org/weblog/2019/05/10/5-embedding-python-interpreter.html


(One of my summaries of a talk at the
2019 PyGrunn conference).
Writing scripts inside applications is often hard. Some of them luckily have
an embedded version of python, but not all of them.
Two im