Computers are fast - Quiz, Language Models and Spatial Reasoning and more
Free-threaded CPython is ready to experiment with, The Python Language Summit 2024 with some more interesting news, articles, packages and projects
News
Free-threaded CPython is ready to experiment with!
A couple of days back, py-free-threading.github.io launched! It's both a resource with documentation around adding support for free-threaded Python, and a status tracker for the rollout across open-source projects in the Python ecosystem
The Python Language Summit 2024
The Python Language Summit occurs every year just before PyCon US begins. The summit is attended by core developers and Python implementation maintainers for a full day of talks and discussions on the future direction of Python. This year's summit included talks on the C API, free threading, the security model of Python post-xz, and Python on mobile platforms.
PSF announced New Infrastructure Engineer
DjangoCon US 2024 Talks Announced
Python 3.13.0 beta 4 released
The final beta of Python 3.13, is now available.
Articles
Computers are fast - Quiz
“Computers are fast” I guess we all agree with this statement but do you know how fast they are? If you want to know then check this quiz by Jonathon Belotti. This quiz is inspired by Julia Evans' Computers Are Fast. Interesting & fun one.
# Jonathon Belotti
Language Models and Spatial Reasoning: What’s Good, What Is Still Terrible, and What Is Improving
Spatial reasoning also called spatial awareness is the ability to understand objects in two and three-dimensional terms and draw conclusions about them with limited information. Right now LLMs are struggling in this area. Nathan Bos shared his findings based on the tests he conducted. If you want to feel proud to be a human then you should read this article 😉. Jokes apart, it's an interesting article it will give an idea of where LLMs are struggling, improving and doing a great job.
# Nathan Bos
Introducing Django Cotton: Revolutionizing UI Composition in Django!
If you are craving for a more modern, component-based design for Django templates then you should check the Django cotton package. Will Abbott shared why he built it & how to use it with examples in this article.
# Will Abbott
Working With JSON Data in Python
JSON is the most common format for the exchange of information. Python supports the JSON format through the built-in module named “json”. In this tutorial, Philipp Acsany covered how to work with JSON data in Python. Many of the things you might know already but you will learn some new things like Prettify JSON using json.dump() indentation, using json.tool how to validate JSON and minify it.
# Philipp Acsany
FastAPI Role Base Access Control With JWT
If you are building an application especially a B2B or admin portal role-based access control plays a key role. In this article, Hirusha Fernando showed how we can implement role-based access control with JWT in FastAPI.
# Hirusha Fernando
Incident Report: Leaked GitHub Personal Access Token
When we use Tokens or credentials we need to make sure we don’t commit or expose it in any way like copying/putting it in a docker image. This article is about that kind of case which happened with Ee Durbin. He immediately handled it and also shared about it. We all can learn from it.
# Ee Durbin
“Extracting wisdom” from conference videos
A lot of amazing conferences are happening all over the world and the best part is even if you can’t attend you will get those videos on YouTube. Thanks to the conference organizers for putting a lot of effort into making it available to the public. But the problem is we won’t be able to see all of them. It would be great to get the gist of each video and if we wanted to know in detail we can always go through that video right? Thank you Gonçalo Valério for sharing a way and tools to do it by ourselves.
# Gonçalo Valério
Interesting Packages and Projects to explore
OSMnx - OSMnx is a Python package to easily download, model, analyze, and visualize street networks and other geospatial features from OpenStreetMap.
Apache Libcloud - A Python library which hides differences between different cloud provider APIs and allows you to manage different cloud resources through a unified and easy-to-use API
Django Waffle - A feature flipper for Django
Python-Fiddle - Online Python Compiler, IDE, and Interpreter
Featuretools - An open source python library for automated feature engineering
About Upcoming Python Events
PyDelhi July Meetup
Jul 20, 2024
PyLadies Amsterdam - Workshop (Basic-Intermediary level)
Jul 24, 2024
PyCon Russia 2024
Jul 26 – 27, 2024
PyOhio 2024
Jul 27 – 28, 2024
PythonHo Lightening Talks meetup
Jul 27, 2024