Python

[ follow ]
Python
fromDEV Community
1 day ago

I Wrapped My Free npm Package as a Paid REST API - Here's the Architecture

A REST API solves the cross-language accessibility problem that npm packages face, enabling Python, Ruby, PHP developers and no-code tools to access textlens functionality without maintaining multiple codebases.
Python
fromRealpython
13 hours ago

Exploring Basic Data Types in Python Quiz - Real Python

A 12-question interactive quiz assesses understanding of Python data types including numeric, string, and Boolean types, their representation, and built-in functions.
Python
fromRealpython
11 hours ago

Build Your Weekly Python Study Schedule: 7 Days to Consistent Progress - Real Python

Create a sustainable weekly Python study schedule using three steps: clarify goals, design a realistic plan, and apply behavioral psychology to build lasting habits.
Python
fromRealpython
1 day ago

Downloading Files From URLs With Python - Real Python

Python enables efficient file downloads from URLs using urllib and requests libraries, with streaming and parallel processing options for improved performance.
Python
fromRealpython
2 days ago

Spyder: Your IDE for Data Science Development in Python - Real Python

Spyder is an open-source Python IDE optimized for data science, offering powerful plotting, profiling capabilities, and integration with the data science ecosystem.
Python
fromInfoQ
3 days ago

Google Open-Sources the Common Expression Language for Python

Google open sourced CEL-expr-python, a Python implementation of the Common Expression Language for policy enforcement, data validation, and dynamic configuration with improved consistency and maintainability.
fromRealpython
2 days ago

Speed Up Python With Concurrency Quiz - Real Python

You'll explore how I/O-bound programs face latency, which concurrency patterns to use, the differences between threading, asyncio, and multiprocessing, and how the Global Interpreter Lock (GIL) affects Python programs.
Python
Python
fromPyImageSearch
2 days ago

Build DeepSeek-V3: Multi-Head Latent Attention (MLA) Architecture - PyImageSearch

Multi-Head Latent Attention (MLA) reduces computational and memory costs of traditional attention mechanisms by introducing a latent representation space while preserving contextual understanding.
Python
fromRealpython
5 days ago

Your Python Coding Environment on Windows: Setup Guide Quiz - Real Python

An 11-question interactive quiz assesses knowledge of Python development environment setup on Windows, covering system configuration, package management, and workflow optimization.
Python
fromRealpython
6 days ago

Episode #287: Crafting and Editing In-Depth Tutorials at Real Python - The Real Python Podcast

Real Python's editorial process involves multiple review stages ensuring technical accuracy and educational effectiveness through coordinated roles of curators, reviewers, and quality assurance specialists.
Python
fromThe JetBrains Blog
6 days ago

Python Unplugged on PyTV Recap | The PyCharm Blog

PyCharm hosted Python Unplugged, a free online community conference on March 4th, 2026, featuring 15 speakers and 7.5 hours of content to make Python conferences accessible globally.
Python
fromRealpython
6 days ago

Working With Files in Python Quiz - Real Python

A 12-question interactive quiz assesses proficiency in Python file and directory operations including opening, iterating, filtering, creating, deleting, copying, and renaming files.
Python
fromRealpython
1 week ago

Threading in Python Quiz - Real Python

An interactive 10-question quiz assesses understanding of Python threading concepts including thread creation, ThreadPoolExecutor, locks for race condition prevention, and queue-based producer-consumer patterns.
Python
fromRealpython
1 week ago

Pydantic AI: Build Type-Safe LLM Agents in Python - Real Python

Pydantic AI is a Python framework for building LLM agents that return validated, structured outputs using Pydantic models with automatic type safety and validation.
Python
fromZDNET
1 week ago

This free Linux app lets you make memes in seconds - no GIMP required

Memerist is a free, user-friendly Linux application that simplifies meme creation without requiring complex tools like GIMP, available as a Flatpak on most Linux distributions.
Python
fromRealpython
1 week ago

Working With APIs in Python: Reading Public Data - Real Python

