TorrentInfo is a simple command-line tool that parses .torrent files and provides a summary of their contents. By default it shows:
Additionally the path and size of the files in the torrent can be listed and the .torrent's contents can simply be dumped as a hierachy.
Usage
For example, calling TorrentInfo on a simple multi-file torrent gives the following output:
To see more information on the individual files within the torrent the files switch should be used:
Install
TorrentInfo uses the standard Python distribution utilities. So it should just be a case of uncompressing the archive and running:
Obviously the user running this must have sufficient permissions to create a file in the install directory.
A minor bug fix release, primarily to allow the code to run on Windows. Prior to this change, examining a torrent on a Windows machine would result in a buffer overflow error as the file would have been treated as ASCII rather than binary. Now the torrent files are explicitly opened as binary on all platforms.
The hash/bang line at the top of the script has also been altered, such that it will now use whatever Python interpreter is in your environment; rather than insisting on one being present in /usr/bin. This was causing problems with OS X where the default Python installation is in /usr/local/bin.
| Version | File | Description | MD5 |
|---|---|---|---|
| 1.0.2 | torrentinfo-1.0.2.tar.bz2 | Fixed default behaviour bug. | 023c9c3cf7586ef10310b645db2794a5 |
| 1.0.2 | torrentinfo-1.0.2.tar.gz | Fixed default behaviour bug. | 0ab4400f43a9509cb858d07917603cda |
| 1.0.1 | torrentinfo-1.0.1.tar.bz2 | Fixed Windows file loading bug. | 89c49aef71e312491646209e38ee4001 |
| 1.0.1 | torrentinfo-1.0.1.tar.gz | Fixed Windows file loading bug. | d2ef2ee9b03c179e2231c19c49cbb03e |
| 1.0.0 | torrentinfo-1.0.0.tar.bz2 | Initial release. | 807753a29efa41b1997a85f40a778ba1 |
| 1.0.0 | torrentinfo-1.0.0.tar.gz | Initial release. | eff0823e47c5a3d8e8d35ef5464487d5 |
Assorted Scripts - things that don't warrant a whole project but might be useful to someone.
Site hosted by Linode: using Apache, PHP, MySQL and Propel.
Site created using Eclipse PDT and OS X.
Site design and original content Copyright © Vrai Stacey. Unless otherwise stated, source code contained on this site is published under the GNU Public License (GPL).