powerbridge-accel — native kernel for PowerBridge
powerbridge-accel is the optional native (Rust) kernel for
PowerBridge, the
EasyLanguage / PowerLanguage strategy backtester. It runs supported strategies
about 5x faster than PowerBridge's Python engine and gives the same trades:
any difference from the Python path is a bug.
You do not need it. Without it PowerBridge runs everything on the Python path with identical results.
Install
Install it next to powerbridge, with the same version:
pip install powerbridge-accel==0.13.1
Prebuilt wheels cover macOS (arm64, x86_64), Linux (x86_64, aarch64) and
Windows (x64), Python 3.9 and later. The same wheels, with SHA256SUMS, are
attached to each GitHub Release.
Check that PowerBridge sees it:
pl_oracle --version
# pl_oracle 0.13.1
# native kernel: powerbridge-accel 0.13.1 (available)
What it runs
The kernel runs a strategy only when it can do so exactly as the Python path
does. Anything it cannot run faithfully is refused before the run, and
PowerBridge runs the Python path instead and says so on stderr. It never
gives a silently different answer. pl_oracle --explain-native FILE lists
every construct in a strategy that the kernel would refuse.
Coverage, speed figures and the full list of refused constructs are in docs/ACCEL.md.
Building from source
The crate lives in accel/ in the PowerBridge repository and builds the
extension module pl_transpiler._accel (the module and the accel extra
names are stable). From a clone, in a virtual environment with Rust and
maturin on PATH:
cd accel
maturin develop --release
cd .. # or: tools/build_accel.sh, which installs it into the source tree
python -c "import pl_transpiler._accel as a; print(a.ping())" # 42
Import it from a directory other than the repository root: there, the
pl_transpiler source package shadows the installed one, and the extension
is only found if it was copied into the source tree (tools/build_accel.sh
does that). On macOS a plain cargo build needs the dynamic_lookup
rustflags in .cargo/config.toml; maturin passes them itself.
cargo test --release runs the Rust unit and parity tests; the
native-vs-Python tests are the needs_native pytest tests (see
CONTRIBUTING.md).
License
Apache-2.0, like PowerBridge.
Metadata
Release files for powerbridge-accel 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| powerbridge_accel-0.13.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for powerbridge_accel-0.13.1-cp39-abi3-win_amd64.whl |
| powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details for powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
| powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details for powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
| powerbridge_accel-0.13.1-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for powerbridge_accel-0.13.1-cp39-abi3-macosx_11_0_arm64.whl |
| powerbridge_accel-0.13.1-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details for powerbridge_accel-0.13.1-cp39-abi3-macosx_10_12_x86_64.whl |
Total release size: 3.3 MB
Release files / powerbridge_accel-0.13.1-cp39-abi3-win_amd64.whl
| Download URL | powerbridge_accel-0.13.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 549.3 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
02edb686038f4e100a8229509f668aaabcbb3d8c79657580b159430f6f4004bd
|
|
BLAKE2b-256 checksum How to use checksums |
2d2467f67215deb4e90c6cd2fa51a3b905205729e7abfde49062b171e8ea25a0
|
| 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 Oct 31, 2026.
Transparency logRelease files / powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 724.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b0983d717475f829d351cd86f872164321a8c182fe8dd1c7d7816612424334c3
|
|
BLAKE2b-256 checksum How to use checksums |
3da4d630083b37a42a18f1f520e0ffebe70e740504f6d2a389be222555ecf858
|
| 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 Oct 31, 2026.
Transparency logRelease files / powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | powerbridge_accel-0.13.1-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 694.2 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
c0872e8d950636c7a34f7d19339b3e74c56a447b31d1ae754a7836c7efc6eee8
|
|
BLAKE2b-256 checksum How to use checksums |
9b7aa0094ddcfaa42db1b7ae29e491bf8c6deec6c302f6f40d1c8dbc0c1c3a1c
|
| 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 Oct 31, 2026.
Transparency logRelease files / powerbridge_accel-0.13.1-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | powerbridge_accel-0.13.1-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 634.7 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
15de286d459447c679cdc7ff507f5d85385b88dc2ac95097e5787c24a46318a6
|
|
BLAKE2b-256 checksum How to use checksums |
9946a161a1fabf935d44059aed9f6040da7b2bfa68cece6d8b16065577729faf
|
| 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 Oct 31, 2026.
Transparency logRelease files / powerbridge_accel-0.13.1-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | powerbridge_accel-0.13.1-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 658.3 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
b46e0cd160298d54cafe7aa0f946cf793bdf7ea9a7a622f3edb2b8b129f8ddeb
|
|
BLAKE2b-256 checksum How to use checksums |
b54f48a01921d75f1bd815c6e3d7f07cbca0b409ccf80d26023b23e439db61ea
|
| 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 Oct 31, 2026.
Transparency logSecurity for powerbridge-accel 0.13.1
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 5 files in this release have been uploaded with provenance metadata.
Attestation for powerbridge_accel-0.13.1-cp39-abi3-win_amd64.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 Oct 31, 2026.
Transparency logA 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.