<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mohammed AbuDaqqa on Medium]]></title>
        <description><![CDATA[Stories by Mohammed AbuDaqqa on Medium]]></description>
        <link>https://medium.com/@mohammedashrafdagga?source=rss-41dab8e6cb74------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1R_u6uPo7MB0bESqO-6CQg.jpeg</url>
            <title>Stories by Mohammed AbuDaqqa on Medium</title>
            <link>https://medium.com/@mohammedashrafdagga?source=rss-41dab8e6cb74------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:35:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mohammedashrafdagga/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[From ‘pip’ into ‘uv’: A Faster Python Package Manager]]></title>
            <link>https://mohammedashrafdagga.medium.com/from-pip-into-uv-a-faster-python-package-manager-783af7a7edce?source=rss-41dab8e6cb74------2</link>
            <guid isPermaLink="false">https://medium.com/p/783af7a7edce</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pip]]></category>
            <category><![CDATA[uv]]></category>
            <dc:creator><![CDATA[Mohammed AbuDaqqa]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 06:59:32 GMT</pubDate>
            <atom:updated>2025-11-09T07:07:45.352Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*j1zxDySnfNsuAYjwat7ZrA.jpeg" /></figure><h3>Introduction</h3><p>Python developers have relied on pip and venv for years to manage packages and virtual environments. However, if you&#39;re looking to speed up your workflow significantly, it&#39;s time to consider an alternative: <strong>uv</strong>.</p><p>Built entirely in Rust rather than Python, uv offers a dramatic performance improvement over pip—multiple times faster based on real-world usage. Beyond speed, it&#39;s also more intuitive and easier to use, making it an excellent choice for both beginners and experienced developers.</p><h3>Why Switch to uv?</h3><p>The main advantages of uv are clear:</p><ul><li><strong>Performance</strong>: Written in Rust, uv is substantially faster than pip when installing and managing packages</li><li><strong>Simplicity</strong>: Commands are more straightforward and require less configuration</li><li><strong>Unified approach</strong>: Handles both project setup and environment management in one tool</li><li><strong>Active development</strong>: Being a modern tool, it receives regular updates and improvements</li></ul><h3>Getting Started with uv</h3><h3>Project &amp; Environment Setup</h3><p>When you want to create a new Python project with an automatic virtual environment, simply use:</p><pre>uv init my_project</pre><p>This single command sets up everything you need. To enter your project directory:</p><pre>cd my_project</pre><p>If you need to create a virtual environment without initialising a full project, you can do that too:</p><pre>uv venv</pre><h3>Running Python Scripts</h3><p>One of the most useful features of uv is the ability to run Python scripts in a temporary virtual environment without any setup:</p><pre>uv run python main.py</pre><p>This is perfect for quick testing or running scripts on demand.</p><h3>Managing Packages</h3><p>Package management in uv is intuitive and mirrors familiar pip commands:</p><pre># Install a package in your project<br>uv add requests</pre><pre># Remove a package from your project<br>uv remove requests</pre><pre># Update all installed packages<br>uv sync</pre><p>These commands are cleaner and more direct than their pip equivalents.</p><h3>Managing Python Versions</h3><p>uv also simplifies Python version management across your projects:</p><pre># View all available Python versions on your system<br>uv python list</pre><pre># Install a specific Python version<br>uv python install 3.14</pre><pre># Set a specific Python version for your current project<br>uv python pin 3.11</pre><pre># Execute your project using the pinned Python version<br>uv run python main.py</pre><p>This eliminates the need for separate tools like pyenv in many cases.</p><h3>Making the Transition</h3><p>Switching from pip and venv to uv is straightforward. If you&#39;re already familiar with Python&#39;s package management ecosystem, you&#39;ll quickly recognise the parallels. The commands are similar enough to feel natural, but the performance improvements will be immediately noticeable.</p><h3>Conclusion</h3><p>If you’re still using pip and venvNow is a great time to try uv. The faster performance, simplified commands, and integrated approach to environment and version management make it a compelling upgrade. Give it a try on your next project and experience the difference for yourself.</p><p><em>Ready to switch? Start with </em><em>uv init my_project and see how much faster your Python workflow can be.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=783af7a7edce" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>