Python with the Requests library enables efficient consumption of REST, SOAP, and GraphQL APIs through HTTP communication, supporting various authentication methods like API keys and OAuth.
Python
fromRealpython
1 week ago

Python Gains frozendict and Other Python News for March 2026 - Real Python

Python 3.15 will include frozendict as a built-in immutable, hashable dictionary type, with PEP 814 accepted by the Steering Council in February.
fromRealpython
1 week ago

Python Descriptors: An Introduction Quiz - Real Python

By working through this quiz, you'll revisit the descriptor protocol, how .__get__() and .__set__() control attribute access, and how to implement read only descriptors. You'll also explore data vs. non-data descriptors, attribute lookup order, and the .__set_name__() method.
Python
Python
fromRealpython
1 week ago

Pydantic AI: Build Type-Safe LLM Agents in Python Quiz - Real Python

An interactive quiz assesses knowledge of Pydantic AI, covering type-safe LLM agents, model providers, structured outputs, tool registration, dependency injection, and production trade-offs.
Python
fromPyImageSearch
1 week ago

DeepSeek-V3 Model: Theory, Config, and Rotary Positional Embeddings - PyImageSearch

DeepSeek-V3 introduces revolutionary architectural innovations including Multihead Latent Attention that reduces KV cache memory by 75% while maintaining model quality, addressing critical challenges in inference efficiency, training cost, and long-range dependency capture.
Python
fromRealpython
1 week ago

Python Stacks, Queues, and Priority Queues in Practice Quiz - Real Python

An 11-question quiz tests understanding of Python stacks, queues, priority queues, and their real-world applications in traversal and system architecture.
Python
fromRealpython
1 week ago

How to Use Git: A Beginner's Guide Quiz - Real Python

A 14-question quiz tests understanding of Git fundamentals including repository initialization, staging changes, commits, and project history inspection.
Python
fromRealpython
2 weeks ago

How to Use the OpenRouter API to Access Multiple AI Models via Python - Real Python

OpenRouter provides a unified API to access thousands of AI models from multiple providers through a single Python interface, eliminating the need to manage separate APIs and authentication schemes.
Python
fromMedium
2 weeks ago

Claude Code + Figma =

Claude Code and Figma now support two-way communication, enabling designers to publish designs from Claude to Figma, make changes, and sync updates back to the coded version.
Python
fromThe JetBrains Blog
2 weeks ago

Cursor Joined the ACP Registry and Is Now Live in Your JetBrains IDE | The JetBrains AI Blog

Cursor AI agent is now available in JetBrains IDEs through the Agent Client Protocol, providing agentic AI capabilities within professional development environments.
Python
fromTreehouse Blog
2 weeks ago

Python for Data: A SQL + Pandas Mini-Project That Actually Prepares You for Real Work

Effective data analysis requires combining SQL and Python skills in integrated projects that mirror real-world workflows, not learning them in isolation.
Python
fromRealpython
2 weeks ago

Duck Typing in Python: Writing Flexible and Decoupled Code Quiz - Real Python

An interactive quiz assesses understanding of duck typing in Python, covering its definition, advantages, disadvantages, behavior-based interfaces, protocols, special methods, and alternative approaches.
fromRealpython
2 weeks ago

What Does Python's __init__.py Do? - Real Python

A directory without an __init__.py file becomes a namespace package, which behaves differently from a regular package and may cause slower imports. You can use __init__.py to explicitly define a package's public API by importing specific modules or functions into the package namespace.
Python
Python
fromPyImageSearch
2 weeks ago

SAM 3 for Video: Concept-Aware Segmentation and Object Tracking - PyImageSearch

SAM3 extends beyond static image segmentation to video by maintaining streaming memory and tracking state, enabling unified detection, segmentation, and tracking across frames while preserving object identity over time.
Python
fromRealpython
2 weeks ago

Automate Python Data Analysis With YData Profiling - Real Python

YData Profiling generates interactive exploratory data analysis reports with summary statistics, visualizations, and data quality warnings from pandas DataFrames in just a few lines of code.
fromRealpython
2 weeks ago

