Skip to main content

A wrapper for pip download.

Project description

pip-download is a tool which can be used to download python projects and their dependencies listed on pypi’s download files page. If you run the pip-download command to download one project on a Linux platform, packages end with .whl and can be directly installed on a Windows and a macOS platform will also be downloaded. In that way, you can use these downloaded packages to serve for a minimal pypi sever(like pypiserver on your company internal network.

At first, it uses pip download xxx command to download packages of the project xxx to a temp dir. Then it unpacks these downloaded packages’ name and version to download all packages of the project xxx. These downloaded packages include packages end with .whl built on the Linux, Windows, macOS platform and the source packages end with .tar.gz or .zip .

Installation

pip-download is distributed on PyPI and is available on Linux/macOS and Windows and supports Python 3.5+. You can simply install pip-download as below:

$ pip install pip-download

However, it’s a better choice to use a virtual environment:

$ python -m venv venv
# On Windows:
$ .\venv\Scripts\activate
# On Linux:
$ .venv/bin/activate
$ pip install pip-download

virtualenv is also a good choice.

Usage

After installation, you can use pip-download to download python projects and its dependencies.

$ pip-download flask
$ pip-download -r requirements.txt
$ pip-download hatch -d /tmp/

License

pip-download is distributed under the terms of both

at your option.

Credits

  • All the people who work on Click

  • All the people involved in the project hatch

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-download-0.0.4.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

pip_download-0.0.4-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file pip-download-0.0.4.tar.gz.

File metadata

  • Download URL: pip-download-0.0.4.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pip-download-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a0fac670524846e1f5141f3ae28e3e74b5bce59bc4a76f65a390552e5e5e50d3
MD5 7a2ca0da6b5e74fdef51fdf86da981ee
BLAKE2b-256 9d1c4f9ff52b09c0babb5d6e8d4b77f9775cd2e8827da5d44ad095f7f1244532

See more details on using hashes here.

File details

Details for the file pip_download-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: pip_download-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for pip_download-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 66f7f4d11dbe27007903d336ad51f5971f12c04bb260cc1503270cb540f4473a
MD5 77fd878bafc2fcdca85498f9a51e5bf7
BLAKE2b-256 d40817e9367cba3a53973a8b35173128a87d806f276113057969e7ba01a33eb3

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