Torf

Latest version: v4.2.6

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

Scan your dependencies

Page 7 of 10

1.2

- Don't leave an empty file when calling write() on an invalid torrent

1.1

- Major rewrite with lots of tests that should fix the most obvious bugs
- The options --source and --nosource have been removed
- The option --nocreator has been added
- Output is now easier to parse when stdout is not a TTY (e.g. when piping to
grep, cut, awk, etc)

1.0

Final release

1.0rc5

- Fixed a bug where overwriting a torrent file resulted in corrupt torrent
- Added property 'pieces' that returns the number of pieces
- Added property 'filetree' that can be used to create a beautiful tree of a
torrent's content
- Added property 'is_ready' that is True when torrent can be exported
- When reading torrent files, don't read large files all the way to EOF before
failing
- All exceptions now have an 'errno' attribute (see 'errno' module)

1.0rc4

- Torrent.write() and Torrent.read() take a file path instead of an opened
file object
- Some exception names have changed
- Allow reading arbitrary bencoded data with validation turned off
- Default 'created_by' value is now 'torf/<version>'

1.0rc3

- Reduce entropy with 'randomize_infohash' enabled (some parsers seem to have
issues with large integers)

Page 7 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.