Skip to main content

alberta-buck-core

The Python side of the Alberta Buck platform: one testing API over every EVM backend, with expectation checking and journaling.

  • Web3Session -- the ChainSession API. Send, call and deploy against anvil, a public testnet, or in-process pyrevm with the same code. Every state-changing operation declares whether it is expected to succeed or revert, so expectation mismatches are first-class results rather than surprises.
  • Journal -- an append-only JSONL record of every operation: tag, op, sender, expectation, outcome, gas, tx hash, block, error. Journals are auditable, diffable across backends and across languages (the JavaScript platform writes the same schema), and replayable.
  • load_artifact -- contract artifacts from a repo checkout's out/ when there is one, falling back to the installed alberta-buck-contracts otherwise, so an installed package can deploy a world with no checkout.

Install

pip install alberta-buck-core

The distribution is prefixed; the import is not:

from buck_core import Web3Session, Expect, load_artifact

The compiled kernels are optional

buck_core.buck_math, buck_core.buck_identity, buck_core.buck_wallet and buck_core.buck_registry are shims that delegate to alberta-buck-kernel when it is installed (pip install alberta-buck-core[kernel] brings it along, where a wheel exists). This package is deliberately a pure-Python wheel: keeping the binaries out means depending on the session API does not drag a per-platform wheel matrix behind it.

In a repo checkout the built .so sits beside the shim and CPython prefers the extension, so a freshly rebuilt kernel takes effect immediately.

Status

0.3.0, prototype. Unaudited software for a monetary system, published so the simulation and identity work can be reproduced and built on.

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-core 0.3.0

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

Source distribution (sdist)

Source distribution for alberta-buck-core 0.3.0
File Size Uploaded Provenance Actions
alberta_buck_core-0.3.0.tar.gz 24.2 kB With provenance Details for alberta_buck_core-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alberta-buck-core 0.3.0
File Interpreter ABI Platform Actions
alberta_buck_core-0.3.0-py3-none-any.whl Python 3 none any Details for alberta_buck_core-0.3.0-py3-none-any.whl

Total release size: 41.5 kB

Release files / alberta_buck_core-0.3.0.tar.gz

Download URL alberta_buck_core-0.3.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b3430d51e4773f8e7a2cf19cb7640d038fdb9b315558f18244b0c892fc2522b0
BLAKE2b-256 checksum
How to use checksums
7058bc7a2fabd705fa5fce80f258b9f1f095382f57684fdec08ba32d2a805101
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_core-0.3.0-py3-none-any.whl

Download URL alberta_buck_core-0.3.0-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b73d84c05846d409e30371a1bdc425c8a9831e21f03337f8ce5ebaeaa3fa4bd
BLAKE2b-256 checksum
How to use checksums
83b4d99bc2fc489acc763765b1351ef0d4b321764c694d4e7b2d0f51a6ff0923
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-core 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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for alberta_buck_core-0.3.0.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 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