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

Release files for alberta-buck-kernel 0.2.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.2.0
File
alberta_buck_kernel-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
alberta_buck_kernel-0.2.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
alberta_buck_kernel-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
alberta_buck_kernel-0.2.0-cp311-abi3-macosx_10_13_x86_64.whl CPython 3.11 abi3 macOS 10.13+ x86-64 Details

Total release size: 4.8 MB

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

Download URL alberta_buck_kernel-0.2.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
835986dff420439b2c72e14902f1318f34369407a93c0a3e8520eccd3a6d32c7
BLAKE2b-256 checksum
How to use checksums
8532f568cdb6953dba936b4b4a17776d4ee4a77c3ad8989692a41b3b60eea076
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 25, 2026.

Transparency log

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

Download URL alberta_buck_kernel-0.2.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
3433acc39c735b732c93ebe6e0e180a918212374052519cde72780a15d77b8db
BLAKE2b-256 checksum
How to use checksums
a0a9e536ec4931d579356aaa694ddcdc134aaa50482d14a5d6821f13bbf4a990
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 25, 2026.

Transparency log

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

Download URL alberta_buck_kernel-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
92138a1553419926d37529efd552b642ec45e5e33e1481846a5739701186ad3e
BLAKE2b-256 checksum
How to use checksums
232358d649592c6b5a5f8b6b3b5e136dce6bd57c221b3445b3de94f8fdb86152
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 25, 2026.

Transparency log

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

Download URL alberta_buck_kernel-0.2.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
42f25452fc12ce8d43d88c3256118c20c419bf43aa37f507de72fe679adecd0f
BLAKE2b-256 checksum
How to use checksums
202ab359b957d5cad020af16f3eff00eb37086f4f41fc08563aeeb23b7ae99df
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

4 release files

0.1.0

4 release files

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