pyJetpackID

Takes the Jetpack add-on manifest object, and returns the add-on ID.


Keywords
mozilla, firefox, jetpack, jpm, addon, extension, utilities
License
Other
Install
pip install pyJetpackID==0.0.2

Documentation

pyJetpackID

https://travis-ci.org/askeing/pyJetpackID.svg?branch=master

Takes the Jetpack add-on manifest object, and returns the add-on ID.

Usage

from jetpackid.jetpackid import JetpackID

file_path = '/path/to/package.json'
JetpackID.get_id(file_path)

manifest = dict(name="JETPACK_ID")
JetpackID.get_id(manifest) # @JETPACK_ID