PyCPU is a small (~16KB) library for Python that allows you to access the capabilities and features of a processor. The underlying library code is written in C and requires MinGW on Windows or GCC on Linux or OS X (Intel only).
A compiled Windows DLL is included in the distributions below, as well as a PDF manual with all of the CPU capability mnemonics and how to use it.
All code is released under the GPL v2 License. Enjoy!