Skip to main content

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

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

Source distribution (sdist)

Source distribution for walnutpie 0.0.2
File Size Uploaded
walnutpie-0.0.2.tar.gz 67.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for walnutpie 0.0.2
File
walnutpie-0.0.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
walnutpie-0.0.2-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
walnutpie-0.0.2-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
walnutpie-0.0.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
walnutpie-0.0.2-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.2-py3-none-macosx_15_0_x86_64.whl Python 3 none macOS 15.0+ x86-64 Details
walnutpie-0.0.2-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.2.tar.gz

Download URL walnutpie-0.0.2.tar.gz
Size 67.0 kB
Tags Source
SHA-256 checksum
How to use checksums
57d35f730e45e1832b81c3717c8bfb5bef8b99cef64b41776afb008a8a707f28
BLAKE2b-256 checksum
How to use checksums
9314767efd34c6c174d2eb7ae58228cdb534f7fe906ad8e84370cc74ddb762dc
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

Release files / walnutpie-0.0.2-py3-none-win_amd64.whl

Download URL walnutpie-0.0.2-py3-none-win_amd64.whl
Size 3.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
3618f6b3d2738b1e88875d4d45098accb3afc8a6a6ed0458d52d3687f43fdfb2
BLAKE2b-256 checksum
How to use checksums
0b2295ed03647eb808ee62a663c6ef9e0bd3b5bb5e306c22e0c004aea5f3ead2
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

Release files / walnutpie-0.0.2-py3-none-musllinux_1_2_x86_64.whl

Download URL walnutpie-0.0.2-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
7d36a9e1fd8f51d363261609fb24b3d92d4d3e07b498f9489dfe83cb6087b86a
BLAKE2b-256 checksum
How to use checksums
eb1d619345b8f566e905cb98704205301b2b5473ebb9b6bbe32c51c26369793d
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

Release files / walnutpie-0.0.2-py3-none-musllinux_1_2_aarch64.whl

Download URL walnutpie-0.0.2-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
fdc7b5175d1a8807559c8bacfda66a815ee6f1109e64f9e0ab5e74bdff3c53c9
BLAKE2b-256 checksum
How to use checksums
a63a436d20742c5769dfa92ef7feb2ec3fb1dd1d50943dd17c7a22249990610a
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

Release files / walnutpie-0.0.2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL walnutpie-0.0.2-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
5e796f0eb53e575a70768a5668599d75f8dd85ba0b6269ea42c40e0047fce381
BLAKE2b-256 checksum
How to use checksums
35b6a765354e6267e757d32e7628c93781284185bb1faf782ad80e7517a89273
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

Release files / walnutpie-0.0.2-py3-none-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL walnutpie-0.0.2-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
d8de96ce39d92215262ce147cc7b058596475537a0f4e1efb2fb8fdc02327590
BLAKE2b-256 checksum
How to use checksums
064d429b97789b5102dd45234ba0301a12ad59e24eb31efb3853abcdc1748167
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

Release files / walnutpie-0.0.2-py3-none-macosx_15_0_x86_64.whl

Download URL walnutpie-0.0.2-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
f582ec1a09a89e9e0a8b7c5fddd9d0194fefe14b7bd02ea9b6e83822e8b5637c
BLAKE2b-256 checksum
How to use checksums
b6d6673b191d5114d33a271e419badff1a49e6805e0d48198ae77758442ab31a
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

Release files / walnutpie-0.0.2-py3-none-macosx_15_0_arm64.whl

Download URL walnutpie-0.0.2-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
23762d79e9fa6b413d5b2bc7a2af93cc692136c11bdf039cd42bdc7a80c1741a
BLAKE2b-256 checksum
How to use checksums
0568b1c1c927f70d72920c3461501bffb873ab9260c8a8c14d040d37f4ce61f1
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

Release history Release notifications | RSS feed

0.0.3

8 release files

This release

0.0.2 This release

8 release files

0.0.1

8 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