PyCon US 2024 Recap, How LLMs Work, Explained Without Math and more
Functional Programming in Data Engineering, A first attempt at DSPy Agents from scratch with some more interesting articles, packages and projects
News
Trojan Embedded in crytic-compilers Python Package Targets Popular Blockchain Utility
Be careful with the package names when you use or else typosquatting attacks can bite you. One of the typosquatting attacks discovered by the Socket Dev Team it's for the popular crytic-compile utility package. Attackers named it with a small name change crytic-compilers.
PyCon US 2024 Recap by Katherine Michel
PyCon US is amazing; many love attending at least once. If you didn’t see this year then see it from Katherine Michel’s eyes.
# Katherine Michel
Articles
Asyncio Run Multiple Concurrent Event Loops
Until I read this article by Jason Brownlee, I didn't know that We can run multiple concurrent asyncio event loops by starting and running each new event loop in a separate thread. If you are like me then you should read this article. It's an interesting concept and it is useful if you want to use machine resources fully or want to do things in isolation.
# Jason Brownlee
Functional Programming in Data Engineering with Python — Part 1
Some people talk about functional programming and they throw words like Monoids, currying, etc. If you don’t have an idea about them and want to get an idea then you should check this article by Stephen David-Williams. He covered many concepts with amazing examples. He wrote a 2 part series, the next one you will find here.
# Stephen David-Williams
A first attempt at DSPy Agents from scratch
Now the agent concept is at the centre of the AI/LLM world. If you want to know how we can build them then you should check this article. Bill Chambers explained with simple examples and showed how we can do it using the DSPy framework.
# Bill Chambers
How LLMs Work, Explained Without Math
If you want to understand LLMs but don’t want to get into the complicated math part then you should check this article. Miguel Grinberg explained how models understand the words, what are tokens & Markov Chains.
# Miguel Grinberg
Master Django Caching: Boost Your Website Speed with Memcached Techniques
Ewho Ruth explained the caching concept using the restaurant analogy in this article and covered many things with examples & code using Django & memcached.
# Ewho Ruth
Simple Pretty Maps That Will Better Your Python Streamlit Skills
Streamlit is a go-to option for many data scientists. Knowledge of this framework is becoming a highly desirable skill. In this article, John Loewen explained how we can create interactive & beautiful maps using the prettymapp & Streamlit library.
# John Loewen
Mastering Python: 7 Strategies for Writing Clear, Organized, and Efficient Code
Writing clear & organized code is always better than writing complex code. Kanwal Mehreen covered 7 strategies to write code better. 2nd point/strategy is tough to do everywhere but I feel everyone should imbibe rest.
# Kanwal Mehreen
Interesting Packages and Projects to explore
whitenoise - Radically simplified static file serving for Python web apps.
xonsh - 🐚 Python-powered, cross-platform, Unix-gazing shell.
pixi - Package management made easy
About Upcoming Python Events
IndyPy Panel: AI Powered by Python
Jun 11, 2024
Wagtail Space NL
Jun 12 – 14, 2024
Helsinki Python meetup
Jun 12, 2024
Django Girls Abraka Workshop 2024
Jun 13 – 14, 2024
Python Atlanta Meetup
Jun 13, 2024
PyData London 2024
Jun 14 – 16, 2024
PyCamp Leipzig 2024
Jun 15 – 16, 2024
BangPypers - Bangalore Python Users Group
Jun 15, 2024