Collect information about x86 CPU
Project description
Uses cpuid instruction to get information about CPU.
Queries OS as well as cpuid to see if the OS / CPU supports AVX instructions.
Quickstart
>>> from x86cpu import info, cpuid >>> print(info.model_display, info.family_display) (69, 6) >>> print(info.vendor) GenuineIntel >>> print(info.brand) 'Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz'
You can also run the cpuid command directly:
>>> cpuid(1) {'eax': 263761L, 'ebx': 17827840L, 'ecx': 2147154879L, 'edx': 3219913727L}
Code
See https://github.com/matthew-brett/x86cpu
Released under the BSD two-clause license - see the file LICENSE in the source distribution.
The latest released version is at https://pypi.python.org/pypi/x86cpu
Support
Please put up issues on the x86cpu issue tracker.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
x86cpu-0.2.zip
(53.8 kB
view hashes)
x86cpu-0.2.tar.gz
(48.2 kB
view hashes)
Built Distributions
x86cpu-0.2-cp35-none-win32.whl
(21.7 kB
view hashes)
x86cpu-0.2-cp34-none-win32.whl
(20.5 kB
view hashes)
x86cpu-0.2-cp27-none-win32.whl
(20.5 kB
view hashes)
Close
Hashes for x86cpu-0.2-cp35-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411d6693d1cb72c30aa9af95d9262a34e9b725e8680500db4c0153c59e23d5b1 |
|
MD5 | e63a1a7130509dc9c777d847c8d71b38 |
|
BLAKE2b-256 | 745bd3285406b2bde7d5805e4509f1b3afe07b650e201aecbc0b81699f31ead2 |
Close
Hashes for x86cpu-0.2-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbda7d66ba69fc0e2b03377c5b97afc16496c0374c0e88b55185c7411ec6623d |
|
MD5 | e3269cb764160ed7534c0505b97d32c1 |
|
BLAKE2b-256 | 9c05087acea313a42241f0d0509e54bb35af548e39d496411b0a6713d7305b91 |
Close
Hashes for x86cpu-0.2-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d2530b9f80894316e85049160516b2b5fad3e9c71a601928b2f89fcfd68951 |
|
MD5 | 4a86df1d6d47716417e60ce6862e865c |
|
BLAKE2b-256 | e4a54316915dcccbe614fa91835453444f62db54256e5f763fc7ef11f493aadd |