{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/3"}],"enrichment":{"capability":"httpstan provides an HTTP REST interface to the Stan C++ library for Bayesian inference, allowing clients to compile Stan models and draw samples via HTTP requests rather than direct C++ calls.","skillfed_tags":["bayesian-inference","rest-api","stan-backend"],"use_cases":["Building web-based Bayesian analysis tools that need to offload Stan computations to a backend server","Creating language-agnostic frontends to Stan by wrapping HTTP calls instead of requiring C++ bindings","Running Stan models in containerized or distributed environments where HTTP communication is preferred","Caching compiled models and samples to avoid recompilation and resampling in iterative analysis workflows","Enabling parallel sampling across multiple cores through the HTTP interface without manual threading code"],"what_it_does":"httpstan is a shim that exposes the Stan C++ library's Bayesian inference capabilities through an HTTP 1.1 REST API. It runs as a local server (by default on port 8080) and accepts HTTP requests to compile Stan probabilistic models and draw samples from them. The package is designed primarily for developers building frontends or tools that need to call Stan functionality over the network without direct C++ integration.\n\nThe package provides model caching, sample caching, and parallel sampling capabilities beyond what a basic command-line interface offers. It depends on aiohttp, marshmallow, webargs, numpy, appdirs, and setuptools. Installation requires a C++ compiler and is supported on Linux and macOS with x86-64 CPUs; Python 3.12 or later is required.","worth_installing":"Yes, if you need to expose Stan's Bayesian inference capabilities over HTTP or are building a tool that requires remote Stan access. The package is actively maintained, has no known vulnerabilities, and uses a permissive license. Install friction is moderate due to C++ compiler requirements and platform-specific wheels, but prebuilt binaries exist for common configurations. Not suitable if you need Windows support or non-x86-64 architectures without building from source."},"id":"httpstan","links":{"html":"https://skillfed.io/packages/httpstan","md":"https://skillfed.io/packages/httpstan.md","pypi":"https://pypi.org/project/httpstan/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-29","license_spdx":null,"license_treatment":"permissive","name":"httpstan","python_support":"supports_current","summary":"HTTP-based interface to Stan, a package for Bayesian inference."},"popularity":{"monthly_downloads":1308109,"position":4078,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.17.0"}
