Tomorrow newsletter will be out. Interesting stuff by @marcogorelli Fredrik Sjöstrand @huggingface Ian Eyre(@realpython) @treyhunner covered
https://newsletter.piptrends.com/p/tiny-agents-text-editor-in-7-minutes
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.
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.
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: https://djangogirls.org/en/pyconuk/
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/
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
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.
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.
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.
Something is really wrong: why dafuq Python returns a result of magic __index__ when I am using method hex on my object
What the
#Python #PythonProgramming
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.
https://www.llamaindex.ai/blog/python-tooling-at-scale-llamaindex-s-monorepo-overhaul
Staying updated on Python package changes can be tough. That’s why we built the Recent Noteworthy Releases feature on pipTrends.com - it tracks major and minor updates for the top 5000 packages. Shout-out to Tarun Kolli for the great implementation. You have any ideas for pipTrends, Let us know!
Writing your own CUPS printer driver in 100 lines of Python
This week's newsletter will be out tomorrow. Interesting stuff by
@trailofbits yakimka, Leapcell, Ahmad Sadeddin & Nathan Goldbaum covered
https://newsletter.piptrends.com/p/pypis-test-suite-81-faster-interactive