LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

uv-export

Export dependencies to requirements format

TLDR

Export to requirements.txt format
$ uv export > requirements.txt
copy
Export to a specific file
$ uv export --output-file [requirements.txt]
copy
Export without dev dependencies
$ uv export --no-dev > requirements.txt
copy
Export without hashes
$ uv export --no-hashes > requirements.txt
copy
Export in pylock.toml format (PEP 751)
$ uv export --format pylock.toml --output-file [pylock.toml]
copy
Export as CycloneDX SBOM
$ uv export --format cyclonedx1.5 --output-file [sbom.json]
copy
Export script dependencies
$ uv export --script [script.py]
copy

SYNOPSIS

uv export [options]

DESCRIPTION

uv export exports project dependencies to various formats. The default format is requirements.txt, compatible with pip. It also supports pylock.toml (PEP 751) and CycloneDX SBOM for security auditing and compliance. Useful for deployment environments that don't use uv.

PARAMETERS

--format format

Output format: requirements.txt (default), pylock.toml, or cyclonedx1.5.
--locked
Assert lockfile is up-to-date before exporting.
--frozen
Export without updating the lockfile.
--no-dev
Exclude dev dependencies.
--no-hashes
Exclude hashes from output.
-o, --output-file file
Write to specified file instead of stdout.
--script file
Export dependencies for a PEP 723 script.

INSTALL

sudo dnf install uv
copy
sudo pacman -S uv
copy
sudo apk add uv
copy
brew install uv
copy
nix profile install nixpkgs#uv
copy

SEE ALSO

uv(1), uv-lock(1), uv-run(1), pip(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid