--- id: carolina version: "2.0.5" license: Apache-2.0 license_treatment: permissive maintenance: active --- # carolina — Python wrapper around Dakota License: permissive · Maintenance: active · Downloads: 95.4K/mo ## What it is and what it does Carolina provides a Python interface to Dakota, a Sandia National Laboratories toolkit for design optimization, parameter studies, and uncertainty quantification. It is a maintained fork of pyDAKOTA by Equinor, designed to simplify wrapping Dakota in Python without requiring MPI support. The package depends on numpy and requires Dakota and Boost libraries to be pre-installed on your system. You use Carolina when you need to run Dakota-based workflows—such as design space exploration, sensitivity analysis, or surrogate model construction—from within Python code. The installation requires careful setup of system dependencies (Boost, Dakota, CMake, C/C++ compiler), but once configured, it allows direct Python access to Dakota's optimization and UQ algorithms. It supports Python 3.12, 3.13, and 3.14. Use it for: - Run design optimization studies where Dakota explores parameter spaces to find optimal designs - Perform uncertainty quantification and sensitivity analysis on computational models - Build surrogate models or metamodels from expensive simulation runs - Conduct parameter studies to understand how model outputs vary across input ranges - Integrate Dakota-based workflows into larger Python data science or engineering pipelines ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Carolina is a Python wrapper around Dakota, a design optimization and uncertainty quantification toolkit, enabling Python developers to use Dakota's capabilities without MPI support. Yes, if you already use Dakota and want a Python interface without MPI overhead, and you are willing to manage system dependencies (Boost, Dakota, compilers). No, if you need a lightweight, pure-Python optimization library or lack the system-level build infrastructure. The package is actively maintained and has no known vulnerabilities, but installation complexity is the primary barrier. ## Install pip install carolina uv add carolina poetry add carolina ## Installing carolina Before you install: Medium install friction: requires pre-installed Boost (with Boost.Python) and Dakota libraries, plus CMake and a C/C++ compiler. Pre-built wheels are available for Python 3.12, 3.13, and 3.14 on Linux and macOS, but building from source involves complex multi-step compilation. Package is actively maintained. License in practice: Apache-2.0 is permissive, allowing commercial and private use with minimal restrictions; you must retain license notices in distributions. Quickstart: pip install carolina import carolina # Use carolina to interface with Dakota for optimization or UQ tasks Requires Dakota 6.18+ and Boost libraries to be installed and discoverable; dakota binary must be on system PATH; environment variables BOOST_ROOT and BOOST_PYTHON may need to be set depending on your system. Verify before relying: - Whether pre-built wheels work out-of-the-box or require additional system libraries beyond pip install - Specific Dakota versions tested and guaranteed to work beyond the stated 6.18 minimum - Performance characteristics or scalability limits for large parameter studies ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 95.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags dakota python wrapper, design optimization python, uncertainty quantification, sensitivity analysis, parameter study tool, surrogate modeling, optimization framework, optimization, uncertainty-quantification, dakota-wrapper [View on SkillFed](https://skillfed.io/packages/carolina) · [View on PyPI](https://pypi.org/project/carolina/)