Skip to main content

Stub package to replace pip with uv pip in a virtual environment

Project description

pip-is-uv

Stub package that replaces pip with uv pip inside a virtual environment. All invocation paths are intercepted:

  • pip / pip3 scripts
  • python -m pip
  • import pip; pip.main(...) (legacy API)

Requirements

uv must be installed and available on PATH, or present in the same bin/ directory as the Python interpreter (e.g., uv installed into the venv alongside this package).

How it works

pip-is-uv installs a pip Python package that shadows the real pip. When any pip entry point is invoked, it locates the uv binary and calls uv pip with all arguments passed through unchanged, replacing the current process (execvp on Unix, subprocess on Windows).

Limitations

  • Commands not supported by uv pip (e.g., pip wheel, pip hash) will fail with an error from uv.
  • uv must be installed separately; this package does not depend on it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip_is_uv-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_is_uv-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pip_is_uv-0.1.0.tar.gz.

File metadata

  • Download URL: pip_is_uv-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pip_is_uv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2608373d50c6dba94d1714f6265f142f8c6d60a71baab3f15363f2fc2b9b4f7b
MD5 aa8c5600d626d1f8c37839ce8d33ffc3
BLAKE2b-256 9830a9825964208ea99e1a2f0ef79c7bf0ac0f4474dc519cbde7ddbdf7b021da

See more details on using hashes here.

File details

Details for the file pip_is_uv-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pip_is_uv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for pip_is_uv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7fcd5a0fa44c30d1e1cd18b6ffe1fc5425b830e649e18042ea6faebb4a33d68d
MD5 26439fd1bfb7d851a0631d1c61d348f1
BLAKE2b-256 d409c53858a664012dee6888ee7fed4923bcc6a1b8739fef28b1a60905d1e09f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page