
Python

Run MATLAB-Style Code Inside Python by Connecting Octave with the oct2py Library
In this tutorial, we explore how we can seamlessly run MATLAB-style code inside Python by connecting Octave with the oct2py library. We set up the environment on Google Colab, exchange data between NumPy and Octave, write and call .m files, visualize plots generated in Octave within Python, and even work with toolboxes, structs, and .mat…
GitHub – YuminosukeSato/pyproc: Call Python from Go without CGO or microservices – Unix domain socket based IPC for ML inference and data processin
Run Python like a local function from Go — no CGO, no microservices. 🎯 Purpose & Problem Solved Go excels at building high-performance web services, but sometimes you need Python: Machine Learning Models: Your models are trained in PyTorch/TensorFlow Data Science Libraries: You need pandas, numpy, scikit-learn Legacy Code: Existing Python code that’s too costly…

How to Build a Multilingual OCR AI Agent in Python with EasyOCR and OpenCV
class AdvancedOCRAgent: “”” Advanced OCR AI Agent with preprocessing, multi-language support, and intelligent text extraction capabilities. “”” def __init__(self, languages: List[str] = [‘en’], gpu: bool = True): “””Initialize OCR agent with specified languages.””” print(“🤖 Initializing Advanced OCR Agent…”) self.languages = languages self.reader = easyocr.Reader(languages, gpu=gpu) self.confidence_threshold = 0.5 print(f”✅ OCR Agent ready! Languages: {languages}”) def…

Building a Speech Enhancement and Automatic Speech Recognition (ASR) Pipeline in Python Using SpeechBrain
In this tutorial, we walk through an advanced yet practical workflow using SpeechBrain. We start by generating our own clean speech samples with gTTS, deliberately adding noise to simulate real-world scenarios, and then applying SpeechBrain’s MetricGAN+ model to enhance the audio. Once the audio is denoised, we run automatic speech recognition with a language model–rescored…

Meet Elysia: A New Open-Source Python Framework Redefining Agentic RAG Systems with Decision Trees and Smarter Data Handling
If you’ve ever tried to build a agentic RAG system that actually works well, you know the pain. You feed it some documents, cross your fingers, and hope it doesn’t hallucinate when someone asks it a simple question. Most of the time, you get back irrelevant chunks of text that barely answer what was asked….

Building Event-Driven AI Agents with UAgents and Google Gemini: A Modular Python Implementation Guide
In this tutorial, we demonstrate how to use the UAgents framework to build a lightweight, event-driven AI agent architecture on top of Google’s Gemini API. We’ll start by applying nest_asyncio to enable nested event loops, then configure your Gemini API key and instantiate the GenAI client. Next, we’ll define our communication contracts, Question and Answer…

SoCal Python | In Memoriam: Michael
In early May of 2025, the long-standing SoCal Python organizer Michael Ryabushkin—known to many as goodwill—passed away. As possibly the person most responsible for years of thriving of the group and its surrounding community, he had an impact on many of us, both professionally and personally. In light of that, this page is a collection…
GitHub – ariebovenberg/whenever: ⏰ Modern datetime library for Python
Typed and DST-safe datetimes for Python, available in Rust or pure Python. Do you cross your fingers every time you work with Python’s datetime—hoping that you didn’t mix naive and aware? or that you avoided its other pitfalls? There’s no way to be sure… ✨ Until now! ✨ Whenever helps you write correct and type…

Fine-Tuning Llama 3.2 3B Instruct for Python Code: A Comprehensive Guide with Unsloth
In this tutorial, we’ll walk through how to set up and perform fine-tuning on the Llama 3.2 3B Instruct model using a specially curated Python code dataset. By the end of this guide, you’ll have a better understanding of how to customize large language models for code-related tasks and practical insight into the tools and…

How to Control NeoPixel Installations via Wi-Fi Using Fishino and NodeMCU with Python – Open Electronics
We create NeoPixel light installations with Fishino and NodeMCU controlled via Wi-Fi from a PC or Raspberry Pi using a Python library. A few years ago, the American company Adafruit Industries transformed the LED market by introducing NeoPixels, RGB LEDs that incorporate their own controller in a single package. Adafruit aimed to simplify LED management…