X-Git-Url: https://www.irasnyder.com/gitweb/?p=rarslave2.git;a=blobdiff_plain;f=PAR2Set%2F__init__.py;h=aa579319838f9e13f9fc8d5140c06221d64c483a;hp=ef9539657418308d6075077f89ce55ed2a49b3b4;hb=feeefeb8ea2f1e4724424d43c0eb872aee4743c2;hpb=915d5e7efd472b541ca06bd4b28ce3ab2e0e7efc diff --git a/PAR2Set/__init__.py b/PAR2Set/__init__.py index ef95396..aa57931 100644 --- a/PAR2Set/__init__.py +++ b/PAR2Set/__init__.py @@ -1,17 +1,35 @@ #!/usr/bin/env python -# vim: set ts=4 sts=4 sw=4 textwidth=92: +# vim: set ts=4 sts=4 sw=4 textwidth=80: + +""" +A package which has many different types of PAR2Sets and their corresponding +detection functions. + +Each (non-base) class in this package is able to repair, extract, and delete +extra files from the corresponding set of files. +""" __author__ = "Ira W. Snyder (devel@irasnyder.com)" -__copyright__ = "Copyright (c) 2006, Ira W. Snyder (devel@irasnyder.com)" +__copyright__ = "Copyright (c) 2006-2008 Ira W. Snyder (devel@irasnyder.com)" __license__ = "GNU GPL v2 (or, at your option, any later version)" -# Module Description Goes Here +# Utilities and a PAR2 file parser +import utils +import par2parser -__all__ = ['Base', 'ExtractFirstBase', 'ExtractFirstNewRAR', 'ExtractFirstOldRAR', 'Join', - 'NewRAR', 'OldRAR', 'ZIP'] +# All of the PAR2Set classes +from CompareSet import CompareSet +from Base import Base +from NewRAR import NewRAR +from OldRAR import OldRAR +from Join import Join +from NoExtract import NoExtract +from ZIP import ZIP +from ExtractFirstBase import ExtractFirstBase +from ExtractFirstNewRAR import ExtractFirstNewRAR +from ExtractFirstOldRAR import ExtractFirstOldRAR -def main (): - pass +__all__ = ['utils', 'par2parser', 'CompareSet', 'Base', 'ExtractFirstBase', + 'ExtractFirstNewRAR', 'ExtractFirstOldRAR', 'Join', 'NewRAR', + 'NoExtract', 'OldRAR', 'ZIP'] -if __name__ == '__main__': - main ()