Planet Python RSS
214 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PSF GSoC students blogs: [Community Bonding Period] What is Automatic Differentiation?

Link: https://blogs.python-gsoc.org/en/sangyxs-blog/community-bonding-period-what-is-automatic-differentiation/

<meta charset="utf-8">The optimization process of deep learning models is based on the gradient descent method. Deep learning frameworks such as PyTorch and Tensorflow can be divided into three parts:
Stack Abuse: The Factory Method Design Pattern in Python

Link: https://stackabuse.com/the-factory-method-design-pattern-in-python/

Introduction
In this article, we'll be diving into the Factory Method Design Pattern, implemented in Python.
Design Patterns define tried and tested solutions to various recurring problems in software
Real Python: Creating and Modifying PDF Files in Python

Link: https://realpython.com/creating-modifying-pdf/

The PDF, or Portable Document Format, is one of the most common formats for sharing documents over the Internet. PDFs can contain text, images, tables, forms, and rich media like videos and animations
Will McGugan: Rich gets Richer

Link: https://www.willmcgugan.com/blog/tech/post/rich-gets-richer/

Since my last post on Rich there have been a number of improvements. Here are the major highlights:
Indeterminate progress bars
Progress bars now have an indeterminate state which displays a pulsing a
Peter Hoffmann: Using turbodbc to access Azure Synapse SQL-on-Demand endpoints

Link: http://peter-hoffmann.com/2020/clients-and-data-access-with-turbodbc-to-azure-synapse-sql-on-demand.html

ODBC access via turbodbc/python
Azure Synapse SQL-on-Demand
pools can be accessed though an odbc compatible client from python.
First you need to grant access to the sql endpoint for an external DB us
Peter Hoffmann: DuckDB vs Azure Synapse SQL-on-Demand with parquet

Link: http://peter-hoffmann.com/2020/duckdb-vs-azure-synapse-sql-on-demand.html

Short Disclaimer: This post is comparing apples to oranges, because
DuckDB is an embedded database designed to execute
analytical SQL queries on your local machine, whereas Azure Synapse
SQL-on-Demand
Full Stack Python: Reporting Exceptions in Python Scripts with Sentry

Link: https://www.fullstackpython.com/blog/report-exceptions-python-scripts-sentry.html

Python scripts are the glue that keep many applications and their
infrastructure running, but when one of your scripts throws an exception
you may not know about it immediately unless you have a cen
Luke Plant: Keyword-only arguments in Python

Link: https://lukeplant.me.uk/blog/posts/keyword-only-arguments-in-python/

Keyword-only arguments are a feature that has been around since Python 3.0. But I’ve seen and
used them much less use that I could have. They are described in PEP 3102, which is pretty readable, but I
Podcast.__init__: Dependency Management Improvements In Pip's Resolver

Link: https://www.pythonpodcast.com/pip-resolver-dependency-management-episode-264/

Dependency management in Python has taken a long and winding path, which has led to the current dominance of Pip. One of the remaining shortcomings is the lack of a robust mechanism for resolving the
Kushal Das: Using Rust to access Internet over Tor via SOCKS proxy 🦀

Link: https://kushaldas.in/posts/using-rust-to-access-internet-over-tor-via-socks-proxy.html


Tor provides a SOCKS proxy so that you can have any application using the same
to connect the Onion network. The default port is 9050. The Tor Browser also
provides the same service on port 9150. In
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).
S. Lott: Modern Python Cookbook 2nd ed -- big milestone

Link: http://slott-softwarearchitect.blogspot.com/2020/05/modern-python-cookbook-2nd-ed-big.html

Whew.Chapter rewrites finished.Technical reviews in process.Things are going pretty well. Look for Packt to publish this in the next few months. Details will be posted.Now. For LinkedIn Learning cours
Catalin George Festila: Python Qt5 - PyQt5 and PyGame compatibility with source code.

Link: http://python-catalin.blogspot.com/2020/05/python-qt5-pyqt5-and-pygame.html

This tutorial tries to solve from the objectives related to solving and stabilizing compatibility errors between PyQt4 and PyQt5 and creating a common interface between PyQt5 and PyGame.There is alway
Real Python: A Beginner's Guide to Pip

Link: https://realpython.com/courses/what-is-pip/

What is pip? pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library. This course is an introduction to
PyCoder’s Weekly: Issue #422 (May 26, 2020)

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

#422 – MAY 26, 2020 View in Browser » Waiting in asyncio There are many ways to wait on the results of a coroutine in Python’s asyncio framework. They all have different properties and use cases
Mike Driscoll: Python 101 – Learning About Loops

Link: https://www.blog.pythonlibrary.org/2020/05/27/python-101-learning-about-loops/

There are many times when you are writing code that you will need to find a way to iterate over something. Perhaps you’ll need to iterate over the letters in a string or the objects in a list. The pro
IslandT: Return people from a list and dictionary with Python

Link: https://kibiwebgeek.com/return-people-from-a-list-and-dictionary-with-python/

In this article, we are going to return a list of names that show whether that person is nice or naughty based on True (Nice) or False (Naughty) value from the ‘was_nice’ key within a list of dictiona
Real Python: How to Write an Installable Django App

Link: https://realpython.com/installable-django-app/

In the Django framework, a project refers to the collection of configuration files and code for a particular website. Django groups business logic into what it calls apps, which are the modules of the