نوشته‌های امیر

یادداشت‌های اخیر

  • Migrate From Pip to UV

    ۳۰ مهر ۱۴۰۴

  • UV for Python… (Almost) All Batteries Included

    ۳۰ مهر ۱۴۰۴

  • تکنیک‌های محاسبات سریع ریاضی

    ۲۸ مهر ۱۴۰۴

Migrate From Pip to UV

۳۰ مهر ۱۴۰۴

خانه

❯

۳ جعبه یادداشت

❯

Migrate From Pip to UV

Python

First install uv:

brew install uv

You can follow this doc:

  • From pip to a uv project | uv

For my projects, I suppose it would be:

uv init
uv add -r requirements.in -c requirements.txt

If it didn’t work:

uv add -r requirements.in

Then I change dockerfile using this tutorial:

  • Optimal Dockerfile for Python with uv | Container Builds | Depot Documentation

Python


نمای گراف

بک‌لینک‌ها

  • UV for Python… (Almost) All Batteries Included
  • Export Python Packages in requirements.txt file
  • Python Libraries for Training

ساخته شده با Quartz v4.5.1 © 2025

  • Github
  • Linkedin
  • Telegram
  • Persian Blog
  • English Blog