jarmanifest

Tool for parsing Java Manifest files


Keywords
java, dependencies, metadata
License
GPL-3.0
Install
pip install jarmanifest==1.0.1

Documentation

JarManifest

Extract manifest information from Java library files (jars).

Description

Use this library to look at jar META-INF/MANIFEST files and extract Implementation-Title, and Implementation-Version. Based on the specification of jars found [here](http://docs.oracle.com/javase/1.4.2/docs/guide/jar/jar.html#Notes)

Installation

pip install virtualenv

A jarmanfiest.cfg file should you copied to your python's etc directory

Usage

$ python3
>>> from jarmanifest import manifest
>>> manifest.getAttributes('/tmp/spring/META-INF/MANIFEST.MF')
[{'implementationtitle': 'org.springframework.core', 'implementationversion': '3.1.3.RELEASE'}]