cdnjs/yet-another-importer-using-python

Name: yet-another-importer-using-python

Owner: cdnjs

Description: null

Created: 2016-05-27 13:40:20.0

Updated: 2016-06-06 04:29:58.0

Pushed: 2016-06-13 05:02:46.0

Homepage: null

Size: 6

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

cdnjs library importer using python

Now only support NPM package

Environment setting:

You should open importer.py and set your own cdnjs_path and minify_path variables

usage:

on importer.py [-h] --lib-name LIB_NAME --git-url GIT_URL [--npm-pkg NPM_PKG] --lib-author LIB_AUTHOR --issue-num ISSUE_NUM

cdnjs importer

optional arguments:

--help                              # show this help message and exit

b-name LIB_NAME, -l LIB_NAME        # The library name wanted to import to cdnjs

t-url GIT_URL, -g GIT_URL           # The git repository url of the library

m-pkg NPM_PKG, -n NPM_PKG           # The npm package name of the library

b-author LIB_AUTHOR, -a LIB_AUTHOR  # The author's github account of the library

sue-num ISSUE_NUM, -i ISSUE_NUM     # The issue number of cdnjs

dependencies:

install gitpython

reference:

http://gitpython.readthedocs.io/en/stable/intro.html


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.