Python Weekly (Issue 565 September 1 2022)

Python Weekly - Issue 565

Python Weekly

Welcome to issue 565 of Python Weekly. Let's get straight to the links this week.

From Our Sponsor 

Deepnote is a collaborative data science notebook. Explore data with Python & SQL from your browser. Add context with data visualizations and rich text editing. Share analysis with stakeholders by simply sending a link.

 

News

Our product, engineering, and security teams are spending an extraordinary amount of effort to manage fraud and abuse of the Heroku free product plans. In order to focus our resources on delivering mission-critical capabilities for customers, we will be phasing out our free plan for Heroku Dynos, free plan for Heroku Postgres, and free plan for Heroku Data for Redis, as well as deleting inactive accounts.

Articles, Tutorials and Talks

This guide provides a detailed and comprehensive review of the multiprocessing.Pool in Python, including how it works, how to use it, common questions, and best practices.

Developing with Codex is a bit special, and it sometimes takes a few attempts to get it to write exactly what you want it to. But in broad strokes, getting from nothing to something in just 10 prompts is really impressive and encouraging.

Gluing together clever libraries to make beautiful printed circuit boards.

This post shows how to use pymc to build Bayesian APC models in Python and presents a series of increasingly sophistocated systems of priors to resolve the inferential challenges these models pose.

This guide comes from experience building api backends for a variety of startups in different industries, it serves as a starting point for what the state of “best practise” is for how we think about organising Python projects, structuring code, testing, and common libraries we’ve reused across projects.

In the final part of this miniseries, I show you how to improve the software design of the financial dashboard application, including adding internationalization both to the dashboard ui as well as to the financial data.

Appending rows to a pandas DataFrame can be a very expensive operation. Use pd.concat the correct way to do it efficiently.

Jupyter notebooks don’t work with git by default. With nbdev2, the Jupyter+git problem has been totally solved. It provides a set of hooks which provide clean git diffs, solve most git conflicts automatically, and ensure that any remaining conflicts can be resolved entirely within the standard Jupyter notebook environment. To

In this post, we want to show how to use Stable Diffusion with the Diffusers library, explain how the model works and finally dive a bit deeper into how diffusers allows one to customize the image generation pipeline.

Interesting Projects, Tools and Libraries

PyNLP Lib is an open source Python NLP library that provides functionality for both web and local development.

An extremely fast Python linter, written in Rust.

An interactive Pandas Cheat sheet using PyScript.

Next-generation Video instance recognition framework on top of Detectron2 which supports SeqFormer(ECCV Oral) and IDOL(ECCV Oral)).

The RF and reverse engineering framework for everyone

Natural language Pandas queries and data generation powered by GPT-3

Upcoming Events and Webinars

Like the always-sold-out PyCon, PyBay 2022 will be one day of fun geeking out with awesome developers on one of your favorite topics - Python!

There will be following talks

  • Machine learning at Scale; Real Time Predictions in the Payment Flow

  • Predicting Article Demand with Temporal Fusion Transformers

There will be following talks

  • The State of Arrow

  • Visual Programming in JupyterLab with Blockly

Our Other Newsletters

 - A free weekly newsletter for programmers.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.