gptoolsStan

gptools is a minimal package to publish Stan code for efficient Gaussian process inference. The package can be used with the cmdstanpy interface for Stan in Python.
Getting Started
- Install cmdstanpy and cmdstan if you haven't already (see here for details).
- Install gptools from PyPI by running
pip install gptools-stanfrom the command line. - Compile your first model.
from cmdstanpy import CmdStanModel
from gptools.stan import get_include
model = CmdStanModel(
stan_file="path/to/your/model.stan",
stanc_options={"include-paths": get_include()},
)
For an end-to-end example, see this notebook.
Metadata
Release files for gptools-stan 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gptools_stan-1.0.0.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gptools_stan-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.7 kB
Release files / gptools_stan-1.0.0.tar.gz
| Download URL | gptools_stan-1.0.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e07e3a38ee8eeacc1915a5ad56037efab5303542010bf67206ba844f577523b2
|
|
BLAKE2b-256 checksum How to use checksums |
e0bd35a8e0e487807973ce899b17c28fb469e0bf4a02cf2f85f4b8564c60c3e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 17, 2025.
Transparency logRelease files / gptools_stan-1.0.0-py3-none-any.whl
| Download URL | gptools_stan-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd7e0309e8831d7f6455686205102d21825a7b52f48fd6b8c837313678e2cc4f
|
|
BLAKE2b-256 checksum How to use checksums |
5b9cfa8051bf8c1eea4c1a71d4e859e61b774cc38abe47d57162d3e7fcd9e6de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Mar 17, 2025.
Transparency log