Skip to main content
Files added late

8 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

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
>>> 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 run the cpuid command directly. The argument to cpuid goes into the EAX register before calling the CPUID instruction:

>>> from x86cpu import cpuid
>>> cpuid(1)
{'eax': 263761L, 'ebx': 17827840L, 'ecx': 2147154879L, 'edx': 3219913727L}

Some CPUID commands also care about the value in the ECX register. You can set this with a second optional argument to cpuid:

>>> cpuid(13, 1)
{'eax': 1, 'ebx': 0, 'ecx': 0, 'edx': 0}

The package installs a command line tool x86report giving output like this:

$ x86report
x86cpu report
-------------
brand            : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
vendor           : GenuineIntel
model (display)  : 69
family (display) : 6
model            : 5
family           : 6
extended model   : 4
extended family  : 0
stepping         : 1
processor type   : 0
signature        : 263761
MMX              : True
3DNow!           : True
SSE              : True
SSE2             : True
SSE3             : True
SSSE3            : True
SSE4.1           : True
SSE4.2           : True
supports AVX     : True
supports AVX2    : True

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.

Release files for x86cpu 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

8 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distributions (sdists)

Source distribution for x86cpu 0.4
File Size Uploaded
x86cpu-0.4.zip 63.7 kB Details
x86cpu-0.4.tar.gz 57.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for x86cpu 0.4
File
x86cpu-0.4-cp37-none-win_amd64.whl CPython 3.7 none Windows x86-64 Details
x86cpu-0.4-cp37-none-win32.whl CPython 3.7 none Windows x86-32 Details
x86cpu-0.4-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
x86cpu-0.4-cp36-none-win_amd64.whl CPython 3.6 none Windows x86-64 Details
x86cpu-0.4-cp36-none-win32.whl CPython 3.6 none Windows x86-32 Details
x86cpu-0.4-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
x86cpu-0.4-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
x86cpu-0.4-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details
x86cpu-0.4-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
x86cpu-0.4-cp34-none-win_amd64.whl CPython 3.4 none Windows x86-64 Details
x86cpu-0.4-cp34-none-win32.whl CPython 3.4 none Windows x86-32 Details
x86cpu-0.4-cp27-none-win_amd64.whl CPython 2.7 none Windows x86-64 Details
x86cpu-0.4-cp27-none-win32.whl CPython 2.7 none Windows x86-32 Details
x86cpu-0.4-cp27-none-macosx_10_6_intel.whl CPython 2.7 none macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 571.4 kB

Release files / x86cpu-0.4.zip

Download URL x86cpu-0.4.zip
Size 63.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f123775e74fc3542daf9df563cb4c71cf3cae457798ab69a97824614cb95bb85
BLAKE2b-256 checksum
How to use checksums
075e5a302031b608db98b5ab1eae6e3f1198ad9ad3d47127778bbe99e0ffa4c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4.tar.gz

Download URL x86cpu-0.4.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
cd2573002c1bc9551a33fa1bb8e02e9224f4f5ab6dff26813eeb5cdf4d85ed5e
BLAKE2b-256 checksum
How to use checksums
0cec2b46da78a810ab70f40392ac21cef71e7e6b60cd48091ab8649f2713143d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp37-none-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp37-none-win_amd64.whl
Size 32.9 kB
Tags CPython 3.7 Windows x86-64
SHA-256 checksum
How to use checksums
ae0df4ff24d00770b5fb852f9d39d9fd4d6a7e334b2698edd4531944f3d31cba
BLAKE2b-256 checksum
How to use checksums
4c981becc3d8966d8ad835c56ce3a9e22b84ab4671e11f2d58579111c3626088
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / x86cpu-0.4-cp37-none-win32.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp37-none-win32.whl
Size 29.7 kB
Tags CPython 3.7 Windows x86-32
SHA-256 checksum
How to use checksums
cfb305babfa9aceeb7a2bf62775b7822a8d07acb55065e1daf48b2561680e797
BLAKE2b-256 checksum
How to use checksums
40871f9337479f471932043c0a1676d7d3b844ffe4bf1362cf3843e795a5b745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / x86cpu-0.4-cp37-cp37m-macosx_10_9_x86_64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp37-cp37m-macosx_10_9_x86_64.whl
Size 27.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4076481a5efb167a94074fb020e300d88969c0f81f76ff8419755856fc6e56d3
BLAKE2b-256 checksum
How to use checksums
6671cf08662888dcfd02f04a3a295c69f394198bb997e831a8a5216ed01f7b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / x86cpu-0.4-cp36-none-win_amd64.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp36-none-win_amd64.whl
Size 33.1 kB
Tags CPython 3.6 Windows x86-64
SHA-256 checksum
How to use checksums
7b631581757771f8941797b4c80caab8ab9d3a22f3225eebaacb88e2a3d929f6
BLAKE2b-256 checksum
How to use checksums
4de723a2224fc3bbb879078d819462ee0492afd7d7d3cc96d881b0d713a40bda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / x86cpu-0.4-cp36-none-win32.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp36-none-win32.whl
Size 29.8 kB
Tags CPython 3.6 Windows x86-32
SHA-256 checksum
How to use checksums
23678beb0b3f4d5a84214034ffa77d169c11d43d20da19c7bcaa59d960e075fe
BLAKE2b-256 checksum
How to use checksums
65acfb9dc5cb644d44d15da887b440404277806c73af4a371bd46fe4d8b71159
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/38.5.2 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release files / x86cpu-0.4-cp36-cp36m-macosx_10_6_intel.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp36-cp36m-macosx_10_6_intel.whl
Size 46.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
cce206afca792d870841cc12cd60b80954a3084594f9390c02ed0209f3fed989
BLAKE2b-256 checksum
How to use checksums
df2e900c01a09a1351495592d19241a1e6bc828af248833f0e6e27eda35b6227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp35-none-win_amd64.whl

