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

Healthy life, Meta's AI and legibility

Saturday, January 11, 2025

Neologism #25, 11.01.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1665 [Medium]

Saturday, January 11, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. A wall consists of several rows of bricks of various integer lengths and

📊 Every Smartphone I've Ever Owned, Ranked — This Tiny Smart Remote Is the Most Exciting Thing at CES

Saturday, January 11, 2025

Also: 5 Android Notification Features to Make Your Day Easier, and More! How-To Geek Logo January 11, 2025 Did You Know On March 12, 1951, a curious thing happened. In the United States and the United

Ranked | The Top Grossing Movies Worldwide in 2024 🎬

Saturday, January 11, 2025

Established IP dominated the 2024 box office, with top films mostly being sequels, spin-offs, or franchise continuations. View Online | Subscribe | Download Our App FEATURED STORY Ranked: Top Grossing

📖 Your Step-by-Step Guide to Securing AI in the Enterprise

Saturday, January 11, 2025

January 11, 2025 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Tines. When it comes to adopting AI securely,

🐍 New Python tutorials on Real Python

Saturday, January 11, 2025

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Iterators and Iterables in Python: Run Efficient

Life Update: Me. In Shorts. In Antarctica [Pics Inside 🧊]

Saturday, January 11, 2025

And yes, I jumped in. It taught me a lot 😅 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Google Researcher Uncovers Zero-Click Exploit Targeting Android Devices

Saturday, January 11, 2025

THN Daily Updates Newsletter cover The Kubernetes Book: Navigate the world of Kubernetes with expertise , Second Edition ($39.99 Value) FREE for a Limited Time Containers transformed how we package and

📧 Working with LLMs in .NET using Microsoft.Extensions.AI

Saturday, January 11, 2025

​ Working with LLMs in .NET using Microsoft․Extensions․AI Read on: m​y website / Read time: 6 minutes The .NET Weekly is brought to you by: ​Transform your database performance with RavenDB​:

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