Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCoder’s Weekly: Issue #462 (March 2, 2021)

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

#462 – MARCH 2, 2021 View in Browser » Semantic Versioning Will Not Save You Semantic versioning aims to both communicate the version of software as well as promise that certain versions won’t b
PythonClub - A Brazilian collaborative blog about Python: Encapsulamento da lógica do algoritmo

Link: http://pythonclub.com.br/encapsulamento-da-logica-do-algoritmo.html

Muitas listas de exercícios de lógica de programação pedem em algum momento que um valor seja lido do teclado, e caso esse valor seja inválido, deve-se avisar, e repetir a leitura até que um valor vál
Ben Cook: Finding the mode of an empirical continuous distribution

Link: https://jbencook.com/mode-of-continuous-distribution/

You can find the mode of an empirical continuous distribution by plotting the histogram and looking for the maximum bin.
LAAC Technology: Five Common Django Mistakes

Link: https://www.laac.dev/blog/five-common-django-mistakes/

Table of Contents

Introduction
Example Code
Not using select_related and prefetch_related
Adding null to a CharField or TextField
Descending versus ascending with order_by or latest
Forgetting that c
Mike Driscoll: Python GUI Frameworks (Video)

Link: https://www.blog.pythonlibrary.org/2021/03/02/python-gui-frameworks-video/

In this tutorial, I talk about some of Python’s most popular GUI frameworks. You will learn the basics of graphical user interfaces. Then you will learn how to create a simple image viewer using wxPyt
Kushal Das: Get a TLS certificate for your onion service

Link: https://kushaldas.in/posts/get-a-tls-certificate-for-your-onion-service.html


For a long time, I wanted to have a certificate for the onion address of my
blog. Digicert was the only CA who was providing those certificates with an
Extended Validation. Those are costly and suita
PyCharm: PyCharm and AWS Toolkit Tutorial

Link: http://feedproxy.google.com/~r/Pycharm/~3/WsPry6mL_sA/


Cloud development with Python is a hot topic right now. Amazon recently started shipping their AWS Toolkit for PyCharm, and we already have a tutorial on it from Mukul Mantosh in the PyCharm Guide.
Stack Abuse: Seaborn Line Plot - Tutorial and Examples

Link: https://stackabuse.com/seaborn-line-plot-tutorial-and-examples/

Introduction
Seaborn is one of the most widely used data visualization libraries in Python, as an extension to Matplotlib. It offers a simple, intuitive, yet highly customizable API for data visualiza
Real Python: New Features: Article Bookmarks, Completion Status, and Search Improvements

Link: https://realpython.com/article-bookmarks-search-improvements/

With close to 2,000 Python tutorials and video lessons in the Real Python content library, it was getting harder and harder for learners to find the right resources at the right time.
To fix that, we
Mike Driscoll: Python Packaging Index Removes 3,653 Malicious Libraries

Link: https://www.blog.pythonlibrary.org/2021/03/03/python-packaging-index-removes-3653-malicious-libraries/

Once again the Python Packaging Index (PyPI) has been hit with malicious libraries. Over 3500 of them in fact. You can read more about this at The Register or the Sonatype Blog. The administrators at
Ben Cook: NumPy where: Understanding np.where()

Link: https://jbencook.com/numpy-where/

The NumPy where function is like a vectorized switch that you can use to combine two arrays.
PyBites: There is NO Competition, Stop Comparing Yourself to Others

Link: https://pybit.es/no-competition.html

The sure way to feel less fulfilled and increase imposter syndrome?
Comparing yourself to others.
Don't do it, just don't.

There will always be better developers and it's a myth you have to be in the
Montreal Python User Group: Introduction to programming with Python

Link: https://montrealpython.org/en/2021/03/introduction-programming-python-introduction-la-programmation-avec-python/

Have you always wanted to try out programming and find out if it’s for you?
Come to our Introduction to Programming with Python workshop, taking place Saturday, March 13, at 1 PM Montreal time (13:00
Python⇒Speed: The security scanner that cried wolf

Link: https://pythonspeed.com/articles/docker-security-scanner/

If you run a security scanner on your Docker image, you might be in for a shock: often you’ll be warned of dozens of security vulnerabilities, even on the most up-to-date image.
After the third or fo
Python Morsels: Inheriting one class from another

Link: https://www.pythonmorsels.com/topics/inheriting-one-class-another/




Watch first
Need a bit more background? Or want to dive deeper?
Watch other class-related screencasts.
Transcript:
How does class inheritance work in Python?
Creating a class that inherits from ano
Patrick Kennedy: Server-side Sessions in Flask with Redis

Link: http://www.patricksoftwareblog.com/server-side-sessions-in-flask-with-redis/

I wrote a blog post on TestDriven.io about how server-side sessions can be implemented in Flask with Flask-Session and Redis:
https://testdriven.io/blog/flask-server-side-sessions/
This blog post look
Python Pool: The Insider’s Guide to A* Algorithm in Python

Link: https://www.pythonpool.com/a-star-algorithm-python/?utm_source=rss&utm_medium=rss&utm_campaign=a-star-algorithm-python

A* Algorithm in Python or in general is basically an artificial intelligence problem used for the pathfinding (from point A to point B) and the Graph traversals. This algorithm is flexible and can be
Python Pool: Python Shutil Module: 10 Methods You Should Know

Link: https://www.pythonpool.com/python-shutil/?utm_source=rss&utm_medium=rss&utm_campaign=python-shutil

Firstly, Python Shutil module in Python provides many functions to perform high-level operations on files and collections of files. Secondly, It is an inbuilt module that comes with the automation pro
Real Python: The Real Python Podcast – Episode #50: Consuming APIs With Python and Building Microservices With gRPC

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

Have you wanted to get your Python code to consume data from web-based APIs? Maybe you've dabbled with the requests package, but you don't know what steps to take next. This week on the show, David Am