Metadata-Version: 2.4
Name: rustima
Version: 0.4.0rc2
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Typing :: Typed
Requires-Dist: numpy>=1.24
Requires-Dist: polars>=1.0
Requires-Dist: pytest>=7.0 ; extra == 'dev'
Requires-Dist: statsmodels>=0.14 ; extra == 'dev'
Requires-Dist: scipy>=1.10 ; extra == 'dev'
Requires-Dist: pandas>=2.0 ; extra == 'dev'
Requires-Dist: matplotlib>=3.7 ; extra == 'dev'
Requires-Dist: maturin>=1.7 ; extra == 'dev'
Requires-Dist: ipykernel>=7.2.0 ; extra == 'notebook'
Provides-Extra: dev
Provides-Extra: notebook
License-File: LICENSE
Summary: High-performance SARIMAX (Seasonal ARIMA with eXogenous regressors) engine in Rust with statsmodels-compatible Python API
Keywords: sarimax,arima,time-series,forecasting,kalman-filter,rust,statsmodels
Author-email: zongseung <new9279@gachon.ac.kr>
Maintainer-email: zongseung <new9279@gachon.ac.kr>
License: GPL-3.0-or-later
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://github.com/zongseung/rustima#readme
Project-URL: Homepage, https://github.com/zongseung/rustima
Project-URL: Issues, https://github.com/zongseung/rustima/issues
Project-URL: Repository, https://github.com/zongseung/rustima

# rustima for Python

Python bindings for the shared Rust SARIMAX engine. Development version:
`0.4.0rc2`. L-BFGS-B, L-BFGS, BFGS and Nelder-Mead use Basin 3.0;
`basin-lbfgsb` remains an alias. Custom trust-region methods remain available.

From the project workspace:

```sh
uv venv .venv
uv pip install maturin numpy polars pytest
.venv/bin/maturin develop --release --manifest-path packages/python/Cargo.toml
.venv/bin/python -m pytest packages/python/tests -o pythonpath=
```

```python
from rustima import SARIMAXModel

model = SARIMAXModel(y, order=(1, 0, 1), seasonal_order=(1, 0, 1, 24))
result = model.fit(method="lbfgsb", maxiter=500)
prediction = result.forecast(24)
```

The Python package does not require R. Rust source builds require Rust 1.87
or newer. Existing PyPI releases remain available with `pip install rustima`;
the development version above is not yet published.

