- Python Weekly
- Posts
- Python Weekly (Issue 661 August 1 2024)
Python Weekly (Issue 661 August 1 2024)
Python Weekly - Issue 661
Python Weekly
Welcome to issue 661 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.
News
Excel and Python users can now run their Python-powered projects in Excel locally with the Anaconda Code add-in.
This PEP proposes a new file format for dependency specification to enable reproducible installation in a Python environment. The format is designed to be human-readable and machine-generated. Installers consuming the file should be able to evaluate each package in question in isolation, with no need for dependency resolution at install-time.
Articles, Tutorials and Talks
Unravel a mysterious network bandwidth issue in QuestDB's primary-replica replication was identified and resolved. Learn about the tools and techniques used, including Rust for packet capture and Python with Polars for data analysis, to optimize network performance.
A guide on how to understand the performance of your battery with modelling and improve it.
The article outlines the common components and architecture of a generative AI platform, discussing how to enhance context input, implement guardrails, add model routing and gateways, optimize with caching, and incorporate complex logic and write actions. It provides a comprehensive guide for building and scaling AI applications, emphasizing the importance of observability and orchestration in managing these complex systems.
The article explains how to use the git log -L command to trace the evolution of a specific function in a Python file, providing a more focused view of code changes over time. It demonstrates the process using an example from the Authlib package, highlighting the importance of setting up .gitattributes for Python files and showcasing how this method can help in debugging and understanding code history.
The article introduces tea-tasting, a Python package for statistical analysis of A/B tests, offering features like Student's t-test, Bootstrap, CUPED, and power analysis. It highlights the package's support for various data backends, extensible API, convenient framework for minimizing errors, and detailed documentation, making it a comprehensive tool for experiment analysis.
We'll create a full-stack application using React.js frontend and a Django REST API, using the awesome Django Ninja (Much nicer than Django REST framework), including user authentication.
Interesting Projects, Tools and Libraries
Modern web applications in pure Python. Built on solid web foundations, not the latest fads - with FastHTML you can get started on anything from simple dashboards to scalable web applications in minutes.
A tool for working with stacked PRs on github.
Deep inspection of Python objects.
An interactive HTML pretty-printer for machine learning research in IPython notebooks.
Theorem Proving in Lean using Language Models.
Automate development gruntwork like code reviews, patching and documentation with LLM workflows.
Agent Zero is an AI framework designed for creating general-purpose assistants capable of handling a wide range of tasks through a highly customizable and extensible system. It emphasizes dynamic learning, multi-agent cooperation, and the use of computer tools to accomplish tasks, all while being open-source and adaptable to user needs.
Run PyTorch LLMs locally on servers, desktop and mobile.
Reducing alert fatigue for on-call engineers.
Dioptra is a software test platform for assessing the trustworthy characteristics of artificial intelligence (AI).
Process and curate unstructured data using local ML models and LLM calls.
New Releases
This release includes the following announcements:
Improved Python discovery using python-environment-tools
Inline variable values shown in source code
Improvements to the VS Code Native REPL for Python
Upcoming Events and Webinars
There will be following talks
Building a Gesture-Controlled Robotic Arm with IoT and Python
Building trip itinerary planner with RAG
Abstractly reasoning - failing with an LLM
There will be following talks
GenAI Image Interaction: a next step beyond LLM text chatbots
Emerging best practices in Analyzing Usage Patterns and Quantifying Quality Metrics for GenAI Products
Our Other Newsletters
- A free weekly newsletter for programmers.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.