Skip to main content

gptoolsStan gptools: Python

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

  1. Install cmdstanpy and cmdstan if you haven't already (see here for details).
  2. Install gptools from PyPI by running pip install gptools-stan from the command line.
  3. 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)

Source distribution for gptools-stan 1.0.0
File Size Uploaded Provenance Actions
gptools_stan-1.0.0.tar.gz 17.8 kB With provenance Details for gptools_stan-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gptools-stan 1.0.0
File Interpreter ABI Platform Actions
gptools_stan-1.0.0-py3-none-any.whl Python 3 none any Details for gptools_stan-1.0.0-py3-none-any.whl

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 log

Release 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

Security for gptools-stan 1.0.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gptools_stan-1.0.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 Mar 17, 2025.

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