[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-374":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},374,"uv","astral-sh\u002Fuv","astral-sh","An extremely fast Python package and project manager, written in Rust.","https:\u002F\u002Fdocs.astral.sh\u002Fuv",null,"Rust",86461,3210,169,2335,0,48,268,1407,223,120,"Apache License 2.0",false,"main",true,[27,28,29,5],"packaging","python","resolver","2026-06-17 04:00:02","# uv\n\n[![uv](https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fuv\u002Fmain\u002Fassets\u002Fbadge\u002Fv0.json)](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv)\n[![image](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fuv.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fuv)\n[![image](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fl\u002Fuv.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fuv)\n[![image](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fpyversions\u002Fuv.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fuv)\n[![Actions status](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Factions)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-%235865F2.svg?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002Fastral-sh)\n\nAn extremely fast Python package and project manager, written in Rust.\n\n\u003Cp align=\"center\">\n  \u003Cpicture align=\"center\">\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Fassets\u002F1309177\u002F03aa9163-1c79-4a87-a31d-7a9311ed9310\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Fassets\u002F1309177\u002F629e59c0-9c6e-4013-9ad4-adb2bcf5080d\">\n    \u003Cimg alt=\"Shows a bar chart with benchmark results.\" src=\"https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Fassets\u002F1309177\u002F629e59c0-9c6e-4013-9ad4-adb2bcf5080d\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ci>Installing \u003Ca href=\"https:\u002F\u002Ftrio.readthedocs.io\u002F\">Trio\u003C\u002Fa>'s dependencies with a warm cache.\u003C\u002Fi>\n\u003C\u002Fp>\n\n## Highlights\n\n- A single tool to replace `pip`, `pip-tools`, `pipx`, `poetry`, `pyenv`, `twine`, `virtualenv`, and\n  more.\n- [10-100x faster](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv\u002Fblob\u002Fmain\u002FBENCHMARKS.md) than `pip`.\n- Provides [comprehensive project management](#projects), with a\n  [universal lockfile](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fconcepts\u002Fprojects\u002Flayout#the-lockfile).\n- [Runs scripts](#scripts), with support for\n  [inline dependency metadata](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Fscripts#declaring-script-dependencies).\n- [Installs and manages](#python-versions) Python versions.\n- [Runs and installs](#tools) tools published as Python packages.\n- Includes a [pip-compatible interface](#the-pip-interface) for a performance boost with a familiar\n  CLI.\n- Supports Cargo-style [workspaces](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fconcepts\u002Fprojects\u002Fworkspaces) for\n  scalable projects.\n- Disk-space efficient, with a [global cache](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fconcepts\u002Fcache) for\n  dependency deduplication.\n- Installable without Rust or Python via `curl` or `pip`.\n- Supports macOS, Linux, and Windows.\n\nuv is backed by [Astral](https:\u002F\u002Fastral.sh), the creators of\n[Ruff](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fruff) and [ty](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fty).\n\n## Installation\n\nInstall uv with our standalone installers:\n\n```bash\n# On macOS and Linux.\ncurl -LsSf https:\u002F\u002Fastral.sh\u002Fuv\u002Finstall.sh | sh\n```\n\n```bash\n# On Windows.\npowershell -ExecutionPolicy ByPass -c \"irm https:\u002F\u002Fastral.sh\u002Fuv\u002Finstall.ps1 | iex\"\n```\n\nOr, from [PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Fuv\u002F):\n\n```bash\n# With pip.\npip install uv\n```\n\n```bash\n# Or pipx.\npipx install uv\n```\n\nIf installed via the standalone installer, uv can update itself to the latest version:\n\n```bash\nuv self update\n```\n\nSee the [installation documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fgetting-started\u002Finstallation\u002F) for\ndetails and alternative installation methods.\n\n## Documentation\n\nuv's documentation is available at [docs.astral.sh\u002Fuv](https:\u002F\u002Fdocs.astral.sh\u002Fuv).\n\nAdditionally, the command line reference documentation can be viewed with `uv help`.\n\n## Features\n\n### Projects\n\nuv manages project dependencies and environments, with support for lockfiles, workspaces, and more,\nsimilar to `rye` or `poetry`:\n\n```console\n$ uv init example\nInitialized project `example` at `\u002Fhome\u002Fuser\u002Fexample`\n\n$ cd example\n\n$ uv add ruff\nCreating virtual environment at: .venv\nResolved 2 packages in 170ms\n   Built example @ file:\u002F\u002F\u002Fhome\u002Fuser\u002Fexample\nPrepared 2 packages in 627ms\nInstalled 2 packages in 1ms\n + example==0.1.0 (from file:\u002F\u002F\u002Fhome\u002Fuser\u002Fexample)\n + ruff==0.5.0\n\n$ uv run ruff check\nAll checks passed!\n\n$ uv lock\nResolved 2 packages in 0.33ms\n\n$ uv sync\nResolved 2 packages in 0.70ms\nChecked 1 package in 0.02ms\n```\n\nSee the [project documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Fprojects\u002F) to get started.\n\nuv also supports building and publishing projects, even if they're not managed with uv. See the\n[publish guide](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Fpublish\u002F) to learn more.\n\n### Scripts\n\nuv manages dependencies and environments for single-file scripts.\n\nCreate a new script and add inline metadata declaring its dependencies:\n\n```console\n$ echo 'import requests; print(requests.get(\"https:\u002F\u002Fastral.sh\"))' > example.py\n\n$ uv add --script example.py requests\nUpdated `example.py`\n```\n\nThen, run the script in an isolated virtual environment:\n\n```console\n$ uv run example.py\nReading inline script metadata from: example.py\nInstalled 5 packages in 12ms\n\u003CResponse [200]>\n```\n\nSee the [scripts documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Fscripts\u002F) to get started.\n\n### Tools\n\nuv executes and installs command-line tools provided by Python packages, similar to `pipx`.\n\nRun a tool in an ephemeral environment using `uvx` (an alias for `uv tool run`):\n\n```console\n$ uvx pycowsay 'hello world!'\nResolved 1 package in 167ms\nInstalled 1 package in 9ms\n + pycowsay==0.0.0.2\n  \"\"\"\n\n  ------------\n\u003C hello world! >\n  ------------\n   \\   ^__^\n    \\  (oo)\\_______\n       (__)\\       )\\\u002F\\\n           ||----w |\n           ||     ||\n```\n\nInstall a tool with `uv tool install`:\n\n```console\n$ uv tool install ruff\nResolved 1 package in 6ms\nInstalled 1 package in 2ms\n + ruff==0.5.0\nInstalled 1 executable: ruff\n\n$ ruff --version\nruff 0.5.0\n```\n\nSee the [tools documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Ftools\u002F) to get started.\n\n### Python versions\n\nuv installs Python and allows quickly switching between versions.\n\nInstall multiple Python versions:\n\n```console\n$ uv python install 3.12 3.13 3.14\nInstalled 3 versions in 972ms\n + cpython-3.12.12-macos-aarch64-none (python3.12)\n + cpython-3.13.9-macos-aarch64-none (python3.13)\n + cpython-3.14.0-macos-aarch64-none (python3.14)\n\n```\n\nDownload Python versions as needed:\n\n```console\n$ uv venv --python 3.12.0\nUsing Python 3.12.0\nCreating virtual environment at: .venv\nActivate with: source .venv\u002Fbin\u002Factivate\n\n$ uv run --python pypy@3.8 -- python --version\nPython 3.8.16 (a9dbdca6fc3286b0addd2240f11d97d8e8de187a, Dec 29 2022, 11:45:30)\n[PyPy 7.3.11 with GCC Apple LLVM 13.1.6 (clang-1316.0.21.2.5)] on darwin\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>>>\n```\n\nUse a specific Python version in the current directory:\n\n```console\n$ uv python pin 3.11\nPinned `.python-version` to `3.11`\n```\n\nSee the [Python installation documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fguides\u002Finstall-python\u002F) to get\nstarted.\n\n### The pip interface\n\nuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands.\n\nuv extends their interfaces with advanced features, such as dependency version overrides,\nplatform-independent resolutions, reproducible resolutions, alternative resolution strategies, and\nmore.\n\nMigrate to uv without changing your existing workflows — and experience a 10-100x speedup — with the\n`uv pip` interface.\n\nCompile requirements into a platform-independent requirements file:\n\n```console\n$ uv pip compile requirements.in \\\n   --universal \\\n   --output-file requirements.txt\nResolved 43 packages in 12ms\n```\n\nCreate a virtual environment:\n\n```console\n$ uv venv\nUsing Python 3.12.3\nCreating virtual environment at: .venv\nActivate with: source .venv\u002Fbin\u002Factivate\n```\n\nInstall the locked requirements:\n\n```console\n$ uv pip sync requirements.txt\nResolved 43 packages in 11ms\nInstalled 43 packages in 208ms\n + babel==2.15.0\n + black==24.4.2\n + certifi==2024.7.4\n ...\n```\n\nSee the [pip interface documentation](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fpip\u002Findex\u002F) to get started.\n\n## Contributing\n\nWe are passionate about supporting contributors of all levels of experience and would love to see\nyou get involved in the project. See the\n[contributing guide](https:\u002F\u002Fgithub.com\u002Fastral-sh\u002Fuv?tab=contributing-ov-file#contributing) to get\nstarted.\n\n## FAQ\n\n#### How do you pronounce uv?\n\nIt's pronounced as \"you - vee\" ([`\u002Fjuː viː\u002F`](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FHelp:IPA\u002FEnglish#Key))\n\n#### How should I stylize uv?\n\nJust \"uv\", please. See the [style guide](.\u002FSTYLE.md#styling-uv) for details.\n\n#### What platforms does uv support?\n\nSee uv's [platform support](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Freference\u002Fplatforms\u002F) document.\n\n#### Is uv ready for production?\n\nYes, uv is stable and widely used in production. See uv's\n[versioning policy](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Freference\u002Fversioning\u002F) document for details.\n\n## Acknowledgements\n\nuv's dependency resolver uses [PubGrub](https:\u002F\u002Fgithub.com\u002Fpubgrub-rs\u002Fpubgrub) under the hood. We're\ngrateful to the PubGrub maintainers, especially [Jacob Finkelman](https:\u002F\u002Fgithub.com\u002FEh2406), for\ntheir support.\n\nuv's Git implementation is based on [Cargo](https:\u002F\u002Fgithub.com\u002Frust-lang\u002Fcargo).\n\nSome of uv's optimizations are inspired by the great work we've seen in [pnpm](https:\u002F\u002Fpnpm.io\u002F),\n[Orogene](https:\u002F\u002Fgithub.com\u002Forogene\u002Forogene), and [Bun](https:\u002F\u002Fgithub.com\u002Foven-sh\u002Fbun). We've also\nlearned a lot from Nathaniel J. Smith's [Posy](https:\u002F\u002Fgithub.com\u002Fnjsmith\u002Fposy) and adapted its\n[trampoline](https:\u002F\u002Fgithub.com\u002Fnjsmith\u002Fposy\u002Ftree\u002Fmain\u002Fsrc\u002Ftrampolines\u002Fwindows-trampolines\u002Fposy-trampoline)\nfor Windows support.\n\n## License\n\nuv is licensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n  \u003Chttps:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0>)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003Chttps:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT>)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uv\nby you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any\nadditional terms or conditions.\n\n\u003Cdiv align=\"center\">\n  \u003Ca target=\"_blank\" href=\"https:\u002F\u002Fastral.sh\" style=\"background:none\">\n    \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fastral-sh\u002Fuv\u002Fmain\u002Fassets\u002Fsvg\u002FAstral.svg\" alt=\"Made by Astral\">\n  \u003C\u002Fa>\n\u003C\u002Fdiv>\n","uv 是一个用 Rust 编写的极速 Python 包和项目管理工具。它集成了 `pip`、`pip-tools`、`pipx`、`poetry`、`pyenv`、`twine` 和 `virtualenv` 等工具的功能，比传统 `pip` 快 10 到 100 倍。核心功能包括全面的项目管理、脚本执行、Python 版本管理和工具安装等，并支持全局缓存以节省磁盘空间。uv 提供了与 `pip` 兼容的接口，使用户可以使用熟悉的命令行界面。适用于需要高效管理和快速部署 Python 项目的开发场景。",2,"2026-06-17 02:34:57","top_all"]