Skip to main content

alberta-buck-kernel

The compiled Alberta Buck kernels for Python: integer monetary arithmetic bit-identical to the Solidity contracts, and the BN254 identity, wallet and registry cryptography.

Nothing requires this package. It is the optional fast path behind alberta-buck-core and the alberta-buck reference implementation. Everything here has a pure-Python equivalent in alberta_buck.wallet, which remains the executable specification -- this package is proven bit-identical to it by golden vectors, so choosing it cannot change a single emitted byte. It is only faster.

pip install alberta-buck-core            # pure Python, works everywhere
pip install alberta-buck-core[kernel]    # adds this, where a wheel exists

alberta-buck itself (not yet on PyPI) takes the kernel the same way, as its own kernel extra.

Selection

At call time, via BUCK_IDENTITY_BACKEND:

value behaviour
unset use the kernel when importable, else pure Python
kernel require the kernel; ImportError if absent
py force the pure-Python path

One wheel per platform

The extension is built abi3-py311, so a single wheel serves every CPython from 3.11 onward -- no rebuild for 3.13, 3.14 and beyond.

Three of the four modules share one shared object: buck-identity, buck-wallet and buck-registry compile into a single cdylib with three #[pymodule] entry points. Shipping them separately would triple 1.5 MB for nothing, so each module loads the same file under its own name -- CPython derives the init symbol (PyInit_buck_wallet) from the last dotted component, not from the filename. Installed size is 2.0 MB rather than 4.9 MB.

Status

0.3.0, prototype. Unaudited cryptographic software. It has been checked for agreement with a reference implementation, which is not the same as having been checked for security.

Licence

CAL-1.0 (Cryptographic Autonomy License v1.0). Beyond the usual copyleft, CAL requires that anyone you provide this software's functionality to receives their own data and is not locked out of it by cryptographic or technical means. See LICENSING.md.

Repository: https://github.com/alberta-buck/alberta-buck

Metadata

Release files for alberta-buck-kernel 0.3.0

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

Built distributions (wheels)

Table of built distributions (wheels) for alberta-buck-kernel 0.3.0
File Actions
alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl
alberta_buck_kernel-0.3.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for alberta_buck_kernel-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
alberta_buck_kernel-0.3.0-cp311-abi3-macosx_10_13_x86_64.whl CPython 3.11 abi3 macOS 10.13+ x86-64 Details for alberta_buck_kernel-0.3.0-cp311-abi3-macosx_10_13_x86_64.whl

Total release size: 4.8 MB

Release files / alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
c199f66d2ea2c8735095f1319eac5b01ea12ed780e9aaa14be31b87e07e5de40
BLAKE2b-256 checksum
How to use checksums
6f53175068415b3bff7802266e18eb4c30b5fefb2c75e9c61c353f7e5d09a0d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release files / alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 1.2 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
1c75dd74c1f9ba3e80c535fae7ec8988dd27d064979656af281eced8d16f3be6
BLAKE2b-256 checksum
How to use checksums
a7a96c91207b8726aee3d213895808007ddd5e17cc87f13812aadac14acd96d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release files / alberta_buck_kernel-0.3.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL alberta_buck_kernel-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
Size 1.2 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
849a1182ee5a20170bbdc4b8cd64ade25bc144eaec0187a8fed87b7677df402b
BLAKE2b-256 checksum
How to use checksums
d62ab0fb66140e1fa92aa9857d9df986020e4490321db1e0104ad2adad0ac122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Release files / alberta_buck_kernel-0.3.0-cp311-abi3-macosx_10_13_x86_64.whl

Download URL alberta_buck_kernel-0.3.0-cp311-abi3-macosx_10_13_x86_64.whl
Size 1.2 MB
Tags CPython 3.11 abi3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
153e4ea700b71fb2401f536f98872b8582850ffadf862c1d5ca98e6a9bb38f91
BLAKE2b-256 checksum
How to use checksums
3a815957462a73016cd30be092d0eff23584b8c450c2640ed5ca114a8920d40d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 30, 2026.

Transparency log

Security for alberta-buck-kernel 0.3.0

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

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for alberta_buck_kernel-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl

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 Sep 30, 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.

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