Skip to main content

Tool for parsing Java Manifest files

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jarmanifest-1.0.14.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page