Takes the Jetpack add-on manifest object, and returns the add-on ID.
Project description
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
Release History
0.0.2 (2016-04-07)
Support file and dict obj
0.0.1 (2016-04-07)
Initiate the project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyJetpackID-0.0.2.tar.gz
(2.2 kB
view details)
File details
Details for the file pyJetpackID-0.0.2.tar.gz
.
File metadata
- Download URL: pyJetpackID-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 504e289f53b18651c3a4a10f8f95e416c76718e7c09dec1f0d0a560f17e27e8c |
|
MD5 | 3e863aab1204ebddbf20f099090e70cc |
|
BLAKE2b-256 | 45bf7010dc55595ea8cd8bf17c27f4bbe26f7faa9bd39662a984a99992ac1831 |