Giter Site home page Giter Site logo

nevinhappy / python-javatools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from obriencj/python-javatools

0.0 0.0 0.0 1.54 MB

Tools for examining Java bytecode in Python

License: GNU Lesser General Public License v3.0

Python 97.69% Emacs Lisp 0.22% Shell 1.10% CSS 0.30% JavaScript 0.02% Java 0.63% Makefile 0.04%

python-javatools's Introduction

Overview of python-javatools

Build Status

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!

Requirements

In addition, the following tools are used in building and testing the project.

All of these packages are available in most linux distributions (eg. Fedora), and for OSX via MacPorts.

Building

This module uses setuptools, so running the following will build the project:

python setup.py build

to install, run:

sudo python setup.py install

Testing

Tests are written as unittest test cases. If you'd like to run the tests, simply invoke:

python setup.py test

RPM

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

Javatools Scripts

  • 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

  • jarutil - creates and signs JARs, verifies JAR signatures

  • manifest - creates and queries JAR manifests

  • 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.

Additional References

Contact

Author: Christopher O'Brien [email protected]

If you're interested in my other projects, feel free to visit my blog.

Original Git Repository: https://github.com/obriencj/python-javatools

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/.

python-javatools's People

Contributors

obriencj avatar konstantinshemyak avatar rumpeltux avatar bmurray7 avatar int3 avatar adrianherrera avatar tehw0lf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.