- Python Weekly
- Posts
- Python Weekly (Issue 525 November 11 2021)
Python Weekly (Issue 525 November 11 2021)
Python Weekly - Issue 525
Python Weekly
Welcome to issue 525 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free
News
The PSF launched its end-of-the-year fundraiser. There are two ways to donate: 1. donate directly to the PSF or 2. purchase a discounted PyCharm license, with all proceeds going to the PSF. Contributing to the PSF financially helps sustain programs that support the larger Python community.
Articles, Tutorials and Talks
This post is talking about what the effects of a data race look like when profiling with py-spy, why this happens with py-spy much more frequently than in rbspy due to differences in the CPython and CRuby interpreter implementations, and why you still might want to consider using the nonblocking in some conditions despite the potential for inaccurate profiles being generated.
Python supports default values for arguments to functions, but those defaults are evaluated at function-definition time. A proposal to add defaults that are evaluated when the function is called has been discussed at some length on the python-ideas mailing list. The idea came about, in part, due to yet another resurrection of the proposal for None-aware operators in Python. Late-bound defaults would help with one use case for those operators, but there are other, stronger reasons to consider their addition to the language.
The strange world of Python, as used by big investment banks.
This article explains why Python doesn't use a pass-by-value system, nor a pass-by-reference.
Learn how to to use cookiecutter, pytest and GitHub Actions to develop a new Python library, add tests, run continuous integration and automatically publish new releases of your package to PyPI.
SonarQube has over 170 unique rules to find Bugs, Vulnerabilities, Security Hotspots, and Code Smells in your Python code. Get started for free!
SPONSOR6 Usage Patterns for the ThreadPoolExecutor in PythonYou can adopt one of the common usage patterns to get the most out of the ThreadPoolExecutor in Python. In this tutorial, you will discover the common usage patterns for Python thread pools.SpaCy vs NLTK. Text Normalization ComparisonWe'll go in-depth on what, why, and how of text normalization. With code examples written in SpaCy and NLTK Python libraries.Cython, Rust, and more: choosing a language for Python extensionsSometimes pure Python code isn’t enough, and you need to implement an extension in a compiled language like C, C++, or Rust. Depending on your particular situation and needs, you may want to choose a different tool. But which one? Let’s see what your options are, and then go through a variety of scenarios and see which of the options is most appropriate.I just want to run this one Python scriptEver had a script that's compatible with both, Python 2 and 3, but you didn't want to bother the user to know which interpreter to call? Maybe because the script is often used in environments where only one Python is available and users just expect things to work? And it's only that one script file, no package, no additional wrapper script, nothing.Introduction to Monte Carlo Methods in Python This video includes a basic tutorial in Monte Carlo simulation techniques in python, along with a few examples.Understand Django: Command Your AppWith this article, you’ll learn about commands. Commands are the way to execute scripts that interact with your Django app. We’ll see built-in commands and how to build your own.How to Visualize the Formula 1 Championship in Python Using the Ergast API and SeabornThis tutorial will show you how to use data from the Ergast API to visualize the changes in the 2021 championship standings over the rounds. Also, this tutorial will show you how to create plots with Seaborn, a Python library that is based on Matplotlib. How to secure your Python software supply chainA guide to being aware of the risks you are exposed to and a few tips to protect against them.Interesting Projects, Tools and LibrariesT5XT5X is a modular, composable, research-friendly framework for high-performance, configurable, self-service training, evaluation, and inference of sequence models (starting with language) at many scales.ndarray_comparisonBenchmark of toy calculation on an n-dimensional array using python, numba, cython, pythran and rust.EfficientWord-NetEfficientWord-Net is an hotword detection engine based on one-shot learning inspired from FaceNet's Siamese Network Architecture.SamilaSamila is a generative art generator written in Python, Samila let's you create arts based on many thousand points. The position of every single point is calculated by a formula, which has random parameters. Because of the random numbers, every image looks different.redunYet another redundant workflow engine. redun aims to be a more expressive and efficient workflow framework.FiftyOne The open-source tool for building high-quality datasets and computer vision models.QuadrupedRobotMini Pupper - ROS, OpenCV, Open-source, Pi Robot Dog.google-workspaceA unofficial high level Python API wrapper for some of the productivity based Google apps, that is focused on simplicity.ZenGLZenGL is a minimalist Python module providing exactly one way to render scenes with OpenGL.ticktockSimple Python code metering library.multi-pyPython containers with multiarchitecture support.pydbanticA single model for shaping, creating, accessing, storing data within a Database.drf-turboAn alternative serializer implementation for REST framework written in cython built for speed.New ReleasesTensorFlow 2.7This release improves usability with clearer error messages, simplified stack traces, and adds new tools and documentation for users migrating to TF2.Python 3.9.8 and 3.11.0a2 are now availableUpcoming Events and WebinarsVirtual: PyLadies Dublin November 2021There will be following talks
Using Python to bring a physical game to the Internet
Scaling Data Science with Dask
Virtual: PyLadies SWFL November 2021There will be a talk, Augmenting human creativity with automated text generation.Virtual: PyData Chicago November 2021There will be a talk, Machine Learning on Graph: Graph Signal Processing & Graph Substructure Learning.
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.