Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Test and Code: 111: Subtests in Python with unittest and pytest - Paul Ganssle

Link: https://testandcode.com/111

In both unittest and pytest, when a test function hits a failing assert, the test stops and is marked as a failed test.
What if you want to keep going, and check more things?
There are a few ways. On
Will McGugan: How to get Rich with Python (a terminal rendering library)

Link: https://www.willmcgugan.com/blog/tech/post/how-to-get-rich-with-python-a-terminal-rendering-library/

I'm happy to announce the release of version 1.0.0 of Rich - my Python library for fancy terminal rendering.
Rich is a project I started back in October 2019 when I was staying in Wuhan, a few weeks b
Python Software Foundation: Property-Based Testing for Python builtins and the standard library - Python Language Summit 2020

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/gAakc53O1so/property-based-testing-for-python.html




Zac Hatfield-Dodds opened his presentation with a paraphrase of the economist Thomas Schelling:

No matter how rigorous her analysis or heroic his imagination, no person can write a test case that
Django Weblog: Django bugfix release: 3.0.6

Link: https://www.djangoproject.com/weblog/2020/may/04/django-bugfix-release-306/

Today we've issued the 3.0.6 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is
PyBites: Rockstar Python Developers Need Great communication Skills Too

Link: https://pybit.es/guest-communication-skills.html

Mentoring children is a whole new challenge, and one that served to help me think about my own communication and empathy skills at work too.
Introduction
I wonder how people get into software programm
Programiz: Python RegEx

Link: https://www.programiz.com/python-programming/regex

In this tutorial, you will learn about regular expressions (RegEx), and use Python's re module to work with RegEx (with the help of examples).
Hynek Schlawack: Why You Should Document Your Tests

Link: https://hynek.me/articles/document-your-tests/

Some projects have the policy that all tests must have an explanatory comment – including all of mine. At first, I found that baffling. If that’s you right now, this article is for you.
Podcast.__init__: Maintainable Infrastructure As Code In Pure Python With Pulumi

Link: https://www.pythonpodcast.com/pulumi-infrastructure-as-code-episode-261/

After you write your application, you need a way to make it available to your users. These days, that usually means deploying it to a cloud provider, whether that's a virtual server, a serverless plat
Chris Moffitt: Exploring an Alternative to Jupyter Notebooks for Python Development

Link: https://pbpython.com/notebook-alternative.html


Introduction
Jupyter notebooks are an amazing tool for evaluating and exploring data. I have been
using them as an integral part of my day to day analysis for several years and reach for them
almost
Techiediaries - Django: Building Django 3 HTTP APIs with GraphQL and Graphene

Link: https://www.techiediaries.com/django-graphql-tutorial/


This tutorial will introduce you to GraphQL with Python, Django 3 and Graphene. We'll see how to create a simple Django 3 project to demonstrate how to build an API server based on GraphQL (instead o
Real Python: Using Python datetime to Work With Dates and Times

Link: https://realpython.com/python-datetime/

Working with dates and times is one of the biggest challenges in programming. Between dealing with time zones, daylight saving time, and different written date formats, it can be tough to keep track o
Reuven Lerner: Become more fluent with Python functions in just 15 weeks

Link: https://lerner.co.il/2020/05/04/become-more-fluent-with-python-functions-in-just-15-weeks/

A new cohort of Weekly Python Exercise A2 (“Functions for beginners”) starts tomorrow — Tuesday, May 5th. If you’ve been using Python for less than one year, and want to write better, more powerful, m
Python Software Foundation: Python’s migration to GitHub - Request for Project Manager Resumes

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/iroQCLPcKE0/pythons-migration-to-github-request-for.html


The Python Software Foundation is looking for a Project Manager to assist with CPython’s migration from bugs.python.org to GitHub for issue tracking. CPython's development partially moved to GitHub i
Codementor: How and why I built TraceItOut - A video summarizer

Link: https://www.codementor.io/ajaykundu/how-and-why-i-built-traceitout-a-video-summarizer-165a5t5rle

About me
I am a software development engineer who is currently working at Mentor Graphics, India. I have studied Computer Engineering from Thapar Institute of Engineering & Technology.
The problem...
James Bennett: Variations on the death of Python 2

Link: https://www.b-list.org/weblog/2020/may/05/python/

On April 20th, 2020, a release manager named Benjamin Peterson smashed the “publish” button on Python 2.7.18. The Python 2 release series had already reached the end of its upstream support from the P
Matt Layman: User Interaction With Forms

Link: https://www.mattlayman.com/understand-django/user-interaction-forms/

In the previous Understand Django article, we saw how Django templates work to produce a user interface. That’s fine if you only need need to display a user interface, but what do you do if you need y
Python Software Foundation: Python Developers Survey 2019 Results

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/lYfT8OsYyaQ/python-developers-survey-2019-results.html


We are excited to share the results of the third official Python Developers Survey conducted by the Python Software Foundation with the help of JetBrains.

More than 24,000 Python users from over 150
Real Python: The Python print() Function: Go Beyond the Basics

Link: https://realpython.com/courses/python-print/

If you’re like most Python users, including us, then you probably started your Python journey by learning about print(). It helped you write your very own Hello Horld one-liner. You can use it to disp