Using IPython Jupyter Magic Commands to Improve the Notebook Experience | Stefan Krawczyk
Understanding Distributed Tracing: A Python Guide with OpenTelemetry and Grafana Tempo, Optimizing Django Applications with Advanced QuerySet with some more interesting articles, packages and projects
Using IPython Jupyter Magic Commands to Improve the Notebook Experience
We all love Jupyter notebooks that make our life easier especially for data scientists. It also has amazing functionality called Magic commands. Many are available by default, for example, %%time to measure the execution time of the cell. In this article, Stefan Krawczyk gave an understanding of magic commands and how to make custom ones.
# Stefan Krawczyk
Understanding Distributed Tracing: A Python Guide with OpenTelemetry and Grafana Tempo
If something goes wrong in your microservices-heavy application then it is hard to trace it. At that time distributed tracing helps you a lot. In this article, Jarek Orzel showed how to do it with example using Flask, OpenTelemetry & Grafana Tempo.
# Jarek Orzel
Optimizing Django Applications with Advanced QuerySet Techniques
Django is a fully loaded framework. This is a blessing but sometimes becomes a boon for performance if we use it without understanding. Aravind Srinivas gave some of the advanced techniques for Queryset to optimize database interactions in this article like select_related, prefetch_related & etc
# Aravind Srinivas
PySimpleGUI 4 will be sunsetted in Q2 2024
By the way, there is a license change also and now you can’t use PySimpleGUI for commercial purposes for free. Read more at pysimplegui.com
Ruff v0.3.0 is available now!
Some of the major Changes:
- The Ruff 2024.2 style guide (which is heavily inspired by Black's 2024 stable style guide)
- Improved multiline string formatting
- f-string placeholder formatting
- Parenthesize multiple context managers in with statements
An Introduction to Testing with Django for Python
Many developers hate writing tests but to keep your application in the best shape tests are crucial. So far you have never written tests for your Django application and want to learn how to write then read this article by Špela Giacomelli.
# Špela Giacomelli
A good tutorial to get an understanding of threads including creating and sharing data between Python Threads using data structures like queues, locks & events
Interesting Packages and Projects to explore
PyCaret - An open-source, low-code machine learning library in Python
Reflex - It’s a library to build customizable web applications in pure python like Streamlit, Taipy, Gradio etc.
Kats - Kats, a kit to analyze time series data, a lightweight, easy-to-use, generalizable, and extendable framework to perform time series analysis, from understanding the key statistics and characteristics, detecting change points and anomalies, to forecasting future trends.
Upcoming Python Events
PyCon Pakistan 2024
Mar 9 – 10, 2024
Django Girls CDO Workshop 2024
Mar 9, 2024
Leipzig Python User Group Meeting
Mar 12, 2024
Python Atlanta Meetup
Mar 14, 2024
PyCon SK 2024
Mar 15 – 17, 2024
Django Girls Eket Workshop
Mar 15 – 16, 2024
BangPypers - Bangalore Python Users Group
Mar 16, 2024