Episode #286: Overcoming Testing Obstacles With Python's Mock Object Library - The Real Python Podcast

Mocking in Python with unittest.mock allows you to simulate complex logic or unpredictable dependencies, such as responses from external services. The Mock class can imitate real objects, and the patch() function lets you temporarily substitute mocks for real objects in your tests.
Python
fromRealpython
2 weeks ago

Hands-On Python 3 Concurrency With the asyncio Module Quiz - Real Python

This quiz sharpens your intuition for Python's asyncio module. You'll decide when async is the right tool, see how the event loop schedules work, and understand how coroutines pause and resume around I/O.
Python
Python
fromPyImageSearch
3 weeks ago

Vector Search Using Ollama for Retrieval-Augmented Generation (RAG) - PyImageSearch

Retrieval-Augmented Generation (RAG) augments LLMs with retrieved context from vector search (FAISS) to produce accurate, up-to-date, evidence-grounded responses.
fromRealpython
3 weeks ago

Episode #285: Exploring MCP Apps & Adding Interactive UIs to Clients - The Real Python Podcast

Episode Sponsor: Den is a member of the MCP Steering Committee and a Core Maintainer focusing on auth and security. He explains how MCP acts as a universal bridge, providing AI models with the real-time context they need. He shares insights on working with MCP Apps and moving beyond simple text to render web-based user interfaces directly in your chat window.
Python
Python
fromInfoWorld
3 weeks ago

Python's popularity slip: Here's what we know

Python's popularity is declining because older rival languages are gaining ground, even as practical tools and techniques simplify local development and package sharing.
Python
fromMicrosoft for Python Developers Blog
4 weeks ago

Python Environments Extension for VS Code - Microsoft for Python Developers Blog

VS Code Python now offers a unified environments extension that discovers, manages, and creates environments and packages across major tools with minimal setup.
Python
fromThe JetBrains Blog
4 weeks ago

LangChain Python Tutorial: 2026's Complete Guide | The PyCharm Blog

LangChain provides a high-level framework for building LLM-powered agents that combine models and tools, supporting multiple providers and static or dynamic agent models.
Python
fromThepythoncodingstack
4 weeks ago

When "It Works" Is Not Good Enough * Live Workshops

Live, hands-on Python workshops teach dunder methods, iteration, and inheritance concepts to deepen understanding and improve robust, efficient coding; bundle available for $100.
Python
fromPycoders
4 weeks ago

PyCoder's Weekly | Issue #722

Practical Python tools and resources cover itertools for data science, circular-import debugging, unittest.mock testing techniques, and CI analytics for GitHub Actions optimization.
fromRealpython
4 weeks ago

Write Python Docstrings Effectively - Real Python

Writing clear, consistent docstrings in Python helps others understand your code's purpose, parameters, and outputs. In this video course, you'll learn about best practices, standard formats, and common pitfalls to avoid, ensuring your documentation is accessible to users and tools alike. By the end of this video course, you'll understand that:
Python
fromPyImageSearch
1 month ago

Vector Search with FAISS: Approximate Nearest Neighbor (ANN) Explained - PyImageSearch

In the previous lesson, you learned how to turn text into embeddings - compact, high-dimensional vectors that capture semantic meaning. By computing cosine similarity between these vectors, you could find which sentences or paragraphs were most alike. That worked beautifully for a small handcrafted corpus of 30-40 paragraphs. But what if your dataset grows to millions of documents or billions of image embeddings? Suddenly, your brute-force search breaks down - and that's where Approximate Nearest Neighbor (ANN) methods come to the rescue.
Python
Python
fromRealpython
1 month ago

TinyDB: A Lightweight JSON Database for Small Projects - Real Python

TinyDB is a lightweight, pure-Python, document-oriented NoSQL database storing JSON documents and offering simple CRUD for small, local, single-process projects.
Python
fromPybites
1 month ago

We're Launching 60 Rust Exercises Designed For Python Devs - Pybites

Rust is not inherently harder than Python; with Python-to-Rust concept bridges and focused exercises, Python developers can learn Rust faster.
fromVue.js Jobs
1 month ago

