- Python Weekly
- Posts
- Python Weekly (Issue 576 November 17 2022)
Python Weekly (Issue 576 November 17 2022)
Python Weekly - Issue 576
Python Weekly
Welcome to issue 576 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
Retool Workflows is a fast way to build and automate recurring cron jobs, custom alerts and ETL jobs. Stop provisioning infrastructure and maintaining one-off scripts.
Code level control when you need it, GUI when you don’t.
News
Now C/C++ isn't the only game in town with Arduino partnering with Damien George for official MicroPython firmware on selected board models.
Articles, Tutorials and Talks
In this tutorial, you will discover how to change a nested for-loop to be concurrent or parallel in Python with a suite of worked examples.
This article explains the new features in Python 3.12, compared to 3.11.
There are plenty of ways to measure the speed of your code. Let me show you a few that I considered for the Writing Faster Python series.
Python 3.11 only made one change to unittest, but it’s a good one: context manager methods. These methods can simplify setup and teardown logic in many cases, such as dynamic use of unittest.mock. In this post we’ll look at a couple fo examples using the new methods, and a backport you can copy-paste into your projects, in plain and Django flavours.
This post will cover just one tiny piece of Python packaging’s complexity: the CPython stable ABI. We’ll see what the stable ABI is, why it exists, how it’s integrated into Python packaging, and how each piece goes terribly wrong to make accidental ABI violations easy.
If you’re using NumPy, Polars, Zarr, or many other libraries, setting a single environment variable or calling a single API function might make your code run 20%-80% faster. Or, more accurately, it may be that your code is running that much more slowly than it ought to. The problem? A conflict over who controls parallelism: your application, or the libraries it uses. Let’s see an example, and how you can solve it.
In this video I go though how I setup my operating system to code for datascience. We talk about operating system, terminal, IDEs and more.
Learn about this rapidly developing capability.
In Python?!! That’s right, and it’s pretty painless with PyScript.
Interesting Projects, Tools and Libraries
pyjanitor is a Python implementation of the R package janitor, and provides a clean API for cleaning data.
Python code to parse a Twitter archive and output in various ways.
SpyGuard is a forked and enhanced version of TinyCheck. SpyGuard's main objective is to detect signs of compromise by monitoring network flows transmitted by a device.
The official Tensorflow 2 implementation of our high quality frame interpolation neural network. We present a unified single-network approach that doesn't use additional pre-trained networks, like optical flow or depth, and yet achieve state-of-the-art results.
Easiest interactive python web app using htmx and semantic html.
Johnnycanencrypt aka jce is a Python module written in Rust to do basic encryption and decryption, and detached signing operations. It uses amazing sequoia-pgp library for the actual OpenPGP operations.
A Python implementation of the OMEMO Multi-End Message and Object Encryption protocol.
New Releases
Upcoming Events and Webinars
There will be following talks
Using Numba Effectively Today
Random (Earth imaging) Python bits
Using Haystack framework for NLP in Python
There will be following talks
Workflow Engines: the glitter glue for Python Microservices
Reproducible ML workflows in AWS with Python and dstack
There will be following talks
NLP Challenges in Government Agencies
Data4Good: Using your Data Science Skills for the Social Good
There will be following talks
How to resolve the issue with the inconsistency of distributed data in your Python project
Introducing JAX: a faster and more efficient Numpy
There will be following talks
Applying Network Analytics in KYC
Econometrics meets accounting: what can PCA teach us about financial statement data?
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.