Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Mike Driscoll: PyDev of the Week: Jonathan Hoffstadt

Link: https://www.blog.pythonlibrary.org/2021/03/01/pydev-of-the-week-jonathan-hoffstadt/

This week we welcome Jonathan Hoffstadt (@jhoffs1) as our PyDev of the Week! Jonathan is the co-author of Dear PyGUI. It’s a neat, new Python GUI package. You can see what else Jonathan has been worki
John Ludhi/nbshare.io: Opinion Mining Aspect Level Sentiment Analysis

Link: https://www.nbshare.io/notebook/568830035/Opinion-Mining-Aspect-Level-Sentiment-Analysis/








Opinion Mining - Aspect Level Sentiment AnalysisAspect level sentiment analysis employs multiple machine learning processes. The first is parsing the sentence to extract the relation between wo
Stack Abuse: Python: Check if Variable is a List

Link: https://stackabuse.com/python-check-if-variable-is-a-list/

Introduction
Python is a dynamically typed language, and the variable data types are inferred without explicit intervention by the developer.
If we had code that needed a list but lacked type hints, w
The Digital Cat: Mau: a lightweight markup language

Link: https://www.thedigitalcatonline.com/blog/2021/02/22/mau-a-lightweight-markup-language/

What is Mau?Mau is a lightweight markup language heavily inspired by AsciiDoc that makes is very easy to write blog posts or books.The main goal of Mau is to provide a customisable markup language, re
Python Software Foundation: Happy Anniversary to Python and the Python Software Foundation!

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/Q1I6vSv_mh8/happy-anniversary-to-python-and-python.html

For two decades the PSF has worked on:diversity and inclusion effortsestablishing and enforcing a code of conduct for our communitymaking PyCon more accessibleimproving the services we provide to the
Learn PyQt: PDF Report generator — Generate custom PDF reports using reportlab & pdfrw

Link: https://www.learnpyqt.com/examples/python-pdf-report-generator/

If your job involves generating PDF reports, invoices, etc. you have probably thought about automating that with Python.
Python has some great libraries for working with PDF files, allowing you to rea