Best of PythonMay 2025

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·50w

    LeetCode Meditations: A Visualized Tour of DSA Concepts (A Handbook)

    A comprehensive handbook covering fundamental data structures and algorithms concepts through visual explanations and code examples. Topics include arrays, hash tables, two pointers technique, sliding window, stacks, binary search, linked lists, trees, heaps, and backtracking. Each concept is explained with practical implementations in JavaScript, TypeScript, and Python, along with time and space complexity analysis. The guide emphasizes understanding core principles rather than memorizing specific problem solutions.

  2. 2
    Article
    Avatar of communityCommunity Picks·51w

    GPT-4.1 Prompting Guide

    The post provides a comprehensive guide on GPT-4.1 prompting using the OpenAI API. It includes open-source examples, advanced techniques, and detailed walkthroughs, empowering developers to efficiently utilize GPT-4.1 capabilities. The guide also encourages sharing your own examples and insights for further learning.

  3. 3
    Article
    Avatar of hnHacker News·1y

    Social Media via SSH

    itter.sh is a unique SSH-based micro-blogging platform tailored for terminal enthusiasts who prefer simplicity over web interfaces. Users can register and log in using SSH keys, post short messages called 'eets', and interact with others through commands similar to traditional social media features. The platform emphasizes minimalism, nostalgia, and a break from algorithm-driven content.

  4. 4
    Article
    Avatar of huggingfaceHugging Face·51w

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

    The post introduces a method to create MCP-powered agents in Python, highlighting a simplified setup for integrating external tools with large language models (LLMs). By using the Model Context Protocol (MCP), these agents can easily interact with various tools without custom integration. The guide details the setup and execution of such agents using the huggingface_hub, showcasing potential use cases and possible configurations. It emphasizes the role of the MCPClient in facilitating asynchronous connections to MCP servers, tool discovery, and execution.

  5. 5
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    Free GenAI 65-Hour Bootcamp

    The freeCodeCamp.org YouTube channel offers a free 65-hour bootcamp on Generative AI covering theoretical knowledge and practical projects. Suitable for all skill levels, it includes expert lectures and real-world applications to enhance learning. Participants gain experience in tools like Python and Jupyter, focusing on AI-powered applications for educational purposes, with modules on prompt engineering, backend API creation, and AI model fine-tuning.

  6. 6
    Article
    Avatar of singlestoreSingleStore·51w

    Build a Local AI Agent with Python, Ollama, LangChain and SingleStore

    Learn how to build a local Retrieval-Augmented Generation AI agent using Python, Ollama, LangChain, and SingleStore. This guide provides step-by-step instructions to set up the environment, prepare data, and implement a Q&A system powered by local data and models.

  7. 7
    Article
    Avatar of communityCommunity Picks·52w

    frappe/hrms: Open Source HR and Payroll Software

    Frappe HR is a comprehensive open-source HR and payroll software, offering over 13 modules for employee management, leave tracking, expense claims, and performance management. Initially part of ERPNext, it became a standalone product due to its growth and maturity. Built on the Frappe Framework, the software provides robust integration with ERPNext and features like geolocation-based attendance and a mobile app. Users can set it up on Frappe Cloud or locally using Docker and comply with development guidelines for contributing.

  8. 8
    Article
    Avatar of communityCommunity Picks·1y

    Building a Local RAG Chat App with Reflex, LangChain, Huggingface, and Ollama

    Learn how to build a privacy-focused RAG-powered chat app using Reflex, LangChain, Hugging Face, FAISS, and Ollama. This step-by-step guide covers setting up a local environment, creating an interactive chat UI, embedding search, and integrating local LLM, eliminating cloud dependencies and frontend expertise.

  9. 9
    Article
    Avatar of communityCommunity Picks·50w

    Arindam200/awesome-ai-apps: Collection of AI Applications

    A curated collection of AI application examples and tutorials featuring popular frameworks like LangChain, LlamaIndex, CrewAI, and Pydantic AI. The repository includes practical implementations of chatbots, AI agents, and LLM-powered applications, along with integration examples for various tools and APIs. It provides setup instructions, video tutorials, and welcomes community contributions for building modern AI applications.

  10. 10
    Article
    Avatar of freecodecampfreeCodeCamp·52w

    Learn LangGraph and Build Conversational AI with Python

    LangGraph is a Python framework designed to simplify the development of conversational AI applications by using graphs for managing dialogue flow. A comprehensive video course led by Vaibhav Mehra on freeCodeCamp's YouTube channel walks users through building scalable and flexible chatbots and AI agents. The course covers fundamental concepts, agent development, AI-powered systems, and integrating Retrieval-Augmented Generation for smarter responses, aiming to equip learners with practical coding skills and application development expertise.

  11. 11
    Article
    Avatar of planetpythonPlanet Python·1y

    Farewell to Michael Ryabushkin

    Michael Ryabushkin, known for his significant contributions to the Python community and his relentless support and kindness, passed away in May 2025. He was a dear friend who offered crucial support during challenging times. A memorial page has been created in his honor by the SoCal Python community.

  12. 12
    Article
    Avatar of mlmMachine Learning Mastery·1y

    Roadmap to Python in 2025

    Python remains a cornerstone for data science and machine learning in 2025. The post provides a roadmap for learning Python, from basics to advanced machine learning applications, tailored to different proficiency levels. It emphasizes the importance of mastering modern Python features, foundational data science libraries such as NumPy and Pandas, and machine learning frameworks like TensorFlow and PyTorch. The roadmap also highlights specialized tracks for data engineering, AI, web development, and emerging technologies. Staying updated with Python's evolution and leveraging AI tools can further enhance development efficiency and effectiveness.

  13. 13
    Article
    Avatar of freecodecampfreeCodeCamp·1y

    How to Build Your Own Local AI: Create Free RAG and AI Agents with Qwen 3 and Ollama

    The tutorial provides a step-by-step guide to setting up powerful AI systems locally, focusing on using Qwen 3 Large Language Models (LLMs) and the Ollama tool. It highlights the benefits of running AI models locally, including enhanced privacy, cost savings, and offline functionality. It explains the setup of a Retrieval-Augmented Generation (RAG) system to query local documents and the creation of a simple AI agent to use custom-defined tools.

  14. 14
    Article
    Avatar of dailydoseofdsDaily Dose of Data Science | Avi Chawla | Substack·51w

    Building an MCP-powered Financial Analyst

    Explore the process of building a financial analyst powered by MCP (Multi-agent CP), which integrates AI components like DeepSeek-R1 LLM and CrewAI for multi-agent orchestration. The system setup includes agents for query parsing, code writing, executing, and visualization of financial data. The tech stack utilizes various tools to create a locally functional financial analyst that can perform complex stock analysis and generate visual outputs.

  15. 15
    Article
    Avatar of communityCommunity Picks·1y

    tcsenpai/keyfleur: API Keys made beautiful

    Keyfleur is a unique API key generator that blends beauty and structure into each token. It allows users to generate keys in various poetic and thematic formats such as haiku, steampunk sigils, and mythic mantras. Themes and modes provide customizable vocabulary and structural styles, enhancing use cases in games and design prototypes.

  16. 16
    Article
    Avatar of codemotionCodemotion·1y

    Top 10 online platforms to practice Python every dev should know

    Discover ten top online platforms for practicing Python, catering to both beginners and experienced developers. These platforms offer a range of exercises, from basic tutorials to advanced algorithm challenges, and provide diverse learning experiences with mentors, community support, or self-paced practice.

  17. 17
    Article
    Avatar of communityCommunity Picks·1y

    AI documentation you can talk to, for every repo

    DeepWiki offers AI-powered, interactive documentation for all repositories, providing real-time information like Deep Research for GitHub. It leverages advanced technologies like SVG, Canvas, and HTML to deliver visually rich content. The platform is built to enhance the way documentation is accessed and utilized by developers.

  18. 18
    Article
    Avatar of javarevisitedJavarevisited·1y

    Top 5 Courses to Learn LangChain and Build AI-Powered Apps in 2025

    LangChain is a popular framework for connecting large language models (LLMs) like OpenAI’s GPT-4 to applications, enabling the creation of intelligent AI-powered apps such as chatbots and AI agents. The post lists the top 5 Udemy courses for learning LangChain in 2025, ranging from beginner-level introductions to advanced enterprise-level integrations with tools like Pinecone, LlamaIndex, and vector databases.

  19. 19
    Article
    Avatar of tdsTowards Data Science·1y

    Real-Time Interactive Sentiment Analysis in Python

    The post demonstrates creating a real-time interactive sentiment analysis application using Python. It details setting up the GUI with customtkinter and dynamically visualizes sentiment through a procedurally generated smiley face using OpenCV. Pre-trained transformer models from the transformers library are used for sentiment prediction, and visual updates are processed asynchronously using thread pools to ensure smooth UI performance.

  20. 20
    Article
    Avatar of hnHacker News·1y

    evroon/bracket: Selfhosted tournament system

    Bracket is a self-hosted tournament system designed for easy use, leveraging async Python with FastAPI for the backend and Next.js with Mantine for the frontend. It supports various tournament formats such as single elimination, round-robin, and swiss, and allows for dynamic scheduling and management of tournaments and teams. The system can be run using Docker or independently with pipenv and yarn, and is configured using .env files or environment variables.

  21. 21
    Article
    Avatar of 0xdf0xdf hacks stuff·1y

    Python Tools and Scripts w/ UV CheatSheet

    UV is a new tool for Python developers that enhances various aspects of the ecosystem such as packaging, project management, tool installation, and virtual environment management. It can replace numerous existing tools like pip, pip-tools, poetry, and virtualenv, providing faster and more efficient functionality. This post guides users on how to leverage UV for installing and running Python applications effectively.

  22. 22
    Article
    Avatar of infosecwriteupsInfoSec Write-ups·51w

    How to Build a Secure Password Manager in Python

    This guide provides a step-by-step approach to building a secure password manager using Python. It covers key components such as encryption with the cryptography library, data storage using SQLite, and secure handling of master passwords. The project aims to enhance cybersecurity knowledge through practical implementation, while emphasizing security best practices.

  23. 23
    Article
    Avatar of lobstersLobsters·1y

    XKCD's "Is It Worth the Time?" Considered Harmful

    The post argues against the mindset that tasks should only be automated if it saves time immediately. It emphasizes that automating even simple tasks can develop skills and confidence, which are beneficial for automating more complex tasks in the future. Building an engineering culture that values automation can lead to greater efficiency and innovation over time.

  24. 24
    Video
    Avatar of TechWithTimTech With Tim·1y

    3 Python AI Projects for Beginners - Full Tutorial

    Learn to build three beginner-friendly Python AI projects: an AI agent, a resume critiquer, and an image classifier. The tutorial covers setting up the environment using UV, using Langchain and TensorFlow, and utilizing Streamlit for user interfaces. Each project introduces tools and techniques for building adaptable AI models.

  25. 25
    Article
    Avatar of faunFaun·1y

    Hands-On AI for DevOps: A Builder’s Series

    The introduction to a series exploring AI-augmented systems in DevOps. It explains how AI is transforming traditional methods into intelligent automation, enabling systems to adapt, learn, and support workflows. The post outlines the benefits of AI in DevOps, such as summarizing alerts, generating configurations from natural language, reviewing pull requests, and debugging pipelines.