Skip to content

Weblog

๐Ÿ“ก Python radar - December 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

โš ๏ธ Itโ€™s time to stop using Python 3.7 (pythonspeed.com)
Support for version 3.7 ends in June 2023! It's high time to migrate if you havenโ€™t already. [EDIT 2025-01-20: original link broken, replaced by an Internet Archive link]

๐ŸŒฑ mlco2/codecarbon: Track emissions from Compute (github.com)
A nice find that allows you to evaluate and track the carbon footprint of your running Python code, a good tool to integrate eco-design into your development practice?

๐Ÿ“Š PyArrow and the future of data analytics (youtube.com)
An informative presentation of the capabilities of PyArrow, the "Swiss knife of data," compatible with various technologies including Numpy and Pandas.

๐Ÿ›ก๏ธ DataDog/guarddog: GuardDog is a CLI tool to Identify malicious PyPI packages (github.com)
Continuing the recent updates on malicious PyPI packages, hereโ€™s a tool to help protect against them.

๐Ÿ“ก Python radar - November 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ—‚๏ธ Coping strategies for the serial project hoarder (simonwillison.net)
How to organize your code and development practices to work on multiple projects at once? This developer explains how he manages to maintain...185 projects! It's extreme, for sure, but these are great tips that can apply even to a single project! Believe me!

๐Ÿ”’ PyPI Packages Attempting to Deliver W4SP Stealer in Ongoing Supply-Chain Attack (blog.phylum.io)
We don't talk enough about security here, so to fix that, here's an interesting article to understand how malicious Python packages are spreading on PyPI lately. Quick tip: check the spelling of packages in your setup.py or requirements.txt.

๐Ÿ›ก๏ธ Investigating a backdoored PyPi package targeting FastAPI (securitylabs.datadoghq.com)
Another compromised package on PyPI linked to a popular project (fastapi-toolkit). If this continues, we might create a "security" section for these updates...

๐Ÿ“ google/latexify_py: Generates LaTeX math description from Python functions. (github.com)
In a completely different style, hereโ€™s a small package for visualizing and documenting your Python functions in mathematical form in your notebooks, quite impressive!

๐Ÿ“ก Python radar - October 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ†• Python 3.11: Cool New Features for You to Try (realpython.com)
A new version of Python was released this month, and this article details the main new features, including much more intelligible exceptions and better execution performance.

๐Ÿš Python CLI Tricks That Donโ€™t Require Any Code Whatsoever (medium.com)
Here's a list of small tools provided by Python that can be used directly from the command line without writing any code, quite handy sometimes.

๐Ÿ GitHub - Textualize/textual: Textual is a TUI (Text User Interface) framework for Python (github.com)
Here's another way to create interactive Python applications using the resources of a simple terminal.

๐Ÿ“ก Python radar - September 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ–ฅ๏ธ Taichi Lang, parallel programming for everyone. (taichi-lang.org) (taichi-lang.org)
A new tool to develop high-performance code in your favorite language, with a built-in JIT compiler that parallelizes on GPU or multi-core CPU, promising.

๐Ÿผ Pandas DataFrame Indexing Explained: from .loc to .iloc and beyond (lucytalksdata.com)
A detailed and instructive review of the different methods for indexing pandas dataframes. [EDIT 2025-01-08: original link broken, replaced by an Internet Archive link]

๐Ÿ–ผ๏ธ High-performance image generation using Stable Diffusion in KerasCV (keras.io)
The Keras implementation of the Stable Diffusion text-to-image model I mentioned last month. If you have a GPU on hand, unleash your creativity!

๐Ÿงช Pytest for Beginners (testdriven.io)
A quality tutorial to get started with writing tests using Pytest. Do you know the 40% rule? When you've finished your program, you've only completed 40% of the work. The rest is 40% writing tests and 40% documentation...

๐Ÿ“ก Python radar - July-August 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿค– Practical Deep Learning for Coders (course.fast.ai)
A complete and free course (with a free associated book) to practice various DL/ML techniques using PyTorch and fast.ai.

