walnutpie - the Within-orbit Adaptive Leapfrog No-U-Turn Sampler
Documentation
Documentation for walnutpie can be found on Github Pages.
Basic usage
import walnutpie as wp
def logp(x):
# your code here
lp = ...
gradient = ...
return lp, gradient
draws = wp.walnuts_pyfunc(logp, num_params=10)
print(wp.ess(draws))
Prior work
The design of this library is heavily influenced by both TinyStan and Nutpie.
Metadata
Release files for walnutpie 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| walnutpie-0.0.3.tar.gz | 67.0 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| walnutpie-0.0.3-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| walnutpie-0.0.3-py3-none-musllinux_1_2_x86_64.whl | Python 3 | none | Linux musl 1.2+ x86-64 | Details |
| walnutpie-0.0.3-py3-none-musllinux_1_2_aarch64.whl | Python 3 | none | Linux musl 1.2+ ARM64 | Details |
| walnutpie-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| walnutpie-0.0.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 | Details |
| walnutpie-0.0.3-py3-none-macosx_15_0_x86_64.whl | Python 3 | none | macOS 15.0+ x86-64 | Details |
| walnutpie-0.0.3-py3-none-macosx_15_0_arm64.whl | Python 3 | none | macOS 15.0+ ARM64 | Details |
Total release size: 20.4 MB
Release files / walnutpie-0.0.3.tar.gz
| Download URL | walnutpie-0.0.3.tar.gz |
|---|---|
| Size | 67.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f15398ffa4b4701ec49d5b7588d6242fa413b882f6d3ae61384e844c33e50094
|
|
BLAKE2b-256 checksum How to use checksums |
2f5f79fc13781300aecc8baaea990273e6feeef063b33b10279e1e6f3d7c0066
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-win_amd64.whl
| Download URL | walnutpie-0.0.3-py3-none-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c19e57bede240232571236a88954ed5aba49e9e89b78effb4f82d471ce8168cf
|
|
BLAKE2b-256 checksum How to use checksums |
eefcc4090c1c59507cc24fbfea453ca4a518157e7da217193f8454ac37464985
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-musllinux_1_2_x86_64.whl
| Download URL | walnutpie-0.0.3-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 4.6 MB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
c780aae2ca2c81504755691f5222b86fe46df8222fa5a763642224aeaa8991dd
|
|
BLAKE2b-256 checksum How to use checksums |
992fcdca51c27c5cbc1f9f3fb9985e99aa96a0eaef24c97ea1bd68b849b32584
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-musllinux_1_2_aarch64.whl
| Download URL | walnutpie-0.0.3-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
12fe42d36f4e579e883ad54be535df1c8bf9e54da0ab474772415bc98e71c6c4
|
|
BLAKE2b-256 checksum How to use checksums |
f51b86f83cbd74cfff8f8bf3bc6f02b955ccec11c842d3dd71ebae7382b88572
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | walnutpie-0.0.3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
7c78cde83fd0a642fcca302bf31a682397ca8baaabf7d82aa21817c070c87343
|
|
BLAKE2b-256 checksum How to use checksums |
10ef398b6c8a750338b2a032a430fe5669a88b79eeea2cc1e7eeb3d015d67e8d
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | walnutpie-0.0.3-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
2488930b5ca502e299d367cf9092cab230055a62391641a06e15a050bbb95674
|
|
BLAKE2b-256 checksum How to use checksums |
8dda5e17d657b2ddc2272a63a2bce1dff197fc5697ac47f7cf638470a6538c96
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-macosx_15_0_x86_64.whl
| Download URL | walnutpie-0.0.3-py3-none-macosx_15_0_x86_64.whl |
|---|---|
| Size | 260.0 kB |
| Tags | Python 3 macOS 15.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
07f3915ac5fda029b5c80e51bd55c2f3bae273e773c08a99d18b7557bad3aeea
|
|
BLAKE2b-256 checksum How to use checksums |
8ffcf689bdb4b2b708b1cfffcf47fb71fd25c1b8058e9b26eeb2968abaa9a7f3
|
| 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 Aug 26, 2026.
Transparency logRelease files / walnutpie-0.0.3-py3-none-macosx_15_0_arm64.whl
| Download URL | walnutpie-0.0.3-py3-none-macosx_15_0_arm64.whl |
|---|---|
| Size | 247.2 kB |
| Tags | Python 3 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
30692d17628a60cf89af3d8160bac9341989b0d97c8af0014d7767a817beb205
|
|
BLAKE2b-256 checksum How to use checksums |
645a40e3fd55ed0b79b9fc90d97f213a11d9030ca38a4f547cd3f2866d1ee136
|
| 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 Aug 26, 2026.
Transparency log