Returns the contents of the manifest and pom.properties file of a given jar file in the dictionary format. This is originaly repository https://github.com/badari412/jarmanifestreader. This is forked. I added function to find metainfo file to read pom.properties and MANIFES file
Project description
jarmetainforeader
Returns and prints the contents of the manifest, pom.xml and pom.properties file of a given jar file in the dictionary format.
Originaly, This is forked from https://github.com/badari412/jarmanifestreader. I added function to find metafiles(MANIFES.MF, pom.xml and pom.properties).
Compatible with python versions > 3.x versions.
Installation:
pip install jarmetainforeader
Sample usage:
If you want to print result
>>> from jarmetainforeader import meta_file_reader
>>> meta_file_reader.print_manifest_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
>>>
>>> meta_file_reader.print_pom_properties_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
>>>
>>> meta_file_reader.print_pomxml_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
If you want to get data
>>> from jarmetainforeader import meta_file_reader
>>> meta_file_reader.get_manifest_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
>>>
>>> meta_file_reader.get_pom_properties_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
>>>
>>> meta_file_reader.get_pomxml_contents('/Users/secuof/Downloads/commons-lang-2.4.jar')
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jarmetainforeader-0.3.1-py3-none-any.whl.
File metadata
- Download URL: jarmetainforeader-0.3.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b91e722c0be587b48bf756185d1248017e458846844df29128224ba3a0d2316b
|
|
| MD5 |
f117afd5a008f5778221ef3d95d7c357
|
|
| BLAKE2b-256 |
dd9f57dbd82810a69d837ca4bc6e170c41150a5f1eaada2efcb8da4640246c84
|