packy

Package manager for downloading packages from content providers


Keywords
package, CDNJS, JS, packet
License
MIT
Install
pip install packy==0.1.4

Documentation

📦 Packy

Build Status

What is packy?

Packy is a simple package manager working like pip which allows downloading packages from content delivery providers like cdnjs.

How does it work?

  1. Install it via pip:

    pip install packy
  2. 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/ ...

🔧 API

Additionally, packy can be used directly with Python:

from packy import Packy

packy.install('jquery')