Full Stack Engineer (focus on Python) at zuehlke - VueJobs

Founded in Switzerland in 1968, Zühlke is owned by its partners and located across Europe and Asia. We are a global transformation partner, with engineering and innovation in our DNA. We're trusted to help clients envision and build their businesses for the future - to run smarter today while adapting for tomorrow's markets, customers, and communities. Our multidisciplinary teams specialise in tech strategy and business innovation, digital solutions and applications,
Python
#local-llms
fromRealpython
1 month ago
Python

Episode #284: Running Local LLMs With Ollama and Connecting With Python - The Real Python Podcast

fromRealpython
1 month ago
Python

Episode #284: Running Local LLMs With Ollama and Connecting With Python - The Real Python Podcast

Python
fromPythonmorsels
1 month ago

Setting default dictionary values in Python

Use dict.get for non-mutating default lookups, dict.setdefault to initialize and return missing keys, and dict.fromkeys to initialize multiple keys.
Python
fromRealpython
1 month ago

Python's list Data Type: A Deep Dive With Examples Quiz - Real Python

Practice Python list operations including indexing, slicing, in-place updates, list methods, reversing, list() constructor, len(), and shallow vs deep copies.
fromThe JetBrains Blog
1 month ago

Python Unplugged on PyTV - A Free Online Python Conference for Everyone | The PyCharm Blog

Join us on March 4th 2026, for an unforgettable, non-stop event, streamed from our studio in Amsterdam. We'll be joined live by 15 well-known and beloved speakers from Python communities around the globe, including Carol Willing, Deb Nicholson, Sheena O'Connell, Paul Everitt, Marlene Mhangami, and Carlton Gibson. They'll be speaking about topics such as core Python, AI, community, web development and data science.
Python
Python
fromRealpython
1 month ago

What Exactly Is the Zen of Python? Quiz - Real Python

An interactive quiz assesses knowledge of The Zen of Python to reinforce aphorisms and promote writing clear, maintainable, Pythonic code.
Python
fromRealpython
1 month ago

Python's pathlib Module: Taming the File System Quiz - Real Python

Use Python's pathlib module to perform common filesystem operations like path joining, iteration, file creation, writing, renaming, and extracting filename components.
Python
fromPythonmorsels
1 month ago

Need switch-case in Python? It's not match-case!

Python's match statement provides structural pattern-matching distinct from switch-case and can match iterables, dictionaries, objects, and nested patterns.
#pandas
Python
fromPycoders
1 month ago

PyCoder's Weekly | Issue #721

Text classification and compression converge via incremental compressors; Python 3.14's zstd support enables experimenting with ML through compression.
Python
fromRealpython
1 month ago

Improving Your Tests With the Python Mock Object Library - Real Python

unittest.mock enables creation, inspection, configuration, and substitution of mock objects to simplify testing of complex logic and unpredictable dependencies.
Python
fromPythonbytes
1 month ago

Commands, out of the terminal

Python ecosystem receives developer tooling and runtime improvements: a native macOS command manager, a Python tool installer, removal of subprocess busy-polling, and a minimal secure interpreter.
Python
fromRealpython
1 month ago

pandas 3.0 Lands Breaking Changes and Other Python News for February 2026 - Real Python

Python 3.15 alphas introduce UTF-8 default encoding, new profiler, PyBytesWriter, improved error messages, and JIT yielding modest performance gains.
Python
fromPyImageSearch
1 month ago

TF-IDF vs. Embeddings: From Keywords to Semantic Search - PyImageSearch

Vector databases and embeddings enable semantic search and retrieval-augmented generation by mapping text meaning into geometric vectors for similarity-based retrieval.
Python
fromEuroPython Society
1 month ago

EuroPython Society at FOSDEM 2026

EuroPython Society co-hosted a booth with the Python Software Foundation and Django Software Foundation at FOSDEM to promote EuroPython 2026, grants, and community engagement.
Python
fromRaymondcamden
1 month ago

