Python Weekly - Python Weekly - Issue 521

View this email in your browser

Python Weekly

Welcome to issue 521 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
Cheat Sheet: 9 Python Security Best Practices
Avoid PyYAML vulnerabilities by using `yaml.SafeLoader()` instead of `yaml.Loader()`. Learn 8 more tips in the Python security cheat sheet.

News

Python just took a big jump forward
Python overtakes Java and C for the first time in 20 years of a key language popularity index.

PyCascades 2022 Call for Proposals 
Are you thinking of speaking at PyCascades? Submit your proposal by October 24th, 2021.


Articles, Tutorials and Talks

How to Protect an API in FastAPI with Auth0 
Learn how to leverage the FastAPI dependency injection system to integrate your API with Auth0 and protect your endpoints. You'll see how that affects your API documentation and how you can use code we provided to verify your Auth0 access token.

Understanding all of Python, through its builtins
Python has a whole lot of builtins that are unknown to most people. This guide aims to introduce you to everything that Python has to offer, through its seemingly obscure builtins.

Clustering with Scikit-Learn in Python
This tutorial demonstrates how to apply clustering algorithms with Python to a dataset with two concrete use cases. The first example uses clustering to identify meaningful groups of Greco-Roman authors based on their publications and their reception. The second use case applies clustering algorithms to textual data in order to discover thematic groups. After finishing this tutorial, you will be able to use clustering in Python with Scikit-learn applied to your own data, adding an invaluable method to your toolbox for exploratory data analysis.

What's great about Python 3.10?
What changed in Python 3.10 and which of those changes matter for you?

Object Oriented Programming with Python - Full Course for Beginners 
Object Oriented Programming is an important concept in software development. In this complete tutorial, you will learn all about OOP and how to implement it using Python.

SQLAlchemy 1.4 async ORM with FastAPI
This tutorial will present how to set up a production-ready application running on FastAPI, PostgreSQL, SQLAlchemy 1.4, and alembic. Everything using asyncio.

Finding and reporting an asyncio bug in Python 3.10
I found a bug in Python 3.10. Some notes on how I found it and my process for handling it once I figured out what was going on.

Tips for debugging with print()
If you’re embarrassed at debugging with print(), please don’t be - it’s perfectly fine! Many bugs are easily tackled with just a few checks in the right places. Here are five tips to get the most out of debugging with print().

How to Fit Models to Data in Python 
This video shows how to use the curvefit function in the scipy.optimize library. It also looks at practical examples from physics.

Internet of Things for libraries
This post is an introduction to the Internet of Things (IoT), and will cover the technical aspects of working with digital-sensors and how they could be used in a library setting.

Configuration is an API, not an SDK
Some guidelines for config management in general and for Python apps in particular.

Streamline your Docker builds with Pants
Pants makes it easy and efficient to incrementally build and deploy multiple Docker images from a single repo, with a single command. Each image can consist of a shared base image plus a single PEX (Python EXecutable) file containing all the code, resources and dependencies required by the entry point. Pants knows exactly which images need to be rebuilt and redeployed given a set of Git changes.

Attempting REPL-Driven Development in Python

EuroPython 2021 Videos 

Array Libraries Interoperability


Interesting Projects, Tools and Libraries

ConsoleDraw
A Python module to update the console without flashing.

codex-readme
Generating READMEs Using AI in Python.

bor
User-friendly, tiny source code searcher written in pure Python.

Pithus
Pithus is a free and open-source platform to analyze Android applications for activists, journalists, NGOs, researchers...

UpliftML
A Python Package for Scalable Uplift Modeling.

quickemu
Quickly create and run optimised Windows, macOS and Linux desktop virtual machines.

PortaSpeech
PyTorch Implementation of PortaSpeech: Portable and High-Quality Generative Text-to-Speech.

Certipy
Python implementation for Active Directory certificate abuse.

Ruck
Performant evolutionary algorithms for Python.

Poly
A generic text conversion/processing tool.


New Releases

Psycopg 3.0 released
Psycopg 3 is a complete rewrite based on the experience accumulated with the development and maintenance of psycopg2. Psycopg 3 targets all the current versions of Python (3.6-3.10) and PostgreSQL (10-14) and allows the use of modern Python development techniques, such as async and statically typed code.

Python in Visual Studio Code – October 2021 Release
In this release we closed a total of 88 issues, and it includes:
  • Debugging support for Jupyter Notebooks
  • A new Python walkthrough
  • Improvements to the debugging experience for Python files and projects

Python 3.11.0a1 is available


Upcoming Events and Webinars

Virtual: DjangoCon US 2021
DjangoCon US 2021 is a completely free online event October 22-23, 2021 Online.

Virtual: DragonPy Meetup October 2021
There will be following talks
  • Python for financial data
  • Project isolation beyond requirements.txt
  • Pandera - statistical data validation for Pandas
  • Python documentation generation

Virtual: PyBerlin 32 
There will be following talks
  • Full-Stack Web, Entirely in Python: How Anvil Works
  • Python 3.10: Welcome to pattern matching

Virtual: PyLadies Dublin & Paris Python Talks
There will be following talks
  • Research Survivor
  • Unraveling the mysteries of the universe with Python

Virtual: PyLadies London October 2021 
There will be a talk, Start Your Quantum Journey with Python and Q#

Virtual: PyLadies Hamburg October 2021 
There will be a talk, Build Your Own Audio Processing Package Using Poetry.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2021 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 520

Thursday, October 7, 2021

View this email in your browser Python Weekly Welcome to issue 520 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 519

Thursday, September 30, 2021

View this email in your browser Python Weekly Welcome to issue 519 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Your Python Code: Powerful and Secure SonarQube

Python Weekly - Issue 518

Thursday, September 23, 2021

View this email in your browser Python Weekly Welcome to issue 518 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deliver Cleaner and Safer Python Code in Your IDE

Python Weekly - Issue 517

Thursday, September 16, 2021

View this email in your browser Python Weekly Welcome to issue 517 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Solidity, Blockchain, and Smart

Python Weekly - Issue 515

Thursday, September 2, 2021

View this email in your browser Python Weekly Welcome to issue 515 of Python Weekly. Let's get straight to the links this week. News Join the PyCon US 2022 team! Want to play a pivotal role in the

You Might Also Like

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.