- Python Weekly
- Posts
- Python Weekly (Issue 521 October 14 2021)
Python Weekly (Issue 521 October 14 2021)
Python Weekly - Issue 521
Python Weekly
Welcome to issue 521 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
Avoid PyYAML vulnerabilities by using `yaml.SafeLoader()` instead of `yaml.Loader()`. Learn 8 more tips in the Python security cheat sheet.
News
Python overtakes Java and C for the first time in 20 years of a key language popularity index.
Are you thinking of speaking at PyCascades? Submit your proposal by October 24th, 2021.
Articles, Tutorials and Talks
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.
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.
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 changed in Python 3.10 and which of those changes matter for you?
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.
This tutorial will present how to set up a production-ready application running on FastAPI, PostgreSQL, SQLAlchemy 1.4, and alembic. Everything using asyncio.
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.
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().
This video shows how to use the curvefit function in the scipy.optimize library. It also looks at practical examples from physics.
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.
Some guidelines for config management in general and for Python apps in particular.
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.
Interesting Projects, Tools and Libraries
A Python module to update the console without flashing.
Generating READMEs Using AI in Python.
User-friendly, tiny source code searcher written in pure Python.
Pithus is a free and open-source platform to analyze Android applications for activists, journalists, NGOs, researchers...
A Python Package for Scalable Uplift Modeling.
Quickly create and run optimised Windows, macOS and Linux desktop virtual machines.
PyTorch Implementation of PortaSpeech: Portable and High-Quality Generative Text-to-Speech.
Python implementation for Active Directory certificate abuse.
Performant evolutionary algorithms for Python.
A generic text conversion/processing tool.
New Releases
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.
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
Upcoming Events and Webinars
DjangoCon US 2021 is a completely free online event October 22-23, 2021 Online.
There will be following talks
Python for financial data
Project isolation beyond requirements.txt
Pandera - statistical data validation for Pandas
Python documentation generation
There will be following talks
Full-Stack Web, Entirely in Python: How Anvil Works
Python 3.10: Welcome to pattern matching
There will be following talks
Research Survivor
Unraveling the mysteries of the universe with Python
There will be a talk, Start Your Quantum Journey with Python and Q#
There will be a talk, Build Your Own Audio Processing Package Using Poetry.
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.