SIMDe header build-requirements for Python C extensions
Project description
simde-py
Python package providing SIMD Everywhere (SIMDe) header files for building Python C extensions with portable SIMD intrinsics.
SIMDe is a header-only C library that provides fast, portable implementations of SIMD intrinsics. It allows you to use SSE functions on ARM, or NEON functions on x86, with zero overhead when native implementation is available.
Installation
As a build dependency in pyproject.toml:
[build-system]
requires = ["setuptools", "simde-py"]
Usage
import simde_py
# Get include directory for your extension
include_dir = simde_py.get_include()
In your C code:
#include "simde/x86/sse2.h"
#include "simde/arm/neon.h"
// SIMD code works everywhere
API
simde_py.get_include()
Returns the path to the SIMDe header files directory.
License
SIMDe is distributed under an MIT-style license; see COPYING for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file simde_py-0.8.4rc2.tar.gz.
File metadata
- Download URL: simde_py-0.8.4rc2.tar.gz
- Upload date:
- Size: 786.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e53a89e5654ca7a1e6c21c7bddabc65c7bc1ae90eea3ca782fa6e4257bab35e8
|
|
| MD5 |
81ec420ed8d02d57f9f52ce7369fbfef
|
|
| BLAKE2b-256 |
0a5fc4c189a8197ed8e520928b12bd78a637b510ce619a58e1f53feeecd03a6f
|
Provenance
The following attestation bundles were made for simde_py-0.8.4rc2.tar.gz:
Publisher:
deploy.yaml on miili/simde-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
simde_py-0.8.4rc2.tar.gz -
Subject digest:
e53a89e5654ca7a1e6c21c7bddabc65c7bc1ae90eea3ca782fa6e4257bab35e8 - Sigstore transparency entry: 798582376
- Sigstore integration time:
-
Permalink:
miili/simde-py@7dcd4f92ce63ef6ffd3d1662b2c4a8235bd71a0c -
Branch / Tag:
refs/tags/v0.8.4-rc2 - Owner: https://github.com/miili
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yaml@7dcd4f92ce63ef6ffd3d1662b2c4a8235bd71a0c -
Trigger Event:
push
-
Statement type: