What's up in the python and tech environment? - Issue #128
Welcome to issue #128 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 Pytest, Django, security, OpenAI and Mistral AI new light models, DNS, web development, internet accessibility for blind people, and more! 🥸
From the Python world
A PyPI administrator explains how his GitHub personal access token leaked and reminds us about best security practices.
Incident Report: Leaked GitHub Personal Access Token
This article explains how Uncle Bob's ideas can be applied to Python code.
My personal view is that there is a balance to be struck between procedural and object-oriented code.😉
How to Apply Uncle Bob’s Clean Code Principles in Python
A nice collection of Django books.
Here is an interesting blog post on how to upload files with Django Rest Framework.
File Uploads with Django & DRF
Even if the tip demonstrated in this article applies to Django, it can be easily adapted for any project where you want to run slow tests last.
Optimizing Test Execution: Running live_server Tests Last with Pytest
In this blog post, you will discover some libraries to speed up your testing code.
Testing with Python (part 7): ...until you make it
A complete guide on Python mappings.
Python Mappings: A Comprehensive Guide
A small tip to dynamically import Python objects using strings.
Python: Import by string with pkgutil.resolve_name()
A nice tip to run a Uvicorn server in the background. The idea can probably be replicated in other web frameworks.
Starting and Stopping `uvicorn` in the Background
A nice project to keep your computer awake.
From the Web
OpenAI, the company behind ChatGPT announced a new model GPT-4o-mini to replace GPT-3.5 Turbo with a lower price.
GPT-4o mini: advancing cost-efficient intelligence
In the open-source land of Large Language Models, Mistrai AI announced Mistral Nemo, a light and powerful model.
JetBrains introduced Grazie, an AI companion for writing.
Introducing Grazie – The AI Writing Companion for People in Tech
JetBrains is currently conducting a developer survey, it would be awesome if you could participate to have as much insights as possible 🙂
A tutorial on how to get a Let’s Encrypt certificate for your web application.
Adding a wildcard Let’s Encrypt certificate to your server without a web server
A poignant story about internet accessibility for blind people.
Coding accessibility: Software by the blind, for the blind
A guide on how to create responsive images for your website.
Creating responsive images with srcset, sizes, and <picture>
A comprehensive guide about CSS length units.
This article presents Vitest, a test framework by the creators of Vite.
An advanced guide to Vitest testing and mocking
An interesting article on the capacity of human beings to keep focus on a day.
How do you program for 8h in a row?
In this blog post, you will discover a performance improvement brought by PostgreSQL 17.
Combining I/Os in PostgreSQL 17
A gentle introduction to DNS.
The Basics of DNS: Understanding the Internet's Directory Service
Bonus
To start the week well I am sharing with you the following picture. This time, it is related to a major outage affecting Windows machines equipped with the CrowdStrike security software.
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! 🙂