Packy is a simple package manager working like pip which allows downloading packages from content delivery providers like cdnjs.
-
Install it via pip:
pip install packy
-
Install packages
# Latest version packy jquery # Specific version packy jquery==3.2 # Version range packy jquery>=2.0 # Install from packages.txt (syntax like requirements.txt) packy -r packages.txt # Set CD provider packy -p cdnjs ... # Set installation directory packy -o ./static/ ...
Additionally, packy can be used directly with Python:
from packy import Packy
packy.install('jquery')