{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/2"}],"enrichment":{"capability":"StanIO converts Python dictionaries to Stan-compatible JSON and reads Stan CSV output files into numpy arrays, extracting parameters according to Stan program structure.","skillfed_tags":["stan-integration","data-wrangling","probabilistic-programming"],"use_cases":["Prepare input data dictionaries for Stan models by converting them to Stan-compatible JSON format","Parse Stan CSV output files into numpy arrays with automatic parameter reshaping based on Stan declarations","Extract multi-dimensional parameters from Stan output with correct shape inference","Integrate Stan probabilistic models into Python data analysis pipelines","Serialize Python data structures for use in Stan programs without manual JSON construction"],"what_it_does":"StanIO is a data-wrangling utility for the Stan probabilistic programming language, handling the format conversions needed between Python and Stan. It writes Python dictionaries to Stan-compatible JSON and reads Stan's CSV output format back into numpy arrays, automatically reshaping parameters according to their declared dimensions in Stan programs.\n\nThe package is primarily designed as a supporting library for cmdstanpy, the Python interface to Stan. It solves the practical problem of moving data in and out of Stan workflows without manual format handling. With numpy as its only runtime dependency and Python 3.8+ support, it integrates cleanly into existing scientific Python stacks.","worth_installing":"Yes, if you use Stan or cmdstanpy in Python. The package has low install friction, no known vulnerabilities, permissive licensing, and active maintenance. It solves a specific but essential problem for Stan workflows. Not relevant for projects that don't use Stan."},"id":"stanio","links":{"html":"https://skillfed.io/packages/stanio","md":"https://skillfed.io/packages/stanio.md","pypi":"https://pypi.org/project/stanio/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-07-08","license_spdx":null,"license_treatment":"permissive","name":"stanio","python_support":"supports_current","summary":"Utilities for preparing Stan inputs and processing Stan outputs"},"popularity":{"monthly_downloads":5998007,"position":1991,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.5.1"}
