Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python⇒Speed: Transgressive Programming: the magic of breaking abstraction boundaries

Link: https://pythonspeed.com/articles/transgressive-programming/

You probably don’t want to be an asshole.
Being an asshole, as Siderea’s classic essay The Asshole Filter points out, is about being transgressive, about violating social boundaries and rules.
And so
PyBites: How to Produce More Content

Link: https://pybit.es/start-producing.html

As we mentioned the other day becoming a content provider is an essential skill to push your career forward.
We often hear people get overwhelmed by the amount of info out there, they get stuck in tut
Ben Cook: NumPy all: Understanding np.all()

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

The np.all() function tests whether all elements in a NumPy array evaluate to true.
Python Morsels: Everything is an object

Link: https://www.pythonmorsels.com/topics/everything-is-an-object/




Related article:

Transcript:
In Python, everything is an object.
Classes are objects
We have a class called Product:
class Product:

unknown_price = "Ask for details"

def __init__(self, n
Python Pool: Unzip a File in Python: 5 Scenarios You Should Know

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

If you are in the IT world for a while, you must know about the unzipping or extraction of a file. More than 70% of the files present on the internet are in the form of a zip file. There are various a
Real Python: The Real Python Podcast – Episode #49: The Challenges of Developing Into a Python Professional

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

What's the difference between writing code for yourself and developing for others? What new considerations do you need to take into account as a professional Python developer? This week on the show,
PyBites: 10 Cool Pytest Tips You Might Not Know About

Link: https://pybit.es/pytest-tips.html

Here are 10 things we learned writing pytest code that might come in handy:
1. Testing package structure
People new to pytest are often thrown off by this:
$ tree
.
├── src
│   ├── __init__.py
│   └──
Python Software Foundation: Python Software Foundation Fellow Members for Q4 2020

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/HxJ0eRomZwI/python-software-foundation-fellow.html

 It's that time of year! Let us welcome the new PSF Fellows for Q4! The following people continue to do amazing things for the Python community:Batuhan Osman TaskayElaine WongTwitter, LinkedIn, GitHub
PyCharm: PyCharm and WSL

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



Over the past few months, I’ve been monitoring a ticket closely. Over the course of two years, the ticket has accrued over 130 votes. It’s the one about WSL support in PyCharm, and by extension, the
Peter Bengtsson: How MDN's site-search works

Link: https://www.peterbe.com/plog/how-mdns-site-search-works

tl;dr; Periodically, the whole of MDN is built, by our Node code, in a GitHub Action. A Python script bulk-publishes this to Elasticsearch. Our Django server queries the same Elasticsearch via /api/v1
Cusy: New: Pattern Matching in Python 3.10

Link: https://cusy.io/en/blog/new-pattern-matching-in-python-3.10
Fabio Zadrozny: PyDev 8.2.0 released (external linters, Flake8, path mappings, ...)

Link: http://feedproxy.google.com/~r/blogspot/pydev/~3/5exOJQCukVY/pydev-820-released-external-linters.html

 PyDev 8.2.0 is now available for download.This release has many improvements for dealing with external linters.The main ones are the inclusion of support for the Flake8 linter as well as using a sing
Andre Roberge: Friendly-traceback: testing with Real Python

Link: https://aroberge.blogspot.com/2021/02/friendly-traceback-testing-with-real.html

Real Python is an excellent learning resource for beginning and intermediate Python programmers that want to learn more about various Python related topics. Most of the resources of RealPython are beh
Corey Gallon: 3 Simple Steps to Build a Python Package for Conda Forge

Link: https://gallon.me/3-simple-steps-to-build-a-python-package-for-conda-forge/?utm_source=rss&utm_medium=rss&utm_campaign=3-simple-steps-to-build-a-python-package-for-conda-forge

In just 3 easy steps, we’ll package the spotipy Python library for Conda Forge!
Hey data hackers! We’re all raving fans of Conda Forge — the community-led repository of recipes, build infrastructure
Weekly Python StackOverflow Report: (cclxv) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/02/cclxv-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-02-27 18:35:08 GMTWhy aren't my list elements being swapped? - [11
The Open Sourcerer: A new data format has landed in the upcoming GTG 0.5

Link: https://fortintam.com/blog/gtg-data-format-v2-merged/



Here’s a general call for testing from your favorite pythonic native Linux desktop personal productivity app, GTG.
In recent months, Diego tackled the epic task of redesigning the XML file format fr
Test and Code: 146: Automation Tools for Web App and API Development and Maintenance - Michael Kennedy

Link: https://testandcode.com/146

Building any software, including web apps and APIs requires testing.
There's automated testing, and there's manual testing.
In between that is exploratory testing aided by automation tools.
Michael
Matthew Wright: Profiling Python code with line_profiler

Link: https://www.wrighters.io/profiling-python-code-with-line_profiler/

Once we have debugged, working, readable (and hopefully testable) code, it may become important to examine it more closely and try to improve the code's performance. Before we can make any progress in