All Projects → youngquan → pip-download

youngquan / pip-download

Licence: MIT license
A wrapper for pip download in offline scenario.

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to pip-download

Fades
fades is a system that automatically handles the virtualenvs in the cases normally found when writing scripts and simple programs, and even helps to administer big projects.
Stars: ✭ 182 (+727.27%)
Mutual labels:  pypi, pip
pystyle
The source of my Python library, pystyle.
Stars: ✭ 158 (+618.18%)
Mutual labels:  pypi, pip
Rules python
Experimental Bazel Python Rules
Stars: ✭ 233 (+959.09%)
Mutual labels:  pypi, pip
Pigar
☕️ A fantastic tool to generate requirements.txt for your Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
Stars: ✭ 1,068 (+4754.55%)
Mutual labels:  pypi, pip
pmm
PyPi Mirror Manager
Stars: ✭ 29 (+31.82%)
Mutual labels:  pypi, pip
Dephell
📦 🔥 Python project management. Manage packages: convert between formats, lock, install, resolve, isolate, test, build graph, show outdated, audit. Manage venvs, build package, bump version.
Stars: ✭ 1,730 (+7763.64%)
Mutual labels:  pypi, pip
Pyload
The free and open-source Download Manager written in pure Python
Stars: ✭ 2,393 (+10777.27%)
Mutual labels:  download, pypi
Piprot
How rotten are your requirements?
Stars: ✭ 409 (+1759.09%)
Mutual labels:  pypi, pip
django-freeze
🧊 convert your dynamic django site to a static one with one line of code.
Stars: ✭ 81 (+268.18%)
Mutual labels:  download, pypi
PyGLM
Fast OpenGL Mathematics (GLM) for Python
Stars: ✭ 167 (+659.09%)
Mutual labels:  pypi, pip
Python Pixabay
Python 3 Pixabay's API wrapper.
Stars: ✭ 32 (+45.45%)
Mutual labels:  pypi, pip
pypi-simple
PyPI Simple Repository API client library
Stars: ✭ 21 (-4.55%)
Mutual labels:  pypi, pip
Matrixprofile Ts
A Python library for detecting patterns and anomalies in massive datasets using the Matrix Profile
Stars: ✭ 621 (+2722.73%)
Mutual labels:  pypi, pip
Audioowl
Fast and simple music and audio analysis using RNN in Python 🕵️‍♀️ 🥁
Stars: ✭ 151 (+586.36%)
Mutual labels:  pypi, pip
Try
Dead simple CLI tool to try Python packages - It's never been easier! 📦
Stars: ✭ 588 (+2572.73%)
Mutual labels:  pypi, pip
pyHeadspace
command-line script to download headspace packs, singles, everyday meditation and other sessions. You could also download all packs at once
Stars: ✭ 37 (+68.18%)
Mutual labels:  download, pypi
Pipx
Install and Run Python Applications in Isolated Environments
Stars: ✭ 4,398 (+19890.91%)
Mutual labels:  pypi, pip
Pip Upgrader
An interactive pip requirements upgrader. It also updates the version in your requirements.txt file.
Stars: ✭ 340 (+1445.45%)
Mutual labels:  pypi, pip
yavdb
Yet Another Vulnerability Database
Stars: ✭ 14 (-36.36%)
Mutual labels:  pypi, pip
ios2androidres
Copy iOS image resources to their appropriate Android directory
Stars: ✭ 20 (-9.09%)
Mutual labels:  pypi, pip

pip-download: A wrapper useful in offline scenario

简体中文

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.6+. 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:
$ source 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/
$ pip-dwonload -py cp37 ujson
$ pip-dwonload -py cp37 -p win_amd64 ujson

Also, you can put your common options in the config file, python_versions and platform_tags are supported now:

$ pip-download --show-config
/some-path-to/settings.json

$ vim /some-path-to/settings.json
{
    "python-versions": ["cp37"],
    "platform-tags": ["win_amd64"]
}

$ vim /some-path-to/settings.json
{
    "python-versions": ["cp37", "cp36"],
    "platform-tags": ["win_amd64", "manylinux"]
}

For more usage, use pip-download --help.

Credits

  • All the people who work on Click
  • All the people involved in the project hatch
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].