๐Ÿงฉ Recipes and Tricks for Effective Structural Pattern Matching in Python (martinheinz.dev)
A series of examples for advanced use of Python's Pattern Matching mechanism (a.k.a. a very advanced switch/case) introduced in Python 3.10.

๐Ÿฆฆ You Should Be Using Python's Walrus Operator - Here's Why (martinheinz.dev)
The same author takes on the walrus operator (this thing -> :=) introduced in Python 3.8, which allows you to assign a value to a variable in the middle of an expression. My take: use it in moderation.

๐Ÿ“ˆ Modin: Scale your pandas workflow by changing a single line of code (modin.readthedocs.io)
In a not-so-great video that Iโ€™ll spare you the link to, I discovered this project that could speed up your pandas computations via dask or ray by changing just one line of code, the pandas import line. Worth testing.

๐Ÿ“ก Python radar - June 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ“ 8 surprising ways how to use Jupyter Notebook (mljar.com)
Converting a notebook into slides, okay we knew that, but into a book? a web app? or a dashboard? a short article summarizing different ways to make the most of a notebook.

๐Ÿ“Š Mito | Home (trymito.io)
Generate the Python code for your notebook by manipulating an Excel-like spreadsheet directly within the notebook, hmm ๐Ÿค”, genius or devilry? Iโ€™ll leave you to form your own opinion.

๐Ÿ“š Book: Packaging Python Application with PyInstaller
A free book (for now) that details how to use PyInstaller to "package" various types of Python graphical applications into an executable.

๐Ÿค– GitHub - openai/openai-cookbook: Examples and guides for using the OpenAI API (github.com)
A series of Jupyter notebooks to learn and test OpenAI's GPT-3 language model, not free, but quite fascinating.

๐Ÿ“ก Python radar - May 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ•ธ๏ธ Web Scraping with Python: Everything you need to know (scrapingbee.com)
A good resource if you want to automate your web information searches.

๐Ÿ“Š holoviz/panel: A high-level app and dashboarding solution for Python (github.com)
To create nice visualization dashboards with your favorite Python library, a great project.

๐Ÿ“ˆ Forget about Jupyter Notebooks โ€” showcase your research using Dashboards (esciencecenter.nl)
A small introduction to another very easy-to-use dashboarding tool that is quite popular right now: Streamlit.

๐Ÿ“š Python Standard Library changes in recent years (antonz.org)
Some useful functions to pick up from this list of changes in Python's standard library since version 3.8.

๐Ÿ“ก Python radar - April 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿงฎ The Right Way to Compare Floats in Python (web.archive.org)
To understand why 0.1 + 0.2 == 0.3 returns False and how to approach it correctly, must read. [EDIT 2025-01-08: original link broken replaced by its Internet Archive link]

๐ŸŽฅ Efficient Pandas Dataframes in Python (youtu.be)
A very informative short video on the importance of properly typing your Pandas dataframes.

๐Ÿง  geohot/tinygrad (github.com)
A mini deep learning framework in under 1000 lines. I donโ€™t know much about it, but it looks cool.

๐Ÿ“š Python & OpenGL for Scientific Visualization (labri.fr)
(2018) A well-crafted free book that, according to the author, reconciles Python and OpenGL, explaining both basic and advanced techniques for creating stunning visualizations.

๐Ÿ“ก Python radar - March 2022

A personal selection of Python-related news and projects that caught my attention this month (note: leading emojis are mine).

๐Ÿ“ Python Design Patterns (python-patterns.guide)
A comprehensive guide to design patterns adapted for the Python language by an eminent Pythonista.

๐Ÿ“š Python built-in functions to know (treyhunner.com)
A useful and thorough review of Python's built-in functions, classified by usefulness (according to the author).

๐ŸŽฅ Manim Community (manim.community)
A library to create mathematical animations, nice.

๐Ÿ› ๏ธ Ryven - Flow-based visual scripting for Python (ryven.org)
A framework for editing and running visual workflows.