Namespaces, Anti-Patterns, LlamaDev and more
with some more interesting news, articles, packages and projects
News
Python 3.14.0 beta 2 is here!
This release, 3.14.0b2, is the first of four planned beta releases.
PyCon NL CFP is Open
You have the chance until August 1, 2025, to submit. If you are looking to volunteer, then visit this link.
Articles
Namespaces in Python
Variables and functions have names and we use those names to refer to them, but how does Python actually keep track of them? The answer lies in namespaces. Leodanis Pozo Ramos explained this concept clearly in this Real Python article. He covered what a namespace is in Python, the concept of scope, the LEGB rule for resolving names, how globals()
and locals()
work, how to modify variables from different scopes using global
and nonlocal
, etc.
# Leodanis Pozo Ramos
Arjan Egges shared 10 common Python anti-patterns that often lead to unnecessarily complex code and explained how to avoid them with better alternatives. Some key suggestions: include using modules instead of classes with only static methods, avoiding unnecessary overrides of dunder methods and relying on Python’s built-in tools and libraries instead of reinventing solutions.
# Arjan Egges
Python Tooling at Scale: LlamaIndex’s Monorepo Overhaul
The LlamaIndex ecosystem has over 650 Python packages in a monorepo, making dependency management and publishing a challenge. To solve this, the team built LlamaDev and used uv
it for improved performance. In this post, Massimiliano Pippi explained the issues they faced, what they tried and why they ultimately created LlamaDev.
# Massimiliano Pippi
LangGraph is a powerful library for creating advanced conversational AI workflows. If you're interested in learning how to use it and want to build your own AI agent, check out the freeCodeCamp course by Vaibhav Mehra. It's a great starting point to explore LangGraph in action.
# Vaibhav Mehra
From Numbers to Narrative: How I Use Data Science to Decode Market Trends
If you’re looking to start building prediction models, stock price prediction is a great choice; it can be as simple or as complex as you want. A good starting point is this article by Altamash Ansari, where he shared how to build a basic model that predicts stock prices using historical data.
# Altamash Ansari
Interesting Packages and Projects to Explore
pyTermTk - Python Terminal Toolkit - a Spiced Up Cross Compatible TUI Library 🌶️
structlog - Structured Logging for Python
Opik - Debug, evaluate, and monitor your LLM applications, RAG systems, and agentic workflows with comprehensive tracing, automated evaluations, and production-ready dashboards
rpy2 - Python interface to the R language (embedded R)
Fused - A Python library to code, scale, and ship geospatial workflows of any size.