ioc.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
INDICATORS OF COMPROMISE (IOC) InfoSec Community within the Fediverse. Newbies, experts, gurus - Everyone is Welcome! Instance is supposed to be fast and secure.

Administered by:

Server stats:

1.3K
active users

#pythonprogramming

5 posts4 participants0 posts today

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.

huggingface.co/blog/python-tin

huggingface.coTiny Agents in Python: a MCP-powered agent in ~70 lines of codeWe’re on a journey to advance and democratize artificial intelligence through open source and open science.

👀✨ Something exciting is coming… 👀✨

Applications for the Django Girls Workshop open on Monday 16th of June!

Whether you’ve never written a line of code or are just starting out, this is your sign to learn, connect and try something new 💻💫

Ready to dive in? Learn more here: djangogirls.org/en/pyconuk/

djangogirls.orgDjango Girls PyCon UK 2025 on 20th September 2025Django Girls is a one-day workshop about programming in Python and Django aimed at women.

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.

codecut.ai/unified-dataframe-f

CodeCut · Narwhals: Unified DataFrame Functions for pandas, Polars, and PySparkStop converting everything to pandas! Instead, use Narwhals, which works with Polars, pandas, PySpark, DuckDB, and PyArrow.

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.

blog.edward-li.com/tech/compar

Edward Li's Blog · Pyrefly vs. ty: Comparing Python’s Two New Rust-Based Type CheckersA 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.

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.

realpython.com/nested-loops-py

realpython.comNested Loops in Python – Real PythonLearn 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.

vitaliihonchar.com/insights/py

Vitalii HoncharPython RAG API Tutorial with LangChain & FastAPI – Complete GuideLearn how to build a Retrieval-Augmented Generation (RAG) PDF chat service using FastAPI, Postgres pgvector, and OpenAI API in this step-by-step tutorial.

Day 1 of posting to social media until I get an offensive security research job

First, I’m going to start with what I know – Windows. I need to recreate what I had access to at Microsoft, so that starts by setting up a dev environment and finding a copy of Windows System Internals, perhaps the greatest resource for learning Windows out there. My expertise is in Windows and virtualization, so I’m going to make sure I master those areas.

Next, I don’t think I want to grind coding exercises, but I do need to shake the rust off my coding skills. I think I’m going to start with some HackTheBox challenges and find some CTFs to participate in.

Finally, my long overdue goal: learn Rust. I’m not sure if this will help immediately, as I could choose to improve my knowledge of Python. But Rust was getting more and more popular in the areas of Windows I was tasked with protecting, so I need to learn what all the fuss is about with regards to memory safety.

If anyone is on a similar journey, let’s hold each other accountable in the comments! I will be sure to document any write-ups at blog.maxrenke.com (work in progress).

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 explains the issues they faced, what they tried and why they ultimately created LlamaDev.

llamaindex.ai/blog/python-tool

www.llamaindex.aiPython Tooling at Scale: LlamaIndex’s Monorepo Overhaul — LlamaIndex - Build Knowledge Assistants over your Enterprise DataLlamaIndex is a simple, flexible framework for building knowledge assistants using LLMs connected to your enterprise data.