pyrad is an implementation of a RADIUS client and server as described in RFC2865, 2866, and others. It takes care of all the details like building RADIUS packets, sending and receiving them, and en-/decoding responses.
Python-dpkg contains a set of tools that are useful on systems using dpkg, or in other environments where you want to work with dpkg-style files or abstractions.