Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
PyBites: Don't Blame Yourself at Work

Link: https://pybit.es/work-environment.html

A workplace/career thought for you to consider today.
There are times in your career when things are going to feel pretty miserable.
You may feel underappreciated, feel that you're being micromanaged,
Talk Python to Me: #306 Scaling Python and Jupyter with ZeroMQ

Link: https://talkpython.fm/episodes/show/306/scaling-python-and-jupyter-with-zeromq

When we talk about scaling software threading and async get all the buzz. And while they are powerful, using asynchronous queues can often be much more effective. You might think this means creating a
Andre Roberge: Friendly-traceback will have a new name

Link: https://aroberge.blogspot.com/2021/03/friendly-traceback-will-have-new-name.html

tl; dr: I plan to change the name from friendly_traceback to friendly. When I started working on Friendly-traceback, I had a simple goal in mind:Given an error message in a Python traceback, parse it
Cusy: New: Pattern Matching in Python 3.10

Link: https://cusy.io/en/blog/new-pattern-matching-in-python-3.10








The originally object-oriented programming language Python is to receive a new
feature in version 3.10, which is mainly known from functional languages:
pattern matching. The change is controve
Test and Code: 147: Testing Single File Python Applications/Scripts with pytest and coverage

Link: https://testandcode.com/147

Have you ever written a single file Python application or script?
Have you written tests for it?
Do you check code coverage?
This is the topic of this weeks episode, spurred on by a listener question.