Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

RedHatProductSecurity/JarManifest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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'}]

Releases

No releases published

Packages

No packages published

Languages