<?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 yujia21</title><link>https://yujia21.github.io/tags/python/</link><description>Recent content in Python on yujia21</description><generator>Hugo</generator><language>en-us</language><copyright>&lt;a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener"&gt;CC BY-NC 4.0&lt;/a&gt;</copyright><lastBuildDate>Fri, 01 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://yujia21.github.io/tags/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Writing a Sans-IO Python library for BACnet in Rust</title><link>https://yujia21.github.io/tech/2026-05-01-bacnet-rust/</link><pubDate>Fri, 01 May 2026 00:00:00 +0000</pubDate><guid>https://yujia21.github.io/tech/2026-05-01-bacnet-rust/</guid><description>&lt;p&gt;With the advent of AI tools for coding, random side projects that used to live in my head finally see the light of day.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve primarily been playing around with &lt;a href="https://opencode.ai/"&gt;opencode&lt;/a&gt; for my personal use, an AI coding agent which by default has both a planning and building mode.&lt;/p&gt;
&lt;h1 id="rust-and-python"&gt;Rust and Python&lt;/h1&gt;
&lt;p&gt;For a while, I&amp;rsquo;ve been meaning to understand how to publish libraries for Python written in Rust. The significant speed-up provided by compute heavy libraries written in Rust such as pydantic, ruff, and uv has significantly changed the landscape of Python tools.&lt;/p&gt;</description></item><item><title>Multi-tasking with Python</title><link>https://yujia21.github.io/tech/2024-04-01-python-async/</link><pubDate>Mon, 01 Apr 2024 00:00:00 +0000</pubDate><guid>https://yujia21.github.io/tech/2024-04-01-python-async/</guid><description>&lt;p&gt;In 2024 I gave an introductory talk at the &lt;a href="https://pugs.org.sg/"&gt;Python User Group Singapore&lt;/a&gt; on the topic of asynchronous programming in Python.&lt;/p&gt;
&lt;p&gt;The recording can be found &lt;a href="https://www.youtube.com/watch?v=q4UXNF09sAg"&gt;here&lt;/a&gt; and the demo repository &lt;a href="https://github.com/yujia21/demo-async-python"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>