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')
Release files for jarmetainforeader 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jarmetainforeader-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / jarmetainforeader-0.3.1-py3-none-any.whl
| Download URL | jarmetainforeader-0.3.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b91e722c0be587b48bf756185d1248017e458846844df29128224ba3a0d2316b
|
|
BLAKE2b-256 checksum How to use checksums |
dd9f57dbd82810a69d837ca4bc6e170c41150a5f1eaada2efcb8da4640246c84
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|