What's up in the python and tech environment? - Issue #111
Welcome to issue #111 of What’s up in the Python and tech environment?
This newsletter is mainly intended for developers and those passionate about computers.
This week we will discuss Magika, a file-type detector in Python boosted by AI, Rye, robots.txt use on the web, AnalogJS, an Angular meta-framework, and much more! 😎
From the Python world
Google recently open-sourced Magika, a project to detect file content using deep learning techniques and outperforming most of the existing tools like libmagic.
Magika: AI powered fast and efficient file type identification
In this article, you will discover the latest changes in Flet, a framework to build cross-platform applications.
A nice blog post exploring the different datetime libraries in Python and their pitfalls. It also mentioned a new library to tackle these pitfalls.
Ten Python datetime pitfalls, and what libraries are (not) doing about it
Here is a deep dive into how Python packaging works.
Python Packaging Best Practices
In this blog post, Armin Ronacher, the creator of the Flask framework, explains why he created Rye, a Python project manager.
Note: Now Rye is maintained by Astral, the same team behind Ruff and uv.
In this article, you will discover a new serialization format to read/write your dataframes. It promises to be faster than Parquet or Feather serialization formats.
Faster DataFrame Serialization
Here is a handy library for housekeeping tasks in your data using your favorite dataframe library, Pandas. 🙂
Python: Simplify Your Data Cleaning with Pyjanitor
Here is an elegant way to test Django with pytest and some Django plugins.
Note: The article doesn’t mention it, but to use pytest in your Django application, you will need the pytest-django plugin.
How to test with Django and pytest fixtures
An interesting guide showing how to deploy a Django application with many concepts simply explained. 🙂
A nice tutorial on Python raw strings.
From the Web
The Webkit team announces the third major release of Speedometer, a tool for testing the effectiveness of browsers in displaying web pages.
Speedometer 3.0: The Best Way Yet to Measure Browser Performance
AnalogJS, a meta framework based on Angular reached version 1.0.
Codecov, a Sentry company originally focused on code coverage, has recently released a feature to help frontend developers know ahead of time performance penalties included in a new release by analyzing the Javascript bundle.
For the JavaScript/TypScript developers in the crew, here the author presents a web development stack based on Bun, what do you think?
BETH: A Modern Stack for the Modern Web
In this article, the author discusses the different flavors of the Lisp programming languages he has tested.
A few tips for measuring the performance of your PostgreSQL database.
How to measure the performance of PostgreSQL Database Server(s)?
In this article, you will discover many utilities PostgreSQL has when it comes to manipulating JSON data.
Select * From Table To JSON. How to JSON Function in SQL
An interesting blog post on the trade-offs of tests. How do we know if we write too many tests or not? Some tips can be found here.
Too much of a good thing: the trade-off we make with tests
An interesting look at the robots.txt file, where the author discusses why it exists, and why it's no longer relevant with the advent of artificial intelligence companies like OpenAI.
The text file that runs the internet
Bonus
Here is a fascinating article exploring how photos were sent over the wire in the 1930s.
How Photos Were Transmitted by Wire in the 1930s
To start the week well I am sharing with you the following picture.
This is all for this week. I hope you enjoy it and if that is the case, don’t hesitate to share it on your social media.
Take care of yourself and see you soon! 🙂