Skip to content
Hrushiekesh Reddy Kanjula

#python

Tagged posts

12 posts tagged with "python".

May 4, 2026

·

~6 min read

·engineering

Rotation Heuristics in SMT Assembly: Why We Still Guess, and How IPC-2581 Fixes It

A 180-degree rotation error on a polarized capacitor causes a short circuit. A three-tier heuristic system catches most of them. The IPC-2581 standard would make the whole problem obsolete.

smtmanufacturingpythonipc-2581heuristicspcb

April 27, 2026

·

~7 min read

·engineering

Simulating Physics in Python: Vacuum Nozzle Validation for SMT Assembly

Every component on a PCB has a physical body width. Every nozzle has an outer diameter. If the nozzle is too large, it drops the part. Here is the 1,600-line async pipeline that validates this at scale.

pythonasynciomanufacturingsmtphysicsvalidation

April 6, 2026

·

~7 min read

·engineering

From Raw Machine Logs to Predictive Maintenance: Time-Series Analytics in SMT

Raw machine telemetry tells you what happened. Time-series analytics tells you what is about to happen. Here is how First-Pass Yield, rolling defect rates, and SQL-driven root cause analysis work together.

pythonsqltime-seriesanalyticsmanufacturingpredictive-maintenance

March 30, 2026

·

~6 min read

·engineering

Parsing Nested XML from Flying Probe Testers into a Relational Database

Flying Probe Tester XML files are massive, nested, and namespace-unstable. Here is the three-table relational schema and defensive parsing strategy that tames them.

pythonxmlsqlitemanufacturingtestingdata-engineering

March 23, 2026

·

~6 min read

·engineering

Fuzzy Matching AOI Defect Data to Your Component Library

AOI machines generate defect reports with part numbers that almost match your library. Here is the dynamic parsing and fuzzy matching system that bridges that gap.

pythonfuzzy-matchingaoimanufacturinginspectiondata-engineering

March 16, 2026

·

~6 min read

·engineering

Parsing the Unparseable: Adaptive BOM Ingestion for Customer Spreadsheets

Customers send spreadsheets that look nothing alike. Hardcoded column indices fail on day two. Here is the four-step heuristic pipeline that handles anything.

pythondata-engineeringexcelbomheuristicsmanufacturing

March 9, 2026

·

~7 min read

·engineering

Normalizing 20,000 Components: The Data Pipeline Behind SMT Assembly Intelligence

A 10kΩ resistor has at least eight names in the wild. Here is how a regex-driven normalization engine turns manufacturing chaos into a canonical data layer.

pythondata-engineeringmanufacturingregexsmtbom

March 2, 2026

·

~6 min read

·engineering

Taming a 1,200-Line Python Function: State Management in Async Desktop Apps

When your Python backend and JavaScript frontend share state across async WebSocket calls, things fall apart fast. Here is the architecture that fixed it.

pythonasyncstate-managementeelarchitecturemanufacturing

February 23, 2026

·

~6 min read

·engineering

Why I Chose Eel Over Electron for a Factory-Floor Desktop App

PyQt was too limiting, Electron was too bloated. Eel let me build a glassmorphism dashboard on constrained edge hardware — and I almost feel bad about how well it worked.

pythoneelelectronguiedge-computingmanufacturing

February 16, 2026

·

~6 min read

·engineering

SQLite in Production: WAL Mode and Concurrency on the Factory Edge

Everyone told me SQLite wasn't a real production database. Then I enabled WAL mode, handled concurrent MES workloads, and stopped worrying.

sqlitepythonedge-computingdatabasemanufacturingconcurrency

February 9, 2026

·

~6 min read

·engineering

Why I Killed My 240KB Excel Macro and Built a Full-Stack MES Instead

Every manufacturing team has that one Excel macro — the one nobody touches. Here's why I finally killed ours and what I built instead.

pythonmanufacturingfull-stacksmtmesvba

February 2, 2026

·

~5 min read

·engineering

Python Async Programming: asyncio, aiohttp, and When to Actually Use It

asyncio is not a magic speed-up — it's a precise tool for a specific problem. Here's what it actually does, when it wins, and when it costs you more than it's worth.

pythonasyncioaiohttpconcurrencyengineering