<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Uv on Han's XYZ</title><link>https://han8931.github.io/categories/uv/</link><description>Recent content in Uv on Han's XYZ</description><generator>Hugo</generator><language>en</language><managingEditor>tabularasa8931@gmail.com (Han)</managingEditor><webMaster>tabularasa8931@gmail.com (Han)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Mon, 08 Dec 2025 19:45:29 +0900</lastBuildDate><atom:link href="https://han8931.github.io/categories/uv/index.xml" rel="self" type="application/rss+xml"/><item><title>uv workspace: effective management of Python apps</title><link>https://han8931.github.io/uv-packages/</link><pubDate>Mon, 08 Dec 2025 00:00:00 +0000</pubDate><author>tabularasa8931@gmail.com (Han)</author><guid>https://han8931.github.io/uv-packages/</guid><description>&lt;h2 id="understanding-uv-workspaces"&gt;Understanding uv Workspaces&lt;/h2&gt;
&lt;p&gt;The official uv website explains workspaces very clearly:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Inspired by Cargo, a &lt;em&gt;uv workspace&lt;/em&gt; is a collection of one or more Python packages (workspace members) managed together in a single repo. Each package has its own &lt;code&gt;pyproject.toml&lt;/code&gt;, but the workspace shares one &lt;code&gt;lockfile&lt;/code&gt;, keeping dependencies consistent across apps and libraries. Commands like &lt;code&gt;uv lock&lt;/code&gt; operate on the whole workspace, while &lt;code&gt;uv run&lt;/code&gt; and &lt;code&gt;uv sync&lt;/code&gt; default to the workspace root but can target a specific member via &lt;code&gt;--package&lt;/code&gt; &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;</description></item><item><title>UV Tutorial: All‑in‑One Python Package Manager!</title><link>https://han8931.github.io/uv-package-manager/</link><pubDate>Sun, 13 Apr 2025 00:00:00 +0000</pubDate><author>tabularasa8931@gmail.com (Han)</author><guid>https://han8931.github.io/uv-package-manager/</guid><description>&lt;blockquote&gt;
&lt;p&gt;📝&lt;strong&gt;Update&lt;/strong&gt; (2025-09-06): I&amp;rsquo;ve added a new section on using &lt;code&gt;--native-tls&lt;/code&gt; with corporate proxies. It covers why uv may fail with SSL errors at work and how to fix it by making uv trust your system certificates.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="meet-uva-blazinglyfast-allinone-python-packagemanager"&gt;Meet &lt;strong&gt;uv&lt;/strong&gt; – A Blazingly Fast, All‑in‑One Python Package Manager&lt;/h2&gt;
&lt;p&gt;In my last post, I covered &lt;strong&gt;&lt;a href="https://han8931.github.io/poetry/" target="_blank" rel="noopener noreffer "&gt;Poetry&lt;/a&gt;&lt;/strong&gt;. It&amp;rsquo;s a solid dependency manager—but it still leaves you juggling other tools: pip for installs, virtualenv for isolation, pyenv for Python versions, and pip-tools or Pipenv for locks. That bounce between tools adds friction. &lt;strong&gt;uv&lt;/strong&gt; removes it. This single, Rust-built project manager—now one of the most popular tools in the Python ecosystem—installs Python, creates virtual environments, resolves and locks dependencies, and even publishes to PyPI, all from one blazing-fast CLI (often 10–1000× faster).&lt;/p&gt;</description></item></channel></rss>