Registry / data / pyflux

pyflux

JSON →
library0.4.15pypypiunverified

PyFlux is a time-series analysis library for Python, offering a wide range of models including ARIMA, GARCH, and state space models. The current version is 0.4.15, but the library is no longer actively maintained and does not support Python 3.9+. It relies on older dependencies like NumPy and pandas.

pip install pyflux
INSTALL
IMPORT
SIG · PYFLUX
P
pyflux
datapythonv0.4.15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PyFlux
✓ from pyflux import PyFlux
✗ import pyflux
The main class is PyFlux, not the module name.
ARIMA
✓ from pyflux.arma import ARIMA
✗ from pyflux import ARIMA
Model classes are in submodules.

Basic ARIMA model fit and forecast.

import pandas as pd import numpy as np from pyflux.arma import ARIMA # Create sample data dates = pd.date_range('2021-01-01', periods=100, freq='D') data = pd.Series(np.random.randn(100), index=dates) # Fit ARIMA model model = ARIMA(data=data, ar=1, ma=1, integ=1) model.fit() # Forecast forecast = model.predict(h=5) print(forecast)
Debug
Known issues
deprecatedPyFlux is no longer actively maintained. Consider migrating to statsmodels or pmdarima for time series analysis.
fix
Use statsmodels.tsa.arima.model.ARIMA or pmdarima instead.
affects: all
breakingPyFlux does not support Python 3.9 or later. Installation may fail on modern Python versions.
fix
Use Python 3.8 or earlier, or switch to a maintained library.
affects: >=0.4.15
gotchaImport model classes from submodules like pyflux.arma, not directly from pyflux.
fix
Use 'from pyflux.arma import ARIMA' instead of 'from pyflux import ARIMA'.
affects: all
Upgrade
Version history
0.4.15latest on PyPI · released Jun 16, 2017
Audit
Dependencies
numpyrequiredCore dependency for numerical operations
pandasrequiredData structures for time series
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
pyflux — pip install pyflux · libregistry