Download URL x86cpu-0.4-cp35-none-win_amd64.whl
Size 29.1 kB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
51686f2c57557260c3c6c72743702af3fe586044a4cbe19045998bc53081aa91
BLAKE2b-256 checksum
How to use checksums
9dc55a05cf0dc565ea6a164386620ac17fd90bdc5755fc838a5952c20496f327
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp35-none-win32.whl

Download URL x86cpu-0.4-cp35-none-win32.whl
Size 26.6 kB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
5ba961bafdf2bf2a42354266867daa1f70fd11d617c1972d0bd5e5845d3db2ab
BLAKE2b-256 checksum
How to use checksums
1194c85ce1b58c78f6b6cbaf342b4b4d0f0e84eeb64d6600818a4c409716a836
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp35-cp35m-macosx_10_6_intel.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp35-cp35m-macosx_10_6_intel.whl
Size 46.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
cc10b740257a79225193701ad9d918b714987e2cb91847d25c3b3371e72eaa70
BLAKE2b-256 checksum
How to use checksums
1344ab69f746870854a5a50197bec4be98bd25976799690218987a2685598e9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp34-none-win_amd64.whl

Download URL x86cpu-0.4-cp34-none-win_amd64.whl
Size 27.7 kB
Tags CPython 3.4 Windows x86-64
SHA-256 checksum
How to use checksums
9065d7f31ec2a4147c659166f3fedcd2ad201022dd1cb3c5468ebdcb6962304d
BLAKE2b-256 checksum
How to use checksums
8abf6eb46af2819253027c53b1f14d57a0d284a34dd10543902b790e8cb3f322
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp34-none-win32.whl

Download URL x86cpu-0.4-cp34-none-win32.whl
Size 26.2 kB
Tags CPython 3.4 Windows x86-32
SHA-256 checksum
How to use checksums
6337db2c3d4368b8aa482c855231441ecc60054856f50efff2cb319cb47f575d
BLAKE2b-256 checksum
How to use checksums
f433cfd6f82a41ba1132753bc129a5a391a3b4d9b2ad7a6a79616e7383c3d2c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp27-none-win_amd64.whl

Download URL x86cpu-0.4-cp27-none-win_amd64.whl
Size 27.7 kB
Tags CPython 2.7 Windows x86-64
SHA-256 checksum
How to use checksums
1df5b5e0dd6792070cc0589d5ffff75ac54c06314a425c0d06f453719ff8d79a
BLAKE2b-256 checksum
How to use checksums
44bbacc75caec0251e9a73d540eaea3fe41b8d959fc583d52e608e181e2e2587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp27-none-win32.whl

Download URL x86cpu-0.4-cp27-none-win32.whl
Size 26.0 kB
Tags CPython 2.7 Windows x86-32
SHA-256 checksum
How to use checksums
c00997734ac5ea0c269c6c3f437d72e12a69acdcc54697f0dc1a92edf28cc0d3
BLAKE2b-256 checksum
How to use checksums
31bc004c3ff1ff9c237dad53df6f58b01f2a0df95afeb724aed2bffc55cd521c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / x86cpu-0.4-cp27-none-macosx_10_6_intel.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL x86cpu-0.4-cp27-none-macosx_10_6_intel.whl
Size 41.5 kB
Tags CPython 2.7 macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
bdb82cd4b4cbe81cbc20e328225018e55725b3d15e75c5b0cdd3d2727f36b125
BLAKE2b-256 checksum
How to use checksums
03ba281f30422375e90f86544f5b63f5e34ac4d3c975b993e83daa6ac2484998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

16 release files

0.3

8 release files

0.2

8 release files

0.1

8 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page