What's up in the python and tech environment? - Issue #71
Welcome to issue #71 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 Python 3.12, Django, plotting, object-oriented programming, artificial intelligence, and many more! 🥸
From the Python world
The first beta of Python 3.12 was released last week. In the following blog post, you will know the goodies this release brings like PEP 695.
The following two links will provide an in-depth presentation of object-oriented programming in Python.
Python Classes: The Power of Object-Oriented Programming
SOLID Principles: Improve Object-Oriented Design in Python
Here is another proof (at least for me) that the asyncio API is not user-friendly. In this article, the author explains how to properly limit concurrency.
You may want to look at anyio for your asynchronous stuff wherever possible.
Limiting concurrency in Python asyncio
The following two articles show how to apply some performance optimization in Django.
Django Performance Optimization Tips
Optimize Django Query Performance by combining Select Related and Prefetch Related
A nice tutorial explaining how to leverage tools like ChatGPT to boost our productivity.
ChatGPT: Your Personal Python Coding Mentor ChatGPT
GitHub is dropping support for Python 2.7 in their CI/CD platform.
python2.7 will be removed from the python-versions on June 19
I discovered last week Trogon, a library allowing you to create terminal UI from a command-line application (CLI) written with Click. What do you think?
Trogon - Turn your Click CLI into a powerful terminal application
This PDF summarizes the evolution of MicroPython during the last decade.
Yet another plotting library for Python. The pyecharts is a wrapper around echarts, a JavaScript project, so you can use it in your web project if you like.
From the Web
I mentioned it in the Python section, but I want to mention it again here, the echarts library is for me a really good option for plotting. It supports SVG support allowing you to scale your plots across different screen sizes.
Postman, a leading API platform for building and using APIs, announced Postbot, an AI assistant.
Introducing Postbot, Postman’s new AI assistant
A curated list of resources related to large language models (LLM).
An interesting article on how to make your cookie banner accessible.
The Potentially Dangerous Non-Accessibility Of Cookie Notices
In this tutorial, the author explains in a rather atypical way the class inheritance in TypeScript.
Class-Based Inheritance in TypeScript and the Society
Terminal tips to make you work faster.
For those who don’t know, JQuery is probably the first worldwide JavaScript library adopted by web developers and it is still maintained! (and used).
Bonus
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 it is the case, don’t hesitate to share it on your social media.
Take care of yourself and see you soon! 🙂