Python MySQL it is a easy-to-use database tool based on api keys.
Set of command line tools and a rich Python API.
Python WMI module is a lightweight wrapper on top of the pywin32 extensions.