Creating Reddit Summaries with URL Context and Gemini

Gemini's URL Context enables the model to fetch public webpage content directly, avoiding manual HTML downloads and simplifying tasks like scanning subreddit posts.
Python
fromTalkpython
1 month ago

Talk Python now has a CLI

Open-source Talk Python CLI lets users search 500+ podcast episodes, transcripts, guests, and courses from the terminal with text/JSON/markdown output.
Python
fromThepythoncodingstack
1 month ago

What's The Point of `itemgetter()` in Python? * [Club]

itemgetter provides a concise callable to extract items from sequences or mappings, offering clearer and often faster alternatives to equivalent lambda functions.
Python
fromEuroPython Blog
1 month ago

Humans of EuroPython: Jake Balas

On-site volunteers, coordinated by leaders like Jake Balas, manage badge distribution, session assistance, and logistics, enabling EuroPython's smooth multi-day operation.
fromRealpython
1 month ago

Why You Should Attend a Python Conference - Real Python

Prerequisites This guide is for all Python users who want to grow their Python knowledge, get involved with the Python community, or explore new professional opportunities. Your level of experience with Python doesn't matter, and neither does whether you use Python professionally or as a hobbyist-regularly or only from time to time. If you use Python, you're a Python developer, and Python conferences are for Python developers!
Python
fromPythonbytes
1 month ago

A bolt of Django

About the show Sponsored by us! Support our work through: Connect with the hosts Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 11am PT. Older video versions available there too. Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Python
#sam-3
#geopandas
Python
fromRealpython
1 month ago

Episode #282: Testing Python Code for Scalability & What's New in pandas 3.0 - The Real Python Podcast

Automated tests should verify algorithmic scaling (Big-O) to detect performance regressions as data grows; pandas 3.0 adds a string dtype, column operations, and Copy-on-Write.
Python
fromThepythoncodingstack
1 month ago

Planning Meals, Weekly Shop, Alternative Constructors Using Class Methods

Use alternative constructors via class methods to build Meal and WeeklyMealPlanner objects and protect internal state with read-only properties and shallow copies.
Python
fromPythonSpeed
2 weeks ago

Speeding up NumPy with parallelism

Combine CPU-core parallelism and algorithmic optimization (e.g., Numba) to substantially speed up NumPy computations and reduce memory usage.
Python
fromThe JetBrains Blog
6 months ago

The Most Popular Python Frameworks and Libraries in 2025 | The PyCharm Blog

FastAPI leads Python framework usage in 2024 with 38%, offering high-performance async APIs, type safety, auto-generated docs, and strong ML deployment support.
Python
fromThe JetBrains Blog
1 month ago

Google Colab Support Is Now Available in PyCharm 2025.3.2 | The PyCharm Blog

PyCharm now integrates Google Colab, enabling full-featured IDE workflows with Colab-hosted Jupyter notebooks inside PyCharm.
Python
fromInfoWorld
1 month ago

CPython vs. PyPy: Which Python runtime has the better JIT?

PyPy remains far faster for raw numerical workloads, but CPython's new native JIT and no-GIL builds close the gap in other workloads and enable threading.
Python
fromPythonmorsels
1 month ago

All iteration is the same in Python

All Python iteration forms use the same iterator protocol; iterating over an object yields its defined iteration items (e.g., dictionary yields keys, string yields characters).
fromEuroPython Blog
1 month ago

Humans of EuroPython: Rodrigo Girao Serrao

EuroPython depends entirely on the dedication of volunteers who invest tremendous effort into bringing it to life. From managing sponsor relationships and designing the event schedule to handling registration systems and organizing social events, countless hours of passionate work go into ensuring each year surpasses the last. Discover our recent conversation with Rodrigo Girão Serrão, who served on the EuroPython 2025 Programme Team.
Python
#django
fromPybites
1 month ago

The Missing 66% Of Your Skillset - Pybites

