<?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: ATOM_MAX</title>
    <description>The latest articles on Forem by ATOM_MAX (@atommax2001).</description>
    <link>https://forem.com/atommax2001</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%2F892526%2F1a7b2e4d-ecd4-4bf5-a8ec-ae94eb324497.jpeg</url>
      <title>Forem: ATOM_MAX</title>
      <link>https://forem.com/atommax2001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/atommax2001"/>
    <language>en</language>
    <item>
      <title>SlimeWeb --New Python WebFramework backed by rust</title>
      <dc:creator>ATOM_MAX</dc:creator>
      <pubDate>Wed, 25 Mar 2026 19:16:57 +0000</pubDate>
      <link>https://forem.com/atommax2001/slimeweb-new-python-webframework-backed-by-rust-327i</link>
      <guid>https://forem.com/atommax2001/slimeweb-new-python-webframework-backed-by-rust-327i</guid>
      <description>&lt;p&gt;Over the past few weeks, I’ve been experimenting with building a small web framework that combines &lt;strong&gt;Python’s simplicity&lt;/strong&gt; with &lt;strong&gt;Rust’s performance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The idea is pretty straightforward&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Use rust for networking to handle request&lt;/li&gt;
&lt;li&gt;Use python for business logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why this project?:&lt;/strong&gt;&lt;br&gt;
Frameworks like Flask and FastAPI are awesome, but I was curious about Python web frameworks' request-handling limits. Benchmarks on my machine showed pretty low numbers, so I thought, what if we offload the networking part to Rust and focus purely on business logic?. Introducing &lt;strong&gt;SlimeWeb&lt;/strong&gt;. Its still early stage and experimenting but works.&lt;/p&gt;

&lt;p&gt;Some of the things its currently supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python handler functions&lt;/li&gt;
&lt;li&gt;Rust powered HTTP server&lt;/li&gt;
&lt;li&gt;Multiple worker pool model&lt;/li&gt;
&lt;li&gt;Sync &amp;amp; Async handler&lt;/li&gt;
&lt;li&gt;Multipart form support&lt;/li&gt;
&lt;li&gt;File uploads&lt;/li&gt;
&lt;li&gt;Streaming Response&lt;/li&gt;
&lt;li&gt;Cookie signing&lt;/li&gt;
&lt;li&gt;Custom headers&lt;/li&gt;
&lt;li&gt;JSON / HTML / Raw Response&lt;/li&gt;
&lt;li&gt;Templates rendering with context&lt;/li&gt;
&lt;li&gt;Static serving&lt;/li&gt;
&lt;li&gt;Hot reload&lt;/li&gt;
&lt;li&gt;WebSocket&lt;/li&gt;
&lt;li&gt;App state&lt;/li&gt;
&lt;li&gt;Compression&lt;/li&gt;
&lt;li&gt;Middleware plugin&lt;/li&gt;
&lt;li&gt;Generate swagger docs &lt;/li&gt;
&lt;li&gt;Dynamic body read size constraint&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Sample Code:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;slimeweb&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Slime&lt;/span&gt;

&lt;span class="n"&gt;app&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Slime&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;__file__&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nd"&gt;@app.route&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;/&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;GET&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;home&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;req&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;plain&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello World from slime&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;__name__&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;__main__&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;serve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dev&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The project is aimed at developers who wants to build APi's/backend services. who wanna use the power of rust networking.&lt;/p&gt;

&lt;p&gt;In Microbenchmark for sync handlers ive tested on linux with 8cpu cores with same python runtime and 8worker using wrk. It beat both flask and fastapi.&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%2F796c63rnq99y7iunmyk8.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%2F796c63rnq99y7iunmyk8.png" alt="Benchmark graph" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Pypi: &lt;a href="https://test.pypi.org/project/SlimeWeb/" rel="noopener noreferrer"&gt;SlimeWeb Package (pip install SlimeWeb) &amp;amp; docs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Any suggestions, criticism, or feedback would really help.&lt;/p&gt;

&lt;p&gt;Thank You with ❤️ ~Abilash Suresh&lt;/p&gt;

</description>
      <category>python</category>
      <category>rust</category>
      <category>github</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Cmd is so annoying, so i made a new shell</title>
      <dc:creator>ATOM_MAX</dc:creator>
      <pubDate>Fri, 15 Jul 2022 16:10:18 +0000</pubDate>
      <link>https://forem.com/atommax2001/cmd-is-annoying-so-i-made-a-new-shell-1g9f</link>
      <guid>https://forem.com/atommax2001/cmd-is-annoying-so-i-made-a-new-shell-1g9f</guid>
      <description>&lt;p&gt;Using cmd in window's for navigating in the project is so annoying, like using doskey and registry for navigating to a custom dir path and if we want to navigate to the nth parent dir in our path, we have to use cd .. for n times.&lt;/p&gt;

&lt;p&gt;So i thought "OK, It's time to build a new shell". The main goal of this project is to overcome some of my problems faced while using window's cmd and have some fun.&lt;/p&gt;

&lt;p&gt;First i thought of creating a GUI application with stunning UI. But i convinced myself to build a super simple console application which consume less memory and execute faster, so i opened my editor and started to write it in c++. It took me over 2 days(like 4+ hours) to build this project.&lt;/p&gt;

&lt;p&gt;Terminal:&lt;a href="https://github.com/ATOMMAX-2001/Terminal"&gt;Terminal&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After two weeks, I thought of adding some more features(commands), so i rewrote the entire application again in golang.&lt;/p&gt;

&lt;p&gt;BlogTerminal:&lt;a href="https://github.com/ATOMMAX-2001/BlogTerminal"&gt;BlogTerminal&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Final Output:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--OlXZs2Jc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkgwea6mak7f7la6r5c7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--OlXZs2Jc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fkgwea6mak7f7la6r5c7.png" alt="Image description" width="880" height="636"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Support:&lt;a href="https://www.buymeacoffee.com/abilash"&gt;Support&lt;/a&gt;&lt;/p&gt;

</description>
      <category>go</category>
      <category>window</category>
      <category>shell</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
