Acefile

Latest version: v0.6.13

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.6.1

- Truncate password to 50 bytes for 1:1 compatibility with official unace.
- 40% performance increase of LZ77 decompression by reading LZ77 symbols as
needed instead of pre-loading whole blocks.
- Extended API documentation with high-level file format description.

0.6.0

- Library API overhaul towards a stable API:
- Add AceArchive.is_locked() for testing if an archive is locked.
- Add constants for compression types and quality.
- Replace AceArchive.mtime and AceMember.mtime with .datetime in order
to avoid confusion as ACE does not have separate modification and
creation times.
- Replace AceMember.orig_filename with AceMember.raw_filename and
change type from str to bytes.
- Replace AceMember.params with decoded AceMember.dicsizebits and
AceMember.dicsize, holding the decoded dictionary size as power of
two and as effective number of literals, respectively.
- Replace UnknownMethodError with UnknownCompressionMethodError.
- Remove the AceFile alias of the AceArchive class.
- Remove AceArchive.open().
- Remove TruncatedArchiveError; CorruptedArchiveError is used instead.
- Ensure all open files are closed on exceptions during object creation.
- Roughly 10% performance increase by constructing non-standard ACE CRC-32
from python standard library zlib.crc32 instead of using a pure python
CRC implementation.
- Show more metadata in CLI `--verbose` archive info and `--list`.
- Generate API documentation.

0.5.2

- Renamed AceFile to AceArchive, but AceFile is still available as an alias.
- Hidden AceInfo class from the API, it is still there but not in __all__.
- Added all exceptions to the API.
- Improved filename sanitization.

0.5.1

- Fix regression that broke extraction when directly writing the yielded
chunks to files.

0.5.0

- Add multi-volume archive support.
- All optional function arguments in the library API must now be passed in
keyword syntax, not as positional argument, to ensure future extensibility.
- Added documentation files into PyPI package.
- Renamed `--yes` to `--batch` in the CLI.

0.4.3

- Search the first 1024 sectors of files for the main archive header by
default, in line with the reference implementations.
- Some performance improvement for all decompression modes.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.