<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on Blaž Škufca</title><link>https://blazskufca.com/tags/python/</link><description>Recent content in Python on Blaž Škufca</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 20 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blazskufca.com/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>The Fundamentals: Hypertext Transfer Protocol</title><link>https://blazskufca.com/projects/http-from-tcp/</link><pubDate>Tue, 20 Jan 2026 00:00:00 +0000</pubDate><guid>https://blazskufca.com/projects/http-from-tcp/</guid><description>&lt;p&gt;Building an HTTP server from scratch is one of those enlightening &amp;ldquo;wizard&amp;rdquo; moments in a developer&amp;rsquo;s journey. It demystifies the magic behind &lt;code&gt;fetch('google.com')&lt;/code&gt; and turns the abstract concept of &amp;ldquo;The Web&amp;rdquo; into concrete bytes and sockets.&lt;/p&gt;
&lt;p&gt;This project, &lt;a href="https://github.com/blazskufca/HTTP_from_TCP"&gt;HTTP from TCP&lt;/a&gt;, is a Python implementation of a concurrent &lt;code&gt;HTTP/1.1&lt;/code&gt; server. It implements the core of the &lt;a href="https://datatracker.ietf.org/doc/html/rfc9112"&gt;&lt;code&gt;HTTP/1.1 protocol&lt;/code&gt; (&lt;code&gt;RFC 9112&lt;/code&gt;)&lt;/a&gt; directly on top of TCP, handling everything from parsing raw bytes to managing concurrent connections and chunked transfer encoding.&lt;/p&gt;</description></item><item><title>Running Python in the Browser with Svelte and Pyodide</title><link>https://blazskufca.com/projects/run-python-in-your-browser/</link><pubDate>Sun, 18 Jan 2026 00:00:00 +0000</pubDate><guid>https://blazskufca.com/projects/run-python-in-your-browser/</guid><description>&lt;p&gt;For years, the division between web development and data science has been clear: JavaScript rules the browser, while Python dominates the backend. If you wanted to run a Pandas analysis or generate a Matplotlib chart, you had to send data to a server, process it, and send the results back.&lt;/p&gt;
&lt;p&gt;But with the rise of &lt;a href="https://webassembly.org/"&gt;WebAssembly (&lt;code&gt;WASM&lt;/code&gt;)&lt;/a&gt;, that boundary is blurring.&lt;/p&gt;
&lt;p&gt;In this project, I built &lt;strong&gt;SveltePy Studio&lt;/strong&gt;, a fully client-side application that brings the power of Python&amp;rsquo;s data science stack directly into the browser. By combining &lt;a href="https://kit.svelte.dev/"&gt;SvelteKit&lt;/a&gt; for a reactive UI with &lt;a href="https://pyodide.org/"&gt;Pyodide&lt;/a&gt;—a port of &lt;a href="https://github.com/python/cpython"&gt;CPython&lt;/a&gt; to WebAssembly—users can upload CSV datasets and generate complex visualizations without a single byte of user data leaving their device.&lt;/p&gt;</description></item></channel></rss>