- Python Weekly
- Posts
- Python Weekly (Issue 685 January 30 2025)
Python Weekly (Issue 685 January 30 2025)
Writer RAG tool: build production-ready RAG apps in minutes
RAG in just a few lines of code? We’ve launched a predefined RAG tool on our developer platform, making it easy to bring your data into a Knowledge Graph and interact with it with AI. With a single API call, writer LLMs will intelligently call the RAG tool to chat with your data.
Integrated into Writer’s full-stack platform, it eliminates the need for complex vendor RAG setups, making it quick to build scalable, highly accurate AI workflows just by passing a graph ID of your data as a parameter to your RAG tool.
Articles, Tutorials and Talks
The video presents 10 tips to elevate Python development skills, covering topics from mastering comprehensions to efficient use of classes and functions. It aims to transform good Python developers into great ones, addressing common challenges and providing insights into advanced programming techniques.
The article discusses how to create dynamic forms in Flask using WTForms, allowing for flexible form generation based on user input or other conditions. It demonstrates techniques for adding or removing form fields dynamically, both on the server-side and client-side, enhancing the interactivity and functionality of web applications.
Discover how to test Django applications integrating large language models (LLMs) using LangChain. Learn a mock-free testing approach that enables flexibility, introspection, and seamless API updates, while ensuring robust and reliable application development.
Modifying the code that takes the user code and transforms it by installing an import hook, and rewriting the AST (abstract syntax tree).
Discover how to build an intelligent book recommendation system using the power of large language models and Python. Learn to transform book descriptions into mathematical representations that enable precise content-based matching. By the end of this course, you'll have built a recommendation engine that helps readers discover their next favorite book.
The author describes their seven-year journey with Home Assistant, detailing the evolution from a simple setup to a complex system with over 100 devices, including adaptive lighting and custom scripts. They highlight the use of AI coding assistants for configuration management and discuss future plans for implementing smart thermostatic radiator valves to improve heating efficiency in their home.
Packaging Python applications for Windows can be challenging. This post proposes "Python Bundles for Windows," a portable, lightweight convention resembling virtual environments but transferable across machines. It uses simple folder structures and scripts without new tools, offering flexibility and automation potential.
The story of the first shared library to make it into the world of low level code that lies beneath SciPy's surface.
A software developer created an automated system to split large 3D print designs into jigsaw-like segments using custom dovetail joins, enabling printing of large objects on smaller printers. By leveraging OpenSCAD and a new geometry library called Manifold, he developed a method to efficiently segment and nest print parts with improved computational performance.
Most Python developers never learned this feature, even though they use it every single day. All of the popular frameworks like Flask, FastAPI, Django, Pydantic, SQL, Alchemy; they all use Properties and Descriptors.
Understanding Django views helps you make faster progress in your project. Learn all about views and best practices for using them.
This post delves into our journey of optimizing training time using TensorFlow and Horovod, along with the development of ArrowStreamServer, our in-house library for low-latency data streaming and serving. Together, these components have allowed us to achieve a 1400x speedup in training for business critical models compared to using a single GPU with Petastorm.
Interesting Projects, Tools, and Libraries
Fully open reproduction of DeepSeek-R1.
An API-first AI assistant using Agentic RAG to search and answer questions from technical sources.
ExtractThinker is a Document Intelligence library for LLMs, offering ORM-style interaction for flexible and powerful document workflows.
Run AI Agent in your browser.
A minimal PyTorch implementation for training your own small LLM from scratch. Designed for educational purposes and simplicity, featuring efficient training, flash attention, and modern sampling techniques.
Towards Medical Small Language Models with Self-Evolved \ Slow Thinking
Upcoming Events and Webinars
Live demo on Fine-Grained Authorization in Python! Learn why hardcoded permissions fail in modern apps, and how to write dynamic policies for scoped permissions and hierarchical resources.
There will be following talks
Contextual Precision: Unleashing Super Resolution with Transformer
Facial Recognition Dates Homomorphic Encryption: A Love Story in Privacy
Web development with pyscript
Building a News Summariser on a Budget
There will be a panel discussion about AI and running AI in production.
There will be following talks
Demystifying Anomaly Detection: A Practical Guide for Time Series Data
To the Moon and back: Lessons learned from archiving my dream open source project
Our Other Newsletters |
Programmer Weekly - A free weekly newsletter for programmers.
Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.