<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:fh="http://purl.org/syndication/history/1.0">
  <title>Posts tagged: uv Archive</title>
  <id>https://pype.dev/tags/uv/archive/atom.xml</id>
  <updated>2025-09-08T11:25:33Z</updated>
  <subtitle>All posts with the tag &#34;uv&#34;</subtitle>
  <link href="https://pype.dev/tags/uv/" rel="alternate" type="text/html"></link>
  <link href="https://pype.dev/tags/uv/archive/atom.xml" rel="self" type="application/atom+xml"></link>
  <link href="https://pype.dev/tags/uv/atom.xml" rel="current" type="application/atom+xml"></link>
  <author>
    <name>Nic Payne</name>
  </author>
  <generator uri="https://github.com/WaylonWalker/markata-go">markata-go</generator>
  <fh:complete></fh:complete>
  <entry>
    <title>💭 uv script management</title>
    <id>https://pype.dev/thoughts-831/</id>
    <updated>2025-09-08T11:25:33Z</updated>
    <published>2025-09-08T11:25:33Z</published>
    <link href="https://pype.dev/thoughts-831/" rel="alternate" type="text/html"></link>
    <summary type="text">Dang Waylon! Love these few lines... uv is great, been using it for environment and project requirements management bu</summary>
    <content type="html">&lt;a href=&#34;https://waylonwalker.com/uv-script-management/##sed+-i+&#39;1i+#!/usr/bin/env+-S+uv+run+--script&#39;+up&#34;&gt;&#xA;    &lt;img&#xA;        src=&#34;https://shots.wayl.one/shot/?url=https://waylonwalker.com/uv-script-management/##sed+-i+&#39;1i+#!/usr/bin/env+-S+uv+run+--script&#39;+up&amp;height=450&amp;width=800&amp;scaled_width=800&amp;scaled_height=450&amp;selectors=&#34;&#xA;        alt=&#34;shot of post - uv script management&#34;&#xA;        height=450&#xA;        width=800&#xA;    &gt;&#xA;&lt;/a&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s my thought on &lt;a href=&#34;https://waylonwalker.com/uv-script-management/##sed+-i+&#39;1i+#!/usr/bin/env+-S+uv+run+--script&#39;+up&#34;&gt;uv script management&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;Dang Waylon! Love these few lines&amp;hellip; &lt;code&gt;uv&lt;/code&gt; is great, been using it for environment and project requirements management but I didn&amp;rsquo;t realize it was this easy to setup a pep 723 compliant script!&lt;/p&gt;&#xA;&lt;p&gt;Love this &lt;code&gt;sed -i &#39;1i #!/usr/bin/env -S uv run --script&#39;&lt;/code&gt; little gem too - I typically do &lt;code&gt;uv run script.py&lt;/code&gt; so I&amp;rsquo;ll see about making this a simple zsh alias for faster iteration on python scripts&amp;hellip; I often have AI write quick bash scripts to accomplish things, but it&amp;rsquo;s quite a bit harder for me to read than python, and with the power &lt;code&gt;uv&lt;/code&gt; is bringing to the python ecosystem, maybe it&amp;rsquo;s fine to just be a little higher in the programming stack for script-kitty stuff&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;div class=&#34;admonition note&#34;&gt;&#xA;&lt;p class=&#34;admonition-title&#34;&gt;Note&lt;/p&gt;&#xA;&lt;p&gt;This is one of [[ my-thoughts ]]. I picked this up from &lt;a href=&#34;https://waylonwalker.com&#34;&gt;Waylon Walker&lt;/a&gt;(&lt;a href=&#34;https://thoughts.waylonwalker.com&#34;&gt;https://thoughts.waylonwalker.com&lt;/a&gt;). It&amp;rsquo;s a short note that I make about someone else&amp;rsquo;s content online.  Learn more about the process &lt;a href=&#34;/thoughts/&#34; class=&#34;wikilink&#34; data-title=&#34;Thoughts&#34; data-description=&#34;My thoughts are found at my thoughts feed&#34; data-date=&#34;2025-06-09&#34; data-preview=&#34;My thoughts are found at my thoughts feed&#34;&gt;Thoughts&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;</content>
    <author>
      <name>Nic Payne</name>
      <uri>https://pype.dev</uri>
    </author>
  </entry>
  <entry>
    <title>💭 Build backend | uv</title>
    <id>https://pype.dev/thoughts-732/</id>
    <updated>2025-07-04T11:43:30Z</updated>
    <published>2025-07-04T11:43:30Z</published>
    <link href="https://pype.dev/thoughts-732/" rel="alternate" type="text/html"></link>
    <summary type="text">uv build backend ready for production! Dang... I need to visit my hatch builds, I love hatch&#39;s simplicity specifically w</summary>
    <content type="html">&lt;a href=&#34;https://docs.astral.sh/uv/concepts/build-backend/&#34;&gt;&#xA;    &lt;img&#xA;        src=&#34;https://shots.wayl.one/shot/?url=https://docs.astral.sh/uv/concepts/build-backend/&amp;height=450&amp;width=800&amp;scaled_width=800&amp;scaled_height=450&amp;selectors=&#34;&#xA;        alt=&#34;shot of post - Build backend | uv&#34;&#xA;        height=450&#xA;        width=800&#xA;    &gt;&#xA;&lt;/a&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s my thought on &lt;a href=&#34;https://docs.astral.sh/uv/concepts/build-backend/&#34;&gt;Build backend | uv&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;a href=&#34;/uv/&#34; class=&#34;glossary-term&#34; title=&#34;uv by Astral.sh is one of the dopest python toolchain tools to ever exist&#34; data-hover-title=&#34;UV&#34;&gt;uv&lt;/a&gt; build backend ready for production! Dang&amp;hellip; I need to visit my hatch builds, I love hatch&amp;rsquo;s simplicity specifically with versioning&amp;hellip;  Not sure if it&amp;rsquo;s worth actually switching to uv for my builds or not, but it is dang cool to see astral take on the python space with unbelievable improvements&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;div class=&#34;admonition note&#34;&gt;&#xA;&lt;p class=&#34;admonition-title&#34;&gt;Note&lt;/p&gt;&#xA;&lt;p&gt;This is one of [[ my-thoughts ]]. I picked this up from &lt;a href=&#34;https://waylonwalker.com&#34;&gt;Waylon Walker&lt;/a&gt;(&lt;a href=&#34;https://thoughts.waylonwalker.com&#34;&gt;https://thoughts.waylonwalker.com&lt;/a&gt;). It&amp;rsquo;s a short note that I make about someone else&amp;rsquo;s content online.  Learn more about the process &lt;a href=&#34;/thoughts/&#34; class=&#34;wikilink&#34; data-title=&#34;Thoughts&#34; data-description=&#34;My thoughts are found at my thoughts feed&#34; data-date=&#34;2025-06-09&#34; data-preview=&#34;My thoughts are found at my thoughts feed&#34;&gt;Thoughts&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;</content>
    <author>
      <name>Nic Payne</name>
      <uri>https://pype.dev</uri>
    </author>
  </entry>
  <entry>
    <title>💭 Switching pip to uv in a Dockerized Flask / Django App — Nick …</title>
    <id>https://pype.dev/thoughts-722/</id>
    <updated>2025-06-27T11:18:16Z</updated>
    <published>2025-06-27T11:18:16Z</published>
    <link href="https://pype.dev/thoughts-722/" rel="alternate" type="text/html"></link>
    <summary type="text">It&#39;s nice to see uv gaining popularity in so many places - and replacing vanilla pip with uv in containerized environmen</summary>
    <content type="html">&lt;a href=&#34;https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app&#34;&gt;&#xA;    &lt;img&#xA;        src=&#34;https://shots.wayl.one/shot/?url=https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app&amp;height=450&amp;width=800&amp;scaled_width=800&amp;scaled_height=450&amp;selectors=&#34;&#xA;        alt=&#34;shot of post - Switching pip to uv in a Dockerized Flask / Django App — Nick Janetakis&#34;&#xA;        height=450&#xA;        width=800&#xA;    &gt;&#xA;&lt;/a&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s my thought on &lt;a href=&#34;https://nickjanetakis.com/blog/switching-pip-to-uv-in-a-dockerized-flask-or-django-app&#34;&gt;Switching pip to uv in a Dockerized Flask / Django App — Nick Janetakis&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;It&amp;rsquo;s nice to see &lt;a href=&#34;/uv/&#34; class=&#34;glossary-term&#34; title=&#34;uv by Astral.sh is one of the dopest python toolchain tools to ever exist&#34; data-hover-title=&#34;UV&#34;&gt;uv&lt;/a&gt; gaining popularity in so many places - and replacing vanilla pip with uv in containerized environments seems great due if for no other reason than the time you&amp;rsquo;ll save in CI&amp;hellip; A few years ago I refactored a disjointed container build process to use uv instead of pip, and due to the design of the build pipelines we went from 10-15 minute builds to 2-3 minutes&amp;hellip;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;div class=&#34;admonition note&#34;&gt;&#xA;&lt;p class=&#34;admonition-title&#34;&gt;Note&lt;/p&gt;&#xA;&lt;p&gt;This is one of [[ my-thoughts ]]. I picked this up from &lt;a href=&#34;https://waylonwalker.com&#34;&gt;Waylon Walker&lt;/a&gt;(&lt;a href=&#34;https://thoughts.waylonwalker.com&#34;&gt;https://thoughts.waylonwalker.com&lt;/a&gt;). It&amp;rsquo;s a short note that I make about someone else&amp;rsquo;s content online.  Learn more about the process &lt;a href=&#34;/thoughts/&#34; class=&#34;wikilink&#34; data-title=&#34;Thoughts&#34; data-description=&#34;My thoughts are found at my thoughts feed&#34; data-date=&#34;2025-06-09&#34; data-preview=&#34;My thoughts are found at my thoughts feed&#34;&gt;Thoughts&lt;/a&gt;&lt;/p&gt;&#xA;&lt;/div&gt;&#xA;</content>
    <author>
      <name>Nic Payne</name>
      <uri>https://pype.dev</uri>
    </author>
  </entry>
  <entry>
    <title>I built a simple app for adding images to my blog</title>
    <id>https://pype.dev/i-built-a-simple-app-for-adding-images-to-my-blog/</id>
    <updated>2025-06-07T13:30:28Z</updated>
    <published>2025-06-07T13:30:28Z</published>
    <link href="https://pype.dev/i-built-a-simple-app-for-adding-images-to-my-blog/" rel="alternate" type="text/html"></link>
    <summary type="text">I built a simple fastAPI app called &#34;shotput&#34; that I run locally inside a git repo where I save images for my blog. The app is simple:</summary>
    <content type="html">&lt;h1 id=&#34;quick-deets&#34;&gt;&lt;span class=&#34;heading-wear-glyph&#34;&gt;Quick Deets&lt;/span&gt;&lt;/h1&gt;&#xA;&lt;p&gt;I built a simple fastAPI app called &amp;ldquo;shotput&amp;rdquo; that I run locally inside a git repo where I save images for my blog. The app is simple:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;upload image from clipboard&lt;/li&gt;&#xA;&lt;li&gt;app commits image to repo (path is configurable)&lt;/li&gt;&#xA;&lt;li&gt;app pushes the commit (auto-push configurable)&lt;/li&gt;&#xA;&lt;li&gt;app returns a markdown link I can paste in my blog that uses statically.io (see &lt;a href=&#34;/statically-io-to-help-me-out/&#34; class=&#34;wikilink&#34; data-title=&#34;statically.io to help me out&#34; data-description=&#34;statically.io offers a CDN that I&amp;#39;m going to try to lean into for images in my blog. My hope is that the builds get and stay fast, and that page loads are...&#34; data-date=&#34;2024-12-14&#34; data-preview=&#34;statically.io offers a CDN that I&amp;#39;m going to try to lean into for images in my blog. My hope is that the builds get and stay fast, and that page loads are...&#34;&gt;statically.io to help me out&lt;/a&gt;) to serve the image from the repo to my blog&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;See the image repo with app details at &lt;a href=&#34;https://github.com/pypeaday/images.pype.dev&#34;&gt;images.pype.dev&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;usage&#34;&gt;&lt;span class=&#34;heading-wear-glyph&#34;&gt;Usage&lt;/span&gt;&lt;/h1&gt;&#xA;&lt;p&gt;Anyone could copy the script and config to their own git repo to put images in&#xA;and run this at home - instructions are in the readme but for simple running on localhost it&amp;rsquo;s just &lt;code&gt;uv run&lt;/code&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;example&#34;&gt;&lt;span class=&#34;heading-wear-glyph&#34;&gt;Example&lt;/span&gt;&lt;/h1&gt;&#xA;&lt;figure&gt;&#xA;&lt;img src=&#34;https://cdn.statically.io/gh/pypeaday/images.pype.dev/main/blog-media/20250607130609_dadd33eb.png&#34; alt=&#34;20250607130609_dadd33eb.png&#34;&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;pasting an image let&amp;rsquo;s you copy the markdown link for easy pasting&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;![&lt;span class=&#34;nt&#34;&gt;20250607130609_dadd33eb.png&lt;/span&gt;](&lt;span class=&#34;na&#34;&gt;https://cdn.statically.io/gh/pypeaday/images.pype.dev/main/blog-media/20250607130609_dadd33eb.png&lt;/span&gt;)&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;</content>
    <author>
      <name>Nic Payne</name>
      <uri>https://pype.dev</uri>
    </author>
  </entry>
</feed>