Skip to main content

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 provider-variant-aarch64. 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.3

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

Source distribution (sdist)

Source distribution for x86-64-variant-provider 0.2.3
File Size Uploaded Provenance Actions
x86_64_variant_provider-0.2.3.tar.gz 74.0 kB With provenance Details for x86_64_variant_provider-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for x86-64-variant-provider 0.2.3
File Interpreter ABI Platform Actions
x86_64_variant_provider-0.2.3-py3-none-any.whl Python 3 none any Details for x86_64_variant_provider-0.2.3-py3-none-any.whl

Total release size: 116.9 kB

Release files / x86_64_variant_provider-0.2.3.tar.gz

Download URL x86_64_variant_provider-0.2.3.tar.gz
Size 74.0 kB
Tags Source
SHA-256 checksum
How to use checksums
acf9f2f29ef53b84f065b93344be50eebe6c8566d9e3582d6c0b49e6547d1786
BLAKE2b-256 checksum
How to use checksums
864bf204e3d8e5dabd048c1a7e780437079b08c91778aefdd5a7cbf71a441965
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 12, 2026.

Transparency log

Release files / x86_64_variant_provider-0.2.3-py3-none-any.whl

Download URL x86_64_variant_provider-0.2.3-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
095bb57cedcdf2c667b54609af3cde94f9898114cfa8140b2c6f4705479bc225
BLAKE2b-256 checksum
How to use checksums
fff8806eebf3e8cd878ce7cde4d87cc0bd82223dc60906f998bbaea6c243c235
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 12, 2026.

Transparency log

Security for x86-64-variant-provider 0.2.3

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.

Select from 2 files

Attestation for x86_64_variant_provider-0.2.3.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 12, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files Full provenance

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