PythonHub Logo Python Hub Weekly Digest for 2024-03-10

Cover by

💖 Most Popular

hotpdf is a fast PDF parsing library to extract text and find text within PDF documents built on top of pdfminer.six

A completely free and open-source GitHub Copilot-like Project With VS Code extension.
CodeXpert is your coding companion, providing advanced language models and a privacy-centric, open-source environment for an effortless coding experience.

Advanced Web Scraping With Python: Extract Data From Any Site
This article covers how to get and manage cookies and custom headers, avoid TLS fingerprinting, recognize important HTTP headers to send in requests, and how to implement exponential-backoff HTTP request retrying.

SymPy: Symbolic Mathematics in Python

Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More
Learn about generative models and different frameworks, investigating the production of text and visual material produced by artificial intelligence.

📖 Articles

Build a typing assistant with Mistral 7B and Ollama

pydantic / FastUI
Build better UIs faster.

Build a Retrieval-Augmented Generation Chatbot in 5 Minutes
In under 5 minutes and with only 100 lines of Python code, Rohan Rao, senior solutions architect at NVIDIA, demos how large language models (LLMs) can be developed and deployed for AI chatbot applications—without needing your own GPU infrastructure.

Python in Visual Studio Code – March 2024 Release
This release includes the following announcements:

Dependency Injection Explained in 7 Minutes
This video explains why dependency injection is a game-changer for your coding projects. Creating loosely coupled code is key to making the code more flexible and more maintainable. This is all possible through the implicit use of dependencies.

Python Dependencies Are Fixable
The article critiques the current state of Python's dependency management, emphasizing the need for better defaults and user experience. Drawing parallels with Golang's successful design, the author advocates for a shift in mentality within the Pypa ecosystem to improve the default behavior of tools like Pip and suggests exploring alternatives if necessary.

JupyterLab 4.1 and Notebook 7.1 are here
JupyterLab 4.1 and Notebook 7.1 are now available! These releases include several new features, bug fixes, and enhancements for extension developers. This release is compatible with extensions supporting JupyterLab 4.0 and Notebook 7.0.

X-PLUG / MobileAgent
Mobile-Agent: Autonomous Multi-Modal Mobile Device Agent with Visual Perception

A Retrospective on Requests
python-requests has been around for a long time. I've been a maintainer for many years and I share some retrospective thoughts on the project.

Advanced Retrieval-Augmented Generation: From Theory to LlamaIndex Implementation
How to address limitations of naive RAG pipelines by implementing targeted advanced RAG techniques in Python.

Hancho – A simple and pleasant build system in ~500 lines of Python

Better PC Cooling with Python and Grafana

GPT Pilot – what we learned in 6 months of working on a CodeGen pair programmer
The article discusses the learnings from six months of working on a CodeGen pair programmer, GPT Pilot, aiming to have human developers understand the codebase and provide detailed explanations of added code to facilitate collaboration between human developers and AI in coding tasks

Deploy Mistral Large to Azure and create a conversation with Python and LangChain
Step-by-step guide to deploying Mistral Large to Azure.

frappe / frappe
Low code web framework for real world applications, in Python and Javascript

allenai / OLMo
Modeling, training, eval, and inference code for OLMo

OpenBMB / MiniCPM
MiniCPM-2B: An end-side LLM outperforms Llama2-13B.

Python Hub Weekly Digest for 2024-03-03

Why Python's Integer Division Floors (2010)

Marimo – open-source reactive Python notebook – running in WASM

Fanghua-Yu / SUPIR
SUPIR aims at developing Practical Algorithms for Photo-Realistic Image Restoration In the Wild

Graphinate. Data to Graphs.
Graphinate is a python library that aims to simplify the generation of Graph Data Structures from Data Sources.

⚙️ Projects

Mamba: The Hard Way
A post about Mamba, a recent neural architecture that can be roughly thought of as a modern recurrent neural network (RNN). The model works really well and is a legitimate competitor with the ubiquitous Transformer architecture. It has gotten a lot of attention.

Generate Synthetic Data Using OpenAI or MistralAI.

The official PyTorch implementation of Google's Gemma models.

ingestr is a CLI tool to copy data between any databases with a single command seamlessly.

Auto Prompt is a prompt optimization framework designed to enhance and perfect your prompts for real-world use cases.

Inspect and refine PATH environment variable on both Windows and Linux.

An open, modular framework for zero-shot, language conditioned pick-and-drop tasks in arbitrary homes.

DNA foundation modeling from molecular to genome scale.

👾 Reddits

Modguard - a lightweight python tool for enforcing modular design

← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.