pipTrends

@piptrends
14 Followers
1 Following
45 Posts
Get to know about a Python package or Compare Python packages download counts and their Github statistics

Gwyneth Peña-Siguenza created a 5-part video series on building scalable Python APIs with FastAPI and Azure Cosmos DB. She covered key concepts like Pydantic models, FastAPI's dependency injection, async calls using azure.cosmos.aio, batch operations and centralised exception handling.

https://devblogs.microsoft.com/cosmosdb/building-a-modern-python-api-with-azure-cosmos-db-a-5-part-video-series/

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Building a Modern Python API with Azure Cosmos DB: A 5-Part Video Series - Azure Cosmos DB Blog

Explore how to use Python with Azure Cosmos DB to build a production-ready API. Watch our video series for insights.

Azure Cosmos DB Blog
tiny-agents, Text Editor in 7 Minutes, Avoid indexes and more

with some more interesting news, articles, packages and projects

While indexes are useful, relying on them too much can be like Maslow's hammer. @treyhunner has shown some fantastic alternative methods for common tasks without constantly needing to use indexes.

https://www.pythonmorsels.com/avoid-indexes-in-python/

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Avoid indexes in Python

Python code that uses indexes can often be refactored into more readable code that doesn't rely on indexing.

The @huggingface team has created tiny-agents, a new feature that lets their huggingface_hub software act as a Model Context Protocol (MCP) Client. In their recent article, they explained how to set up these tiny agents to give new abilities to your LLMs to interact with the world and perform complex tasks.

https://huggingface.co/blog/python-tiny-agents

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Tiny Agents in Python: a MCP-powered agent in ~70 lines of code

We’re on a journey to advance and democratize artificial intelligence through open source and open science.

Pandas used to be the go-to tool for working with data. But now, there are many other excellent options available, like Polars and PySpark. If different teams in your company use different data tools, Narwhals can help. @marcogorelli showed this with a helpful example in his article.

https://codecut.ai/unified-dataframe-functions-pandas-polars-pyspark/

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Narwhals: Unified DataFrame Functions for pandas, Polars, and PySpark

Stop converting everything to pandas! Instead, use Narwhals, which works with Polars, pandas, PySpark, DuckDB, and PyArrow.

CodeCut

This week's newsletter will be out tomorrow. Interesting stuff by Racey Chan, Vitalii Honchar, Amanda Adoyi, @itamarst & Edward Li covered

https://newsletter.piptrends.com/p/rag-pyrefly-vs-ty-nested-loops-and

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

RAG, Pyrefly vs. ty, Nested Loops and Functional programming

with some more interesting news, articles, packages and projects

Last month, two new Rust-based Python type checkers, pyrefly and ty were released. Both of them are in the alpha stage. While they share some similarities, they differ significantly in design and features. In this article, Edward Li dove deep into both tools, highlighted their differences and what makes each one unique.

https://blog.edward-li.com/tech/comparing-pyrefly-vs-ty/

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Pyrefly vs. ty: Comparing Python’s Two New Rust-Based Type Checkers

A deep dive into Meta's pyrefly and Astral's ty - two new Rust-based Python type checkers that both promise faster performance and better type inference.

Edward Li's Blog

Nested loops are often discouraged, but they make perfect sense in scenarios like handling multidimensional data or generating patterns. In this @realpython article, Amanda Adoyi explained what nested loops are, shared practical examples, highlighted common pitfalls and offered tips on how to optimise them.

https://realpython.com/nested-loops-python/

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Nested Loops in Python – Real Python

Learn how to use nested loops in Python to iterate over multiple sequences and perform repeated actions efficiently in your programs.

In this article, Vitalii Honchar explained how to build AI-powered apps that can chat with uploaded PDF files. He showed how to implement Retrieval Augmented Generation (RAG) using FastAPI for the API and LangChain to interact with OpenAI.

https://vitaliihonchar.com/insights/python-rag-api

#python #Programming #PythonProgramming #ai #ml #MachineLearning #SoftwareDevelopment #WebDevelopment #TechNews #OpenSource #DataEngineering

Python RAG API Tutorial with LangChain & FastAPI – Complete Guide

Learn how to build a Retrieval-Augmented Generation (RAG) PDF chat service using FastAPI, Postgres pgvector, and OpenAI API in this step-by-step tutorial.

Vitalii Honchar
Namespaces, Anti-Patterns, LlamaDev and more

with some more interesting news, articles, packages and projects