<?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 Brandon Pugh&#39;s Blog</title>
    <link>https://www.brandonpugh.com/tags/python/</link>
    <description>Recent content in Python on Brandon Pugh&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 27 Jan 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.brandonpugh.com/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>uv package manager</title>
      <link>https://www.brandonpugh.com/til/python/uv-package-manager/</link>
      <pubDate>Mon, 27 Jan 2025 00:00:00 +0000</pubDate>
      <guid>https://www.brandonpugh.com/til/python/uv-package-manager/</guid>
      <description>&lt;p&gt;I recently came across this post, &lt;a href=&#34;https://valatka.dev/2025/01/12/on-killer-uv-feature.html&#34;&gt;Uv has a killer feature you should know about&lt;/a&gt;, which led me to discover the &lt;a href=&#34;https://github.com/astral-sh/uv&#34;&gt;uv&lt;/a&gt; package and project manager for Python.
This seems to be the new preferred tool for managing python versions/dependencies as it&amp;rsquo;s faster and can replace pyenv, pip, virtualenv, and others.&lt;/p&gt;
&lt;p&gt;It just saved me some headache as I tend to mostly use python for various tools and I tried to install a package the other day with &lt;code&gt;pip install&lt;/code&gt; but it failed with some inscrutable error.
Then I realized the package wouldn&amp;rsquo;t work with python 3.13 which I&amp;rsquo;d been using — and python 3.12 was causing a sub dependency to throw warnings — but 3.11 turned out to be the lucky version which &lt;code&gt;uv&lt;/code&gt; made it easy to setup with:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;uv python install 3.11
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;uv add tool &amp;lt;package&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Their &lt;a href=&#34;https://docs.astral.sh/uv/#getting-started&#34;&gt;docs&lt;/a&gt; were really helpful and installing it was pretty easy even on windows.&lt;/p&gt;

       &lt;hr&gt; &lt;p&gt;Thank you for keeping RSS alive. You&#39;re awesome.&lt;/p&gt; &lt;p&gt;&lt;a href=&#34;mailto:blogrss@bpugh.dev&#34;&gt;Reply by email&lt;/a&gt;&lt;/p&gt;
        &lt;img src=&quot;https://blog.bpugh.workers.dev/cdn/images?p=/til/python/uv-package-manager/feed&quot;&gt;
      </description>
    </item>
    
  </channel>
</rss>