Skip to content

jenix21/python-javatools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview of python-javatools

A python module for unpacking and inspecting Java Class files, JARs, and collections of either.

It can do deep checking of classes to perform comparisons of functionality, and output reports in multiple formats.

If you have suggestions, please use the issue tracker on github. Or heck, just fork it!

Switching to Setuptools

Please see issue #3 and leave a comment with your thoughts on switching from distutils to setuptools. You can preview the change in the setuptools branch.

Requirements

All of these packages are available from PyPI, most major Linux distributions, and via MacPorts.

Optional

  • pylint - If installed you may invoke python setup.py pylint to get an overview report and a detailed summary written to the build dir.

Install

This module uses distutils, so simply run python setup.py install

If you'd prefer to build an RPM, see the wiki entry for Building as an RPM

Scripts Installed

  • classinfo - similar to the javap utility included with most JVMs. Also does provides/requires tracking.

  • classdiff - attempts to find differences between two Java class files

  • jarinfo - prints information about a JAR. Also does provides/requires tracking.

  • jardiff - prints the deltas between the contents of a JAR, and runs classdiff on differing Java class files contained in the JARs

  • manifest - creates and verifies class checksum manifests (needs work)

  • distinfo - prints information about a mixed multi-jar/class distribution, such as provides/requires lists.

  • distdiff - attempts to find differences between two distributions, deep-checking any JARs or Java class files found in either directory.

References

Contact

Christopher O'Brien obriencj@gmail.com

License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, see http://www.gnu.org/licenses/.

About

Tools for examining Java bytecode in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published