py7z is a quick and dirty Python wrapper for 7-zip's command line interface. It allows you to unpack, pack, test archives for errors and list files in an archive through a pure Python interface.
py7z is available under the GNU GPL, as required by 7-zip's license.