It’s been more than two years since I’ve released the first version of my pycpuid module for Python. I haven’t been using it since, but as some people do, I decided to upgrade it a little. The result is pycpuid-0.2.0.zip. It’s still an unfinished work (I would like to add some more of the high level functions), but as progress came to a standstill again, I’m releasing it as is. Here’s the changelog:
- The feature abbreviations now resemble the ones in the Intel and AMD documentation.
features()is now a function and returns a list of strings, instead of being a comma separated string.
- Added some functions like
brand_string()as handy wrappers.
pycpuidis now a combination of a pure python module
pycpuid.pyand an extension
_pycpuid.c. The extension module is only responsible for the actual
cpuidcall. All the fancy wrapper bits are implemented in Python.
- Added gcc support. Using
__cpuidintrinsic on MSVC to support x64.
Share and Enjoy!