Registry / analytics / pyxccd

pyxccd

JSON →
library1.0.3pypypi✓ verified 82d ago

Pyxccd is a Python library for implementing Continuous Change Detection (CCD) algorithms, including CCDC and other variants. It provides tools for time series analysis of remote sensing data. The current version is 1.0.3, released on 2025-08-18. Released under the MIT license, it requires Python >= 3.9.

pip install pyxccd
INSTALL
IMPORT
SIG · PYXCCD
P
pyxccd
analyticspythonv1.0.3
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.

ccd
from pyxccd import ccd
from pyxccd import CCDC
cold_detect
from pyxccd import cold_detect
sccd_detect
from pyxccd import sccd_detect

Load example data, fit CCDC, and print detected changes.

from pyxccd import CCDC, load_example_data import os # Load example dataset (Landsat time series) data = load_example_data() # Initialize CCDC model model = CCDC() # Fit the model model.fit(data['time'], data['bands']) # Get change results changes = model.get_changes() print(changes)
Debug
Known issues
breakingIn version 1.0.3, the CCDC model's `get_changes` method returns a pandas DataFrame instead of a dictionary as in pre-1.0 releases.
fix
Update code to handle DataFrame output; use `.to_dict()` if needed.
affects: >=1.0.0
gotchaThe `load_example_data` function only works if the package data files are installed. If using a minimal installation (without data), call `pyxccd.download_example_data()` first.
fix
Run `from pyxccd import download_example_data; download_example_data()` before loading data.
affects: all
deprecatedThe `CCDC` class parameter `n_components` is deprecated in favor of `n_breakpoints`. Using `n_components` will raise a warning.
fix
Replace `n_components` with `n_breakpoints` in the constructor.
affects: >=1.0.0
breakingIn version 1.0.0, the internal module structure was reorganized. Direct imports from `pyxccd.ccdc` or `pyxccd.models` will fail.
fix
Use top-level imports (e.g., `from pyxccd import CCDC`).
affects: >=1.0.0
Upgrade
Version history
1.0.3latest on PyPI · released May 26, 2026
Audit
Dependencies
numpyrequiredcore array operations
scipyrequiredlinear algebra and optimization
scikit-learnrequiredregression and machine learning components
pandasrequireddata frame input/output
matplotliboptionalvisualization
rasteriorequiredgeospatial raster handling
fionaoptionalvector data support
shapelyoptionalgeometry operations
Agent activity
23 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
pyxccd — pip install pyxccd · libregistry