Skip to main content

Optional native (Rust/PyO3) acceleration kernels for goldenanalysis

Project description

goldenanalysis-native

Optional native (Rust/PyO3) acceleration kernels for goldenanalysis.

You don't import this directly. goldenanalysis stays a pure-Python wheel; pip install goldenanalysis[native] pulls this compiled abi3 wheel, and goldenanalysis.core._native_loader discovers it (falling back to the pure-Python path when it isn't present).

The kernel mirrors the pure-Python aggregation loops in goldenanalysis/core/aggregate.py (histogram, quantile) value-for-value, reading input as a Float64 Arrow array (zero-copy, C Data Interface). A primitive is only used under GOLDENANALYSIS_NATIVE=auto once it has cleared _native_loader._GATED_ON — proven byte-identical and measured to move the wall on a real shape. The two-crate split (pyo3-free analysis-core + this abi3 shim) mirrors goldencheck-core/goldencheck-native.

Build in-tree for local dev (drops goldenanalysis/_native.abi3.so):

uv run python scripts/build_analysis_native.py

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

goldenanalysis_native-0.1.0.tar.gz (12.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

goldenanalysis_native-0.1.0-cp311-abi3-win_amd64.whl (210.7 kB view details)

Uploaded CPython 3.11+Windows x86-64

goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl (349.3 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl (348.9 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

goldenanalysis_native-0.1.0-cp311-abi3-macosx_11_0_arm64.whl (310.1 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

goldenanalysis_native-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl (317.7 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file goldenanalysis_native-0.1.0.tar.gz.

File metadata

  • Download URL: goldenanalysis_native-0.1.0.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for goldenanalysis_native-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ab4f50b2fe3ce7dee027c4c3d974367df8cbc175c4b07c358ac55601b0c76f7
MD5 a7d7b9c0088a999cd2f992f8ff99a223
BLAKE2b-256 69919c8936b89b8bfd8f85b74013bce9c170e331c126b27e36df835984f236bf

See more details on using hashes here.

File details

Details for the file goldenanalysis_native-0.1.0-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for goldenanalysis_native-0.1.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1759a0ca495780f2b9bf421dd301dd81bd78e96bb37a8d8055751f7614e7a113
MD5 9714ddd07e84dcfb6f298b04c4656cde
BLAKE2b-256 76f33f39ecb8dc1e643c119a550865ed985c896f11b563ab9249986e697588d0

See more details on using hashes here.

File details

Details for the file goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a05aea0c3247039cf9f220a0bc52d3af98484d587b3fdb9e3be3865f5132fae4
MD5 a467d56f90e10911d8d917f7d81cc5cc
BLAKE2b-256 ab4895bc9020e6de8599577fcbd320ad640823f2b64355a2dca54a1e4f709057

See more details on using hashes here.

File details

Details for the file goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for goldenanalysis_native-0.1.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 781fd082b2dd4a5b3b78f10e717531c066a6ea4bac3b87a040193459501ba843
MD5 6993e6dc414f0f66e925611a3ce44864
BLAKE2b-256 f533457ed3a526f7da3cd74e304f3ee8ae94c60fa0d94e17db3f4f0aa67c91f5

See more details on using hashes here.

File details

Details for the file goldenanalysis_native-0.1.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for goldenanalysis_native-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 959c0dddb858e279cae1ce973d10cf9f88a557fbd00643c209209a7c5e4c97ad
MD5 28c678c68764624ca431b0ecd6d17f0a
BLAKE2b-256 b0992058b880bf080212106a2e5dcca247902931e7db3e671657d58942fe05e0

See more details on using hashes here.

File details

Details for the file goldenanalysis_native-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for goldenanalysis_native-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 79483326c792e614447fd647e6af370ea26ebf326ebf59f1bf4c1da4b41305bd
MD5 d5febc0ddb3d0722a719763de9d34e93
BLAKE2b-256 048ef272c7b741feac8b15b77a80114e45344eb71a9e862814124317d5f6d88a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page