<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: BB6</title>
    <description>The latest articles on Forem by BB6 (@ggghel_2000_6c10e4e4ec6de).</description>
    <link>https://forem.com/ggghel_2000_6c10e4e4ec6de</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3330176%2F7d3f21bd-2a8d-4c1c-b410-f7a1ce876a18.png</url>
      <title>Forem: BB6</title>
      <link>https://forem.com/ggghel_2000_6c10e4e4ec6de</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ggghel_2000_6c10e4e4ec6de"/>
    <language>en</language>
    <item>
      <title>I built a Python tool that explains errors like you’re 5 (English + Russian, OSS)</title>
      <dc:creator>BB6</dc:creator>
      <pubDate>Mon, 07 Jul 2025 06:24:11 +0000</pubDate>
      <link>https://forem.com/ggghel_2000_6c10e4e4ec6de/i-built-a-python-tool-that-explains-errors-like-youre-5-english-russian-oss-11gf</link>
      <guid>https://forem.com/ggghel_2000_6c10e4e4ec6de/i-built-a-python-tool-that-explains-errors-like-youre-5-english-russian-oss-11gf</guid>
      <description>&lt;p&gt;Tired of vague Python errors at 2 AM?&lt;/p&gt;

&lt;p&gt;You know how it goes:&lt;br&gt;
You’re debugging your code late at night, and Python hits you with:&lt;/p&gt;

&lt;p&gt;ZeroDivisionError: division by zero&lt;/p&gt;

&lt;p&gt;Sure, it’s readable… but not really helpful, especially when you’re stuck, tired, or new to the topic.&lt;/p&gt;

&lt;p&gt;So I built something small but useful:&lt;/p&gt;

&lt;p&gt;🔧 Meet Error Narrator&lt;/p&gt;

&lt;p&gt;A lightweight open-source tool that explains Python exceptions in plain English and Russian, like you’re 5.&lt;/p&gt;

&lt;p&gt;🚀 Features:&lt;br&gt;
 • Human-friendly explanations for common and not-so-common Python errors&lt;br&gt;
 • Shows the exact file and line where the error happened&lt;br&gt;
 • Suggests actual code fixes with diffs&lt;br&gt;
 • Explains the concept behind the error, so you don’t just fix it — you learn&lt;br&gt;
 • Works with OpenAI or HuggingFace models (via Gradio)&lt;br&gt;
 • Caches repeated errors to reduce API calls&lt;/p&gt;

&lt;p&gt;🤖 How does it work?&lt;/p&gt;

&lt;p&gt;It reads your traceback, sends it through an LLM, and returns a simplified, translated breakdown — not just what went wrong, but why.&lt;/p&gt;

&lt;p&gt;You can use it in the terminal or plug it into your existing debugging setup.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft8ui9tgnnrxyk33coep9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ft8ui9tgnnrxyk33coep9.png" alt="Image description" width="800" height="391"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;📦 Install:&lt;br&gt;
pip install error-narrator&lt;/p&gt;

&lt;p&gt;💻 GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Zahabsbs/Error-Narrator" rel="noopener noreferrer"&gt;https://github.com/Zahabsbs/Error-Narrator&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🧠 Why I built this&lt;/p&gt;

&lt;p&gt;I’ve seen too many beginners — and even experienced devs — get frustrated with cryptic error messages.&lt;/p&gt;

&lt;p&gt;I built this for myself, to save time. But I realized others could use it too.&lt;/p&gt;

&lt;p&gt;I’m still improving it — any feedback, suggestions, or contributors are more than welcome!&lt;/p&gt;

&lt;p&gt;Thanks for reading! 🙌&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>opensource</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
