x86_64-variant-provider
This is a plugin for the proposed wheel variants implementation that provides properties specific to x86-64 CPUs.
Usage
Namespace: x86_64
Plugin API: x86_64_variant_provider (matching the default)
Example use in pyproject.toml:
[variant.providers.x86_64]
requires = ["x86_64-variant-provider"]
Provided properties
To obtain the full list of properties supported by a given plugin version, install it, then use:
variantlib plugins get-configs -a -n x86_64
To obtain the full list of properties compatible with your system, use:
variantlib plugins get-configs -s -n x86_64
x86_64 :: level
Values: v1, v2...
Specifies the targeted microarchitecture level.
The plugin automatically adds appropriate -march= value to CFLAGS.
The resulting wheel will be incompatible with CPUs below the specified
microarchitecture level.
x86_64 :: <extension>
Feature names: aes, avx2, sse4_1...
Values: on
Specifies that the built wheel uses the specific CPU extension. The plugin does not emit any compiler flags at the moment. The resulting wheel will be incompatible with CPUs that do not implement the specific extension.
Note that while these properties are independent of microarchitecture levels, there is little purpose in specifying them if the wheel already specifies a microarchitecture level requiring a specific extension.
These properties should only be used when the relevant intrinsics are used unconditionally. If the code using them uses runtime detection, they should not be specified, as they will prevent installing the wheel on systems where the extension is not available (yet the code would work fine, disabling the code in question).
Detection
Detection is backed by archspec and shared between x86_64-variant-provider and aarch64-variant-provider. The output from each command is mapped against the archspec microarchitecture database to emit the actual feature.
| OS | Detection method |
|---|---|
| Linux | Read vendor_id and flags from the first CPU entry in /proc/cpuinfo. |
| macOS | Run sysctl in a subprocess and parse machdep.cpu.vendor, machdep.cpu.features, machdep.cpu.leaf7_features, and machdep.cpu.extfeatures. |
| Windows | Execute the CPUID instruction and decode its registers using cpuid.json. |
Metadata
Release files for x86-64-variant-provider 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| x86_64_variant_provider-0.2.4.tar.gz | 4.3 kB | With provenance | Details for x86_64_variant_provider-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| x86_64_variant_provider-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for x86_64_variant_provider-0.2.4-py3-none-any.whl |
Total release size: 9.2 kB
Release files / x86_64_variant_provider-0.2.4.tar.gz
| Download URL | x86_64_variant_provider-0.2.4.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
135bcee21333b9d5952f330a7a35762bdc992519b9e3ed4858bacf972d0ecc7b
|
|
BLAKE2b-256 checksum How to use checksums |
ef97a11b1a3b4a8c012d962130dce80346c640108ae38c8caf34e52aa0c21dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / x86_64_variant_provider-0.2.4-py3-none-any.whl
| Download URL | x86_64_variant_provider-0.2.4-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6ee8472b085ddf93b0cea7a5a750f4fe6e2c00db17320c543dcc00f5c37576f
|
|
BLAKE2b-256 checksum How to use checksums |
160309de494b62650f16630b279b51bb2fe318ad6dc79ca97dbd64d94a4fa5ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for x86-64-variant-provider 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for x86_64_variant_provider-0.2.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.