What's up in the python and tech environment? - Issue #117
Welcome to issue #117 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 LogFire, Python Cloudflare Workers, URLs, Notebooks usage, documentation, terminals and much more!
From the Python world
Cloudflare, a company most known for its Content Delivery Network (CDN), recently announced support for Python for their Cloudflare Workers, a serverless environment to deploy code.
Bringing Python to Workers using Pyodide and WebAssembly
The creator of Pydantic, a popular data validation library in Python, announced Logfire, an observability platform for Python projects (at least for the moment) based on OpenTelemetry.
Here, you will see a nice practice to enforce rules and spread knowledge about a project.
Use weird tests to capture tacit knowledge
A nice tutorial summarizing all the special methods you can use in a Python class.
In this article, the author presents his library to accelerate static file collection in a Django application.
Speed up Django's collectstatic command with Collectfasta
A fun way to learn the built-in turtle Python library.
Build a Python Turtle Game: Space Invaders Clone
This article reminds us that analyzing URLs is complicated in general, and even more so in Python, where the standard library has its shortcomings. It proposes a new library that is faster and more respectful of specifications.
For those using the Numba library, are you sure to use it right? if not, I encourage you to read this article. 😉
The wrong way to speed up your code with Numba
In this article, you will discover libraries to handle grammar in Python.
4 Ways to Correct Grammar with Python
An overview of project documentation with Sphinx.
Step by Step Basics: Code Autodocumentation
Here is a nice tutorial to use the ubiquitous requests library efficiently.
3 Ways to Make HTTP Calls with Python Requests (Beginner to Advanced)
From the Web
In this article, the author reminds us not to abuse feature flags in our projects. They can add a significant burden when overused.
Feature flags are ruining your codebase
For the data scientists reading this newsletter, please don’t run your Notebooks in production! I hope this article will explain well why it is a bad idea. 🙂
Delve 1: The (Hidden) Danger of Notebooks in Production
A small PostgreSQL geodata tip 😉
PostgreSQL. How to calculate the distance between two cities based on their corresponding GPS data?
In this article, the author shows that despite their age, terminal emulators continue to evolve and innovate to offer developers the best possible user experience.
Here is a good reminder about the box model in CSS.
Here is a nice introduction to the WebGPU JavaScript API.
WebGPU — Tutorial 1: “Hello World!
A nice guide about software lifecycle.
How Do Open Source Software Lifecycles Work?
Here the author reminds us that we should know the target of our documentation to be sure it will be useful.
Know your (documentation) audience
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 that is the case, don’t hesitate to share it on your social media.
Take care of yourself and see you soon! 🙂