Bob and I have spent many years as Python devs, and 6 years coaching with Pybites and we can safely say that being a Senior Developer is only about 1/3 Python knowledge. The other 60% is the ecosystem. It's the tooling. It's all of the tech around Python that makes you stand out from the rest. This is the biggest blind spot keeping developers stuck in Tutorial Hell. You spend hours memorising obscure library features, but you crumble when asked to configure a CI/CD pipeline.
Python
Python
fromRealpython
1 month ago

Create Callable Instances With Python's .__call__() - Real Python

Define __call__ in a class to make its instances callable, enabling objects to behave like functions for flexible, reusable behavior.
Python
fromInfoWorld
1 month ago

Visual Studio Code previews incoming/outgoing changes graph

Visual Studio Code 1.91 adds an experimental incoming/outgoing changes graph and a Rust-based python-environment-tools for faster Python environment discovery.
Python
fromPythonbytes
1 month ago

Toads in my AI

Security, AI tooling, and developer ergonomics converge: GreyNoise IP checks, TOAD terminal AI front-end, tprof profiler, FastAPI AI guidelines, and container startup optimizations.
Python
fromKushal Das
1 month ago

Kushal Das

replyfast is a Python module for sending and receiving Signal messages with device registration, demo bot, scheduling support, and a Rust-based presage backend.
fromNedbatchelder
1 month ago

Testing: exceptions and caches

Kacper Borucki blogged about parameterizing exception testing, and linked to pytest docs and a StackOverflow answer with similar approaches. The common way to test exceptions is to use pytest.raises as a context manager, and have separate tests for the cases that succeed and those that fail. Instead, this approach lets you unify them. I tweaked it to this, which I think reads nicely: One parameterized test that covers both good and bad outcomes. Nice.
Python
fromRaymondcamden
1 month ago

Building a UI for Gemini File Stores

Gemini File Stores provide persistent file stores with metadata filtering to simplify RAG workflows and support GenAI-powered searches via a simple local Flask app.
#ollama
Python
fromReuven Lerner
1 month ago

Build YOUR data dashboard - join my next 8-week HOPPy studio cohort

Create shareable interactive data dashboards in Python using Marimo; HOPPy cohort teaches dashboard building with mentorship, live instruction, and modern distribution tools.
Python
fromPython Software Foundation Blog
1 month ago

Departing the Python Software Foundation (Staff)

Ee is stepping down as Director of Infrastructure at the Python Software Foundation, expressing gratitude and leaving the organization in strong technical condition.
Python
fromRealpython
1 month ago

uv vs pip: Python Packaging and Dependency Management - Real Python

Choose pip for broad compatibility and ecosystem support; choose uv for faster installs, reproducible environments, cleaner uninstalls, and streamlined new-project workflows.
fromPython Software Foundation Blog
1 month ago

Announcing Python Software Foundation Fellow Members for Q4 2025!

The PSF is pleased to announce its fourth batch of PSF Fellows for 2025 ! Let us welcome the new PSF Fellows for Q4 ! The following people continue to do amazing things for the Python community: Chris Brousseau Dave Forgac Inessa Pawson Karen Dalton Tatiana Andrea Delgadillo Garzofino Thank you for your continued contributions. We have added you to our Fellows Roster .
Python
Python
fromPyImageSearch
1 month ago

Grounded SAM 2: From Open-Set Detection to Segmentation and Tracking - PyImageSearch

Grounded SAM 2 extends Grounding DINO by adding pixel-level segmentation and video-aware tracking to convert language-driven detections into precise, persistent object masks.
Python
fromRealpython
1 month ago

How to Integrate ChatGPT's API With Python Projects - Real Python

Obtain an OpenAI API key, store it securely using environment variables or key management, and install the OpenAI Python library before making ChatGPT API calls.
fromhttps://daniel.feldroy.com
2 months ago

Writing tools to download everything

Using AI to help download photos so we can consolidate all our images into one place. Over the years, [Audrey](https://audrey.feldroy.com) and I have accumulated photos across a variety of services. Flickr, SmugMug, and others all have chunks of our memories sitting on their servers. Some of these services we haven't touched in years, others we pay for but rarely use. It was time to bring everything home.
Python
[ Load more ]