Planet Python RSS
214 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm: PyCharm 2022.3 Release Candidate Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/11/2022-3-rc/

This build brings the ability to execute asynchronous scripts in the Python Console, use Vitest for Vite unit testing, and set a separate formatting style for the code that you read, not write.

This
Python for Beginners: Custom JSON Encoder in Python

Link: https://www.pythonforbeginners.com/basics/custom-json-encoder-in-python

JSON objects are one of the most efficient ways to transmit information on the internet. However, we cannot directly convert all types of data into JSON. In this article, we will discuss different way
John Ludhi/nbshare.io: TTM Squeeze Stocks Scanner Using Python

Link: https://www.nbshare.io/notebook/76246860/TTM-Squeeze-Stocks-Scanner-Using-Python/







TTM Squeeze Stocks Scanner Using Python










In this tutorial, I will build a TTM Squeeze scanner using Python and Mongodb










Let us first import the necessary packages for pandas an
Matt Layman: Development Cached Templates - Building SaaS with Python and Django #150

Link: https://www.mattlayman.com/blog/2022/development-cached-templates-building-saas-with-python-and-django-150/

In this episode, I ran through a Python exercise on Exercism that focused on strings. Then we moved onto the homeschool app and fixed an issue with templates that were cached during development becaus
Ned Batchelder: Secure maintainer workflow

Link: https://nedbatchelder.com/blog/202211/secure_maintainer_workflow.html

I’m trying to establish a more secure workflow for maintaining public
packages.Like most developers, I have terminal sessions with implicit access to
credentials. For example, I can make git commits
Mike Driscoll: PyDev of the Week: Irit Katriel

Link: https://www.blog.pythonlibrary.org/2022/11/21/pydev-of-the-week-irit-katriel/

This week we welcome Irit Katriel (@IritKatriel) as our PyDev of the Week! Irit is a CPython Core Dev who works at Microsoft. Irit helped write up PEP 654, which is about "Exception Groups and except*
Python for Beginners: Drop Columns From Pandas Dataframe

Link: https://www.pythonforbeginners.com/basics/drop-columns-from-pandas-dataframe

While working with dataframes in python, we often need to delete one or more columns from the dataframe while data preprocessing. In this article, we will discuss different ways to drop columns from a
Real Python: Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 3

Link: https://realpython.com/flask-connexion-rest-api-part-3/

Most modern web applications are powered by a REST API under the hood. That way, developers can separate the front-end code from the back-end logic, and users can interact with the interface dynamical
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-november-2022/?utm_source=python-rss-feed

36th issue of the Python Monthly Newsletter! Read by 25,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Podcast.__init__: Build A Full Stack ML Powered App In An Afternoon With Baseten

Link: https://www.pythonpodcast.com/baseten-full-stack-ml-app-episode-385/

Building an ML model is getting easier than ever, but it is still a challenge to get that model in front of the people that you built it for. Baseten is a platform that helps you quickly generate a fu
Trey Hunner: Python Black Friday & Cyber Monday sales (2022)

Link: https://treyhunner.com/2022/11/python-black-friday-and-cyber-monday-sales-2022/

It’s that time of year again… time for my annual compilation post of Black Friday and Cyber Monday deals for learning Python.
Note that Cyber Monday is a week away, so most sales aren’t yet announced.
John Ludhi/nbshare.io: How To Append Rows With Concat to a Pandas DataFrame

Link: https://www.nbshare.io/notebook/336890081/How-To-Append-Rows-With-Concat-to-a-Pandas-DataFrame/







How to append rows with concat to a Pandas DataFrame








In [19]:


import pandas as pd
import requests
import json












For this example, I will load the data from the following api.
Luke Plant: Python Type Hints: case study on parsy

Link: https://lukeplant.me.uk/blog/posts/python-type-hints-parsy-case-study/

I have been trying to like static type checking in Python. For most of my Django projects, I get annoyed and give up, so I’ve had a go with some smaller projects instead. This blog post documents how
PyBites: Loving the Journey towards your Goal

Link: https://pybit.es/articles/pp96-loving-the-journey-towards-your-goal/

Listen here:

Welcome back to our Pybites podcast. This week we talk about Loving the journey to your goal.
We center our discussion about:
1. Setting Goals.
2. What can you do and how can you love
PyBites: How to create a self updating GitHub Readme

Link: https://pybit.es/articles/how-to-create-a-self-updating-github-readme/

It was about time to give my GitHub profile a nice intro so inspired by Simon Willison’s blog post I decided to make an intro Readme that auto-updates.
First I made a GitHub repo called bbelderbos, my
Sebastian Witowski: How to Benchmark (Python) Code

Link: https://switowski.com/blog/how-to-benchmark-python-code/

While preparing to write the Writing Faster Python series, the first problem I faced was "How do I benchmark a piece of code in an objective yet uncomplicated way".
I could run python -m timeit <piece
Mike Driscoll: Python Black Friday / Cyber Monday Sales 2022

Link: https://www.blog.pythonlibrary.org/2022/11/22/python-black-friday-cyber-monday-sales-2022/

It's that time of year again when you can get great deals on Python books and courses!
You can take $10 off ANY of my self-published books on Gumroad by using the following coupon code: black2022
This
PyCoder’s Weekly: Issue #552 (Nov. 22, 2022)

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

#552 – NOVEMBER 22, 2022 View in Browser » Moving Projects Away From Passwords With WebAuthn What if you didn’t have to worry about managing user passwords as a Python developer? That’s where th
Armin Ronacher: A Better Way to Borrow in Rust: Stack Tokens

Link: http://lucumr.pocoo.org/2022/11/23/stack-tokens

As a Rust programmer you are probably quite familiar with how references
work in Rust. If you have a value of type T you can generally get
various references to it by using the ampersand (&) operator
PyCharm: “Support Python with JetBrains” Campaign Extended

Link: https://blog.jetbrains.com/pycharm/2022/11/support-python-with-jetbrains-campaign-extended/


Good news! The Support Python with JetBrains campaign has been extended for another week and will now last until November 29, 2022.
Buy a PyCharm Pro subscription at 30% OFF, have the full amount of