I would beg to differ. The htpasswd program ships with Apache, and I don't know if anything else is currently compatible with its file format. But even if something is, it ships with Apache, so I would add it to apache.py.