stouputils.archive.repair package#
This module provides the recovery of zip archives that the standard library refuses to open.
repair_zip_file()- Try to repair a corrupted zip file by ignoring some of the errorsZipScanner- Byte level view over a damaged archive, tolerant to broken offsets
Submodules#
- stouputils.archive.repair.repair module
RecoveredArchiveRecoveredArchive.METADATA_NAMERecoveredArchive.SUPPORTED_METHODSRecoveredArchive.scannerRecoveredArchive.zip_fileRecoveredArchive.seen_namesRecoveredArchive.entry_indexRecoveredArchive.unique_name()RecoveredArchive.write()RecoveredArchive.write_central_entry()RecoveredArchive.recover_metadata()
repair_zip_file()
- stouputils.archive.repair.scanner module
LocalHeaderCentralEntryZipScannerZipScanner.LOCAL_SIGNATUREZipScanner.CENTRAL_SIGNATUREZipScanner.EOCD_SIGNATUREZipScanner.LOCAL_HEADER_SIZEZipScanner.CENTRAL_HEADER_SIZEZipScanner.UTF8_NAME_FLAGZipScanner.SEARCH_BACKWARDZipScanner.SEARCH_FORWARDZipScanner.dataZipScanner.signature_positionsZipScanner.sizeZipScanner.find_all()ZipScanner.next_signature()ZipScanner.decode_name()ZipScanner.sanitize_name()ZipScanner.find_local_header_near()ZipScanner.read_local_header()ZipScanner.decode_range()ZipScanner.extract_content()ZipScanner.central_entries()