Software

Most Python code here is still for Python 2 if not otherwise stated.

bitrate.py

This script calculates bitrates for video files. See the readme file in the archive for more information about it and why I thought the world (or at least me) needs yet another one of those scripts.

mkplaylist.py

This Python script scans a directory and its subdirectories for media files and creates a playlist in M3U format. See the readme file in the archive for more information.

rtar.py

Attempt at a simple archiver to see if sorting the file names by file name extensions before “tarring” them results in a better compression ratio. It creates standard bzip2, gzip, or xz compressed tar archives — if one calls GNU tar archives standard.

See the readme file in the archive for more information.

summer.py

Calculates the md5 and sha1 checksum of given file(s) in one pass, i.e. the data is read just once. That’s noticably faster than calculating them one after another, especially for large files like movies, CD and DVD images. The ouput is compatible with md5sum and sha1sum.

See the readme file in the archive for more information.

todox.py

Most programmers place comments that start with TODO, FIXME or XXX at places that need attention and further treatment. This tool extracts such comment lines from files or whole directory trees and prints them together with the file name and line number to stdout.

See the readme file in the